1 #name: PR ld/14207
2 #as: --64
3 #ld: -melf_x86_64 -shared -z relro -z now
4 #readelf: -l --wide
5 #target: x86_64-*-linux*
6 
7 Elf file type is DYN \(Shared object file\)
8 Entry point 0x1c1
9 There are 4 program headers, starting at offset 64
10 
11 Program Headers:
12   Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz   Flg Align
13   LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x0001c8 0x0001c8 R   0x200000
14   LOAD           0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.0 0x000c.8 RW  0x200000
15   DYNAMIC        0x000b.0 0x0000000000200b.0 0x0000000000200b.0 0x0001.0 0x0001.0 RW  0x8
16   GNU_RELRO      0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.8 0x0004.8 R   0x1
17 
18  Section to Segment mapping:
19   Segment Sections...
20    00     \.hash \.dynsym \.dynstr
21    01     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got .bss
22    02     \.dynamic
23    03     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got
24 #pass
25