[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:47:18 GMT 2021


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

--- Comment #19 from Martin Liska <mliska at suse dot cz> ---
(In reply to Martin Liska from comment #18)
> Note, there's BFD product:
> 
> $ eu-readelf -l a.out
> Program Headers:
>   Type           Offset   VirtAddr           PhysAddr           FileSiz 
> MemSiz   Flg Align
>   PHDR           0x000040 0x0000000000400040 0x0000000000400040 0x0002d8
> 0x0002d8 R   0x8
>   INTERP         0x000318 0x0000000000400318 0x0000000000400318 0x00001c
> 0x00001c R   0x1
> 	[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
>   LOAD           0x000000 0x0000000000400000 0x0000000000400000 0x000578
> 0x000578 R   0x1000
>   LOAD           0x001000 0x0000000000401000 0x0000000000401000 0x000121
> 0x000121 R E 0x1000
>   LOAD           0x002000 0x0000000000402000 0x0000000000402000 0x00008c
> 0x00008c R   0x1000
>   LOAD           0x002e30 0x0000000000403e30 0x0000000000403e30 0x0001f8
> 0x000200 RW  0x1000
>   DYNAMIC        0x002e40 0x0000000000403e40 0x0000000000403e40 0x0001a0
> 0x0001a0 RW  0x8
>   NOTE           0x000338 0x0000000000400338 0x0000000000400338 0x000040
> 0x000040 R   0x8
>   NOTE           0x000378 0x0000000000400378 0x0000000000400378 0x000044
> 0x000044 R   0x4
>   GNU_PROPERTY   0x000338 0x0000000000400338 0x0000000000400338 0x000040
> 0x000040 R   0x8
>   GNU_EH_FRAME   0x002004 0x0000000000402004 0x0000000000402004 0x000024
> 0x000024 R   0x4
>   GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000
> 0x000000 RW  0x10
>   GNU_RELRO      0x002e30 0x0000000000403e30 0x0000000000403e30 0x0001d0
> 0x0001d0 R   0x1
> 
>  Section to Segment mapping:
>   Segment Sections...
>    00     
>    01      [RO: .interp]
>    02      [RO: .interp .note.gnu.property .note.gnu.build-id .note.ABI-tag
> .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn]
>    03      [RO: .init .text .fini]
>    04      [RO: .rodata .eh_frame_hdr .eh_frame]
>    05      [RELRO: .init_array .fini_array .dynamic .got] .got.plt .data .bss
>    06      [RELRO: .dynamic]
>    07      [RO: .note.gnu.property]
>    08      [RO: .note.gnu.build-id .note.ABI-tag]
>    09      [RO: .note.gnu.property]
>    10      [RO: .eh_frame_hdr]
>    11     
>    12      [RELRO: .init_array .fini_array .dynamic .got]

readelf -n a.out

Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000030       NT_GNU_PROPERTY_TYPE_0
      Properties: x86 ISA needed: x86-64-baseline
        x86 feature used: x86
        x86 ISA used: 

Displaying notes found in: .note.gnu.build-id
  Owner                Data size        Description
  GNU                  0x00000014       NT_GNU_BUILD_ID (unique build ID
bitstring)
    Build ID: 88d835b48244c1c184983f733f6a7fafc44868c5

Displaying notes found in: .note.ABI-tag
  Owner                Data size        Description
  GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
    OS: Linux, ABI: 3.2.0

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


More information about the Elfutils-devel mailing list