Retro68/binutils/ld/testsuite/ld-x86-64/load1b.d
2017-10-07 02:16:47 +02:00

58 lines
2.3 KiB
Makefile

#source: load1.s
#as: --x32 -mrelax-relocations=yes
#ld: -melf32_x86_64
#objdump: -dw --sym
#notarget: x86_64-*-nacl*
.*: +file format .*
SYMBOL TABLE:
#...
0+600180 l O .data 0+1 bar
#...
0+600181 g O .data 0+1 foo
#...
Disassembly of section .text:
0+400074 <_start>:
+[a-f0-9]+: 81 d0 80 01 60 00 adc \$0x600180,%eax
+[a-f0-9]+: 81 c3 80 01 60 00 add \$0x600180,%ebx
+[a-f0-9]+: 81 e1 80 01 60 00 and \$0x600180,%ecx
+[a-f0-9]+: 81 fa 80 01 60 00 cmp \$0x600180,%edx
+[a-f0-9]+: 81 ce 80 01 60 00 or \$0x600180,%esi
+[a-f0-9]+: 81 df 80 01 60 00 sbb \$0x600180,%edi
+[a-f0-9]+: 81 ed 80 01 60 00 sub \$0x600180,%ebp
+[a-f0-9]+: 41 81 f0 80 01 60 00 xor \$0x600180,%r8d
+[a-f0-9]+: 41 f7 c7 80 01 60 00 test \$0x600180,%r15d
+[a-f0-9]+: 48 81 d0 80 01 60 00 adc \$0x600180,%rax
+[a-f0-9]+: 48 81 c3 80 01 60 00 add \$0x600180,%rbx
+[a-f0-9]+: 48 81 e1 80 01 60 00 and \$0x600180,%rcx
+[a-f0-9]+: 48 81 fa 80 01 60 00 cmp \$0x600180,%rdx
+[a-f0-9]+: 48 81 cf 80 01 60 00 or \$0x600180,%rdi
+[a-f0-9]+: 48 81 de 80 01 60 00 sbb \$0x600180,%rsi
+[a-f0-9]+: 48 81 ed 80 01 60 00 sub \$0x600180,%rbp
+[a-f0-9]+: 49 81 f0 80 01 60 00 xor \$0x600180,%r8
+[a-f0-9]+: 49 f7 c7 80 01 60 00 test \$0x600180,%r15
+[a-f0-9]+: 81 d0 81 01 60 00 adc \$0x600181,%eax
+[a-f0-9]+: 81 c3 81 01 60 00 add \$0x600181,%ebx
+[a-f0-9]+: 81 e1 81 01 60 00 and \$0x600181,%ecx
+[a-f0-9]+: 81 fa 81 01 60 00 cmp \$0x600181,%edx
+[a-f0-9]+: 81 ce 81 01 60 00 or \$0x600181,%esi
+[a-f0-9]+: 81 df 81 01 60 00 sbb \$0x600181,%edi
+[a-f0-9]+: 81 ed 81 01 60 00 sub \$0x600181,%ebp
+[a-f0-9]+: 41 81 f0 81 01 60 00 xor \$0x600181,%r8d
+[a-f0-9]+: 41 f7 c7 81 01 60 00 test \$0x600181,%r15d
+[a-f0-9]+: 48 81 d0 81 01 60 00 adc \$0x600181,%rax
+[a-f0-9]+: 48 81 c3 81 01 60 00 add \$0x600181,%rbx
+[a-f0-9]+: 48 81 e1 81 01 60 00 and \$0x600181,%rcx
+[a-f0-9]+: 48 81 fa 81 01 60 00 cmp \$0x600181,%rdx
+[a-f0-9]+: 48 81 cf 81 01 60 00 or \$0x600181,%rdi
+[a-f0-9]+: 48 81 de 81 01 60 00 sbb \$0x600181,%rsi
+[a-f0-9]+: 48 81 ed 81 01 60 00 sub \$0x600181,%rbp
+[a-f0-9]+: 49 81 f0 81 01 60 00 xor \$0x600181,%r8
+[a-f0-9]+: 49 f7 c7 81 01 60 00 test \$0x600181,%r15
#pass
#pass