i386: Add -z noseparate-code to linker tests
[deliverable/binutils-gdb.git] / ld / testsuite / ld-i386 / pr20244-2a.d
1 #source: pr20244-2.s
2 #as: --32
3 #ld: -m elf_i386 -z noseparate-code
4 #objdump: --sym -dw
5 #notarget: i?86-*-nacl* x86_64-*-nacl*
6
7 .*: +file format .*
8
9 SYMBOL TABLE:
10 #...
11 0+8048085 l i .text 00000000 bar
12 #...
13 0+8048086 g F .text 00000000 _start
14 #...
15 0+8048084 g i .text 00000000 foo
16 #...
17
18 Disassembly of section .text:
19
20 0+8048084 <foo>:
21 +[a-f0-9]+: c3 ret
22
23 0+8048085 <bar>:
24 +[a-f0-9]+: c3 ret
25
26 0+8048086 <_start>:
27 +[a-f0-9]+: ff 15 a8 90 04 08 call \*0x80490a8
28 +[a-f0-9]+: ff 25 ac 90 04 08 jmp \*0x80490ac
29 +[a-f0-9]+: c7 05 ac 90 04 08 00 00 00 00 movl \$0x0,0x80490ac
30 +[a-f0-9]+: 83 3d a8 90 04 08 00 cmpl \$0x0,0x80490a8
31 +[a-f0-9]+: b9 fc ff ff ff mov \$0xfffffffc,%ecx
32 #pass
This page took 0.031039 seconds and 4 git commands to generate.