https://sourceware.org/bugzilla/show_bug.cgi?id=22136
--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Mark Wielaard from comment #15) > (In reply to H.J. Lu from comment #14) > > Anything else besides "identical to the phdrs"? Must .dynamic section have > > the identical section contents in debug info file? > > Allocated sections are NOBITS in a separate debug file. I checked libfoo.so against the output of "objcopy --only-keep-debug". Their program headers are different: --- 2 2017-09-15 13:22:32.131099976 -0700 +++ 1 2017-09-15 13:22:28.642092002 -0700 @@ -5,11 +5,11 @@ There are 7 program headers, starting at Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align - LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0006a8 0x0006a8 R E 0x200000 - LOAD 0x000df8 0x0000000000200df8 0x0000000000200df8 0x000228 0x000230 RW 0x200000 - DYNAMIC 0x000e10 0x0000000000200e10 0x0000000000200e10 0x0001d0 0x0001d0 RW 0x8 + LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0001ec 0x0006a8 R E 0x200000 + LOAD 0x000df8 0x0000000000200df8 0x0000000000200df8 0x000000 0x000230 RW 0x200000 + DYNAMIC 0x000df8 0x0000000000200e10 0x0000000000200e10 0x000000 0x0001d0 RW 0x8 NOTE 0x0001c8 0x00000000000001c8 0x00000000000001c8 0x000024 0x000024 R 0x4 - GNU_EH_FRAME 0x000614 0x0000000000000614 0x0000000000000614 0x000024 0x000024 R 0x4 + GNU_EH_FRAME 0x0001ec 0x0000000000000614 0x0000000000000614 0x000000 0x000024 R 0x4 GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x10 GNU_RELRO 0x000df8 0x0000000000200df8 0x0000000000200df8 0x000208 0x000208 R 0x1 Where does "identical" come from? How is "identical" checked? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils