[Bug tools/28488] phdr[6]: unknown object file note type 32 with owner name '' at offset 48

mliska at suse dot cz sourceware-bugzilla@sourceware.org
Fri Oct 22 14:55:46 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=28488

--- Comment #20 from Martin Liska <mliska at suse dot cz> ---
With ld.gold one gets:

$ echo 'int main() { return 0; }' | gcc -x c - -fuse-ld=gold -o a.out
$ eu-readelf -l a.out
Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz
  Flg Align
  PHDR           0x000040 0x0000000000400040 0x0000000000400040 0x000230
0x000230 R   0x8
  INTERP         0x000270 0x0000000000400270 0x0000000000400270 0x00001c
0x00001c R   0x1
        [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
  LOAD           0x000000 0x0000000000400000 0x0000000000400000 0x000688
0x000688 R E 0x1000
  LOAD           0x000e08 0x0000000000401e08 0x0000000000401e08 0x000208
0x000209 RW  0x1000
  DYNAMIC        0x000e18 0x0000000000401e18 0x0000000000401e18 0x0001b0
0x0001b0 RW  0x8
  NOTE           0x0002b0 0x00000000004002b0 0x00000000004002b0 0x000030
0x000030 R   0x8
  NOTE           0x00028c 0x000000000040028c 0x000000000040028c 0x000078
0x000078 R   0x4
  GNU_EH_FRAME   0x000664 0x0000000000400664 0x0000000000400664 0x000024
0x000024 R   0x4
  GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x000000 RW  0x10
  GNU_RELRO      0x000e08 0x0000000000401e08 0x0000000000401e08 0x0001f8
0x0001f8 RW  0x8

 Section to Segment mapping:
  Segment Sections...
   00     
   01      [RO: .interp]
   02      [RO: .interp .note.ABI-tag .note.gnu.property .note.gnu.build-id
.dynsym .dynstr .gnu.hash .hash .gnu.version .gnu.version_r .rela.dyn .init
.text .fini .rodata .eh_frame .eh_frame_hdr]
   03      [RELRO: .fini_array .init_array .dynamic .got .got.plt] .data .bss
   04      [RELRO: .dynamic]
   05      [RO: .note.gnu.property]
   06      [RO: .note.ABI-tag .note.gnu.property .note.gnu.build-id]
   07      [RO: .eh_frame_hdr]
   08     
   09      [RELRO: .fini_array .init_array .dynamic .got .got.plt]

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list