2012-06-12 20:55:11 +08:00
|
|
|
#name: PR ld/14207
|
|
|
|
#as: --64
|
2018-02-17 02:02:00 +08:00
|
|
|
#ld: -melf_x86_64 -shared -z relro -z now --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
|
2012-06-12 20:55:11 +08:00
|
|
|
#readelf: -l --wide
|
2013-12-13 02:35:47 +08:00
|
|
|
#target: x86_64-*-linux*
|
2012-06-12 20:55:11 +08:00
|
|
|
|
2013-12-13 02:35:47 +08:00
|
|
|
Elf file type is DYN \(Shared object file\)
|
2016-02-18 03:18:53 +08:00
|
|
|
Entry point 0x1c1
|
2013-12-13 02:35:47 +08:00
|
|
|
There are 4 program headers, starting at offset 64
|
|
|
|
|
|
|
|
Program Headers:
|
|
|
|
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
|
2016-02-18 03:18:53 +08:00
|
|
|
LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0001c8 0x0001c8 R 0x200000
|
2015-01-08 21:10:36 +08:00
|
|
|
LOAD 0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.0 0x000c.8 RW 0x200000
|
|
|
|
DYNAMIC 0x000b.0 0x0000000000200b.0 0x0000000000200b.0 0x0001.0 0x0001.0 RW 0x8
|
2018-02-12 10:36:07 +08:00
|
|
|
GNU_RELRO 0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.0 0x0004.8 R 0x1
|
2013-12-13 02:35:47 +08:00
|
|
|
|
|
|
|
Section to Segment mapping:
|
|
|
|
Segment Sections...
|
2015-01-08 21:10:36 +08:00
|
|
|
00 \.hash \.dynsym \.dynstr
|
|
|
|
01 \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got .bss
|
|
|
|
02 \.dynamic
|
|
|
|
03 \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got
|
2013-12-13 02:35:47 +08:00
|
|
|
#pass
|