From: Simon Marchi Date: Mon, 20 Aug 2018 02:03:58 +0000 (-0400) Subject: Fix formatting in solib-svr4.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c44deb735ef492f8799cbb35c5f2566fc2dba19d;p=binutils-gdb.git Fix formatting in solib-svr4.c Fix some formatting issues which I have missed during review. gdb/ChangeLog: * solib-svr4.c (svr4_exec_displacement): Fix formatting. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cb87cee4e72..ff4d1cb5483 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-08-19 Simon Marchi + + * solib-svr4.c (svr4_exec_displacement): Fix formatting. + 2018-08-19 Michael Spang PR gdb/11786 diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 84589509ef9..29d07312bec 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -2711,8 +2711,8 @@ svr4_exec_displacement (CORE_ADDR *displacementp) CentOS-5 has problems with filesz, memsz as well. Strip also modifies memsz of PT_TLS. See PR 11786. */ - if (phdr2[i].p_type == PT_GNU_RELRO || - phdr2[i].p_type == PT_TLS) + if (phdr2[i].p_type == PT_GNU_RELRO + || phdr2[i].p_type == PT_TLS) { Elf32_External_Phdr tmp_phdr = *phdrp; Elf32_External_Phdr tmp_phdr2 = *phdr2p; @@ -2844,8 +2844,8 @@ svr4_exec_displacement (CORE_ADDR *displacementp) CentOS-5 has problems with filesz, memsz as well. Strip also modifies memsz of PT_TLS. See PR 11786. */ - if (phdr2[i].p_type == PT_GNU_RELRO || - phdr2[i].p_type == PT_TLS) + if (phdr2[i].p_type == PT_GNU_RELRO + || phdr2[i].p_type == PT_TLS) { Elf64_External_Phdr tmp_phdr = *phdrp; Elf64_External_Phdr tmp_phdr2 = *phdr2p;