mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 23:03:29 +08:00
410a69a022
Add -z noseparate-code since these tests check for exact addresses. * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code. * testsuite/ld-i386/ibt-plt-2a.d: Likewise. * testsuite/ld-i386/ibt-plt-2b.d: Likewise. * testsuite/ld-i386/ibt-plt-2c.d: Likewise. * testsuite/ld-i386/ibt-plt-2d.d: Likewise. * testsuite/ld-i386/ibt-plt-3a.d: Likewise. * testsuite/ld-i386/ibt-plt-3b.d: Likewise. * testsuite/ld-i386/ibt-plt-3c.d: Likewise. * testsuite/ld-i386/ibt-plt-3d.d: Likewise. * testsuite/ld-i386/load1.d: Likewise. * testsuite/ld-i386/pie1.d: Likewise. * testsuite/ld-i386/pr20244-1a.d: Likewise. * testsuite/ld-i386/pr20244-1b.d: Likewise. * testsuite/ld-i386/pr20244-2a.d: Likewise. * testsuite/ld-i386/pr20244-2b.d: Likewise. * testsuite/ld-i386/pr20244-2c.d: Likewise. * testsuite/ld-i386/pr20244-4a.d: Likewise. * testsuite/ld-i386/pr20244-4b.d: Likewise. * testsuite/ld-i386/pr20830.d: Likewise.
27 lines
541 B
Makefile
27 lines
541 B
Makefile
#source: pr20244-1.s
|
|
#as: --32
|
|
#ld: -m elf_i386 -z noseparate-code
|
|
#objdump: --sym -dw
|
|
#notarget: i?86-*-nacl* x86_64-*-nacl*
|
|
|
|
.*: +file format .*
|
|
|
|
SYMBOL TABLE:
|
|
#...
|
|
0+80490a0 l O .data 00000001 bar
|
|
#...
|
|
0+8048074 g F .text 00000000 _start
|
|
#...
|
|
0+80490a1 g O .data 00000001 foo
|
|
#...
|
|
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
0+8048074 <_start>:
|
|
+[a-f0-9]+: c7 05 8c 90 04 08 00 00 00 00 movl \$0x0,0x804908c
|
|
+[a-f0-9]+: 83 3d 90 90 04 08 00 cmpl \$0x0,0x8049090
|
|
+[a-f0-9]+: b9 f8 ff ff ff mov \$0xfffffff8,%ecx
|
|
#pass
|