mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 08:13:37 +08:00
c2596c4a72
Add -z max-page-size=0x200000 -z noseparate-code since these tests check for exact addresses. * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z max-page-size=0x200000 -z noseparate-code. * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise. * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise. * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise. * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise. * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise. * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. * testsuite/ld-x86-64/load1a.d: Likewise. * testsuite/ld-x86-64/load1b.d: Likewise. * testsuite/ld-x86-64/load1c.d: Likewise. * testsuite/ld-x86-64/load1d.d: Likewise. * testsuite/ld-x86-64/pie3.d: Likewise. * testsuite/ld-x86-64/pr14207.d: Likewise. * testsuite/ld-x86-64/pr17618.d: Likewise. * testsuite/ld-x86-64/pr19162.d: Likewise. * testsuite/ld-x86-64/pr19636-2d.d: Likewise. * testsuite/ld-x86-64/pr19636-2l.d: Likewise. * testsuite/ld-x86-64/pr20253-1b.d: Likewise. * testsuite/ld-x86-64/pr20253-1d.d: Likewise. * testsuite/ld-x86-64/pr20253-1f.d: Likewise. * testsuite/ld-x86-64/pr20253-1h.d: Likewise. * testsuite/ld-x86-64/pr20253-1j.d: Likewise. * testsuite/ld-x86-64/pr20253-1l.d: Likewise. * testsuite/ld-x86-64/pr20830a-now.d: Likewise. * testsuite/ld-x86-64/pr20830a.d: Likewise. * testsuite/ld-x86-64/pr20830b-now.d: Likewise. * testsuite/ld-x86-64/pr20830b.d: Likewise. * testsuite/ld-x86-64/pr21038a-now.d: Likewise. * testsuite/ld-x86-64/pr21038a.d: Likewise. * testsuite/ld-x86-64/pr21038b-now.d: Likewise. * testsuite/ld-x86-64/pr21038b.d: Likewise. * testsuite/ld-x86-64/pr21038c-now.d: Likewise. * testsuite/ld-x86-64/pr21038c.d: Likewise.
56 lines
2.5 KiB
Makefile
56 lines
2.5 KiB
Makefile
#source: load1.s
|
|
#as: --64 -mrelax-relocations=yes
|
|
#ld: -melf_x86_64 -z max-page-size=0x200000 -z noseparate-code
|
|
#objdump: -dw --sym
|
|
#notarget: x86_64-*-nacl*
|
|
|
|
.*: +file format .*
|
|
|
|
SYMBOL TABLE:
|
|
#...
|
|
0+60019e l O .data 0+1 bar
|
|
#...
|
|
0+60019f g O .data 0+1 foo
|
|
#...
|
|
|
|
Disassembly of section .text:
|
|
|
|
0+4000b0 <_start>:
|
|
[ ]*[a-f0-9]+: 81 d0 9e 01 60 00 adc \$0x60019e,%eax
|
|
[ ]*[a-f0-9]+: 81 c3 9e 01 60 00 add \$0x60019e,%ebx
|
|
[ ]*[a-f0-9]+: 81 e1 9e 01 60 00 and \$0x60019e,%ecx
|
|
[ ]*[a-f0-9]+: 81 fa 9e 01 60 00 cmp \$0x60019e,%edx
|
|
[ ]*[a-f0-9]+: 81 ce 9e 01 60 00 or \$0x60019e,%esi
|
|
[ ]*[a-f0-9]+: 81 df 9e 01 60 00 sbb \$0x60019e,%edi
|
|
[ ]*[a-f0-9]+: 81 ed 9e 01 60 00 sub \$0x60019e,%ebp
|
|
[ ]*[a-f0-9]+: 41 81 f0 9e 01 60 00 xor \$0x60019e,%r8d
|
|
[ ]*[a-f0-9]+: 41 f7 c7 9e 01 60 00 test \$0x60019e,%r15d
|
|
[ ]*[a-f0-9]+: 48 81 d0 9e 01 60 00 adc \$0x60019e,%rax
|
|
[ ]*[a-f0-9]+: 48 81 c3 9e 01 60 00 add \$0x60019e,%rbx
|
|
[ ]*[a-f0-9]+: 48 81 e1 9e 01 60 00 and \$0x60019e,%rcx
|
|
[ ]*[a-f0-9]+: 48 81 fa 9e 01 60 00 cmp \$0x60019e,%rdx
|
|
[ ]*[a-f0-9]+: 48 81 cf 9e 01 60 00 or \$0x60019e,%rdi
|
|
[ ]*[a-f0-9]+: 48 81 de 9e 01 60 00 sbb \$0x60019e,%rsi
|
|
[ ]*[a-f0-9]+: 48 81 ed 9e 01 60 00 sub \$0x60019e,%rbp
|
|
[ ]*[a-f0-9]+: 49 81 f0 9e 01 60 00 xor \$0x60019e,%r8
|
|
[ ]*[a-f0-9]+: 49 f7 c7 9e 01 60 00 test \$0x60019e,%r15
|
|
[ ]*[a-f0-9]+: 81 d0 9f 01 60 00 adc \$0x60019f,%eax
|
|
[ ]*[a-f0-9]+: 81 c3 9f 01 60 00 add \$0x60019f,%ebx
|
|
[ ]*[a-f0-9]+: 81 e1 9f 01 60 00 and \$0x60019f,%ecx
|
|
[ ]*[a-f0-9]+: 81 fa 9f 01 60 00 cmp \$0x60019f,%edx
|
|
[ ]*[a-f0-9]+: 81 ce 9f 01 60 00 or \$0x60019f,%esi
|
|
[ ]*[a-f0-9]+: 81 df 9f 01 60 00 sbb \$0x60019f,%edi
|
|
[ ]*[a-f0-9]+: 81 ed 9f 01 60 00 sub \$0x60019f,%ebp
|
|
[ ]*[a-f0-9]+: 41 81 f0 9f 01 60 00 xor \$0x60019f,%r8d
|
|
[ ]*[a-f0-9]+: 41 f7 c7 9f 01 60 00 test \$0x60019f,%r15d
|
|
[ ]*[a-f0-9]+: 48 81 d0 9f 01 60 00 adc \$0x60019f,%rax
|
|
[ ]*[a-f0-9]+: 48 81 c3 9f 01 60 00 add \$0x60019f,%rbx
|
|
[ ]*[a-f0-9]+: 48 81 e1 9f 01 60 00 and \$0x60019f,%rcx
|
|
[ ]*[a-f0-9]+: 48 81 fa 9f 01 60 00 cmp \$0x60019f,%rdx
|
|
[ ]*[a-f0-9]+: 48 81 cf 9f 01 60 00 or \$0x60019f,%rdi
|
|
[ ]*[a-f0-9]+: 48 81 de 9f 01 60 00 sbb \$0x60019f,%rsi
|
|
[ ]*[a-f0-9]+: 48 81 ed 9f 01 60 00 sub \$0x60019f,%rbp
|
|
[ ]*[a-f0-9]+: 49 81 f0 9f 01 60 00 xor \$0x60019f,%r8
|
|
[ ]*[a-f0-9]+: 49 f7 c7 9f 01 60 00 test \$0x60019f,%r15
|
|
#pass
|