For test for PR 29072 when the linker is configured with --enable-default-execstack=no.
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr14207.d
1 #name: PR ld/14207
2 #as: --64
3 #ld: -melf_x86_64 -shared -z relro -z now --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code $NO_DT_RELR_LDFLAGS
4 #readelf: -l --wide
5 #target: x86_64-*-linux*
6
7 Elf file type is DYN \(Shared object file\)
8 Entry point 0x[0-9a-f]+
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 0x000150 0x000150 R 0x200000
14 LOAD 0x1ffb.8 0x00000000003ffb.8 0x00000000003ffb.8 0x0004.0 0x000c.8 RW 0x200000
15 DYNAMIC 0x1ffb.0 0x00000000003ffb.0 0x00000000003ffb.0 0x0001.0 0x0001.0 RW 0x8
16 GNU_RELRO 0x1ffb.8 0x00000000003ffb.8 0x00000000003ffb.8 0x0004.0 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