aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/testsuite/ld-x86-64/discarded1.d15
-rw-r--r--ld/testsuite/ld-x86-64/load1a-nacl.d76
-rw-r--r--ld/testsuite/ld-x86-64/load1a.d76
-rw-r--r--ld/testsuite/ld-x86-64/load1b-nacl.d76
-rw-r--r--ld/testsuite/ld-x86-64/load1b.d76
5 files changed, 166 insertions, 153 deletions
diff --git a/ld/testsuite/ld-x86-64/discarded1.d b/ld/testsuite/ld-x86-64/discarded1.d
index c892595..e2ebeff 100644
--- a/ld/testsuite/ld-x86-64/discarded1.d
+++ b/ld/testsuite/ld-x86-64/discarded1.d
@@ -1,3 +1,16 @@
#as: --64
#ld: -melf_x86_64 -T discarded1.t
-#error: .*discarded output section: `.got.plt'
+#objdump: --sym -dw
+
+.*: +file format .*
+
+SYMBOL TABLE:
+#...
+0+8 g O .data 0+4 x
+#...
+
+Disassembly of section .text:
+
+0+ <_start>:
+[ ]*[a-f0-9]+: 48 c7 c0 08 00 00 00 mov \$0x8,%rax
+#pass
diff --git a/ld/testsuite/ld-x86-64/load1a-nacl.d b/ld/testsuite/ld-x86-64/load1a-nacl.d
index aba9db9..f038400 100644
--- a/ld/testsuite/ld-x86-64/load1a-nacl.d
+++ b/ld/testsuite/ld-x86-64/load1a-nacl.d
@@ -8,48 +8,48 @@
SYMBOL TABLE:
#...
-0+100300c8 l O .data 0+1 bar
+0+100300b0 l O .data 0+1 bar
#...
-0+100300c9 g O .data 0+1 foo
+0+100300b1 g O .data 0+1 foo
#...
Disassembly of section .text:
0+20000 <_start>:
-[ ]*[a-f0-9]+: 81 d0 c8 00 03 10 adc \$0x100300c8,%eax
-[ ]*[a-f0-9]+: 81 c3 c8 00 03 10 add \$0x100300c8,%ebx
-[ ]*[a-f0-9]+: 81 e1 c8 00 03 10 and \$0x100300c8,%ecx
-[ ]*[a-f0-9]+: 81 fa c8 00 03 10 cmp \$0x100300c8,%edx
-[ ]*[a-f0-9]+: 81 ce c8 00 03 10 or \$0x100300c8,%esi
-[ ]*[a-f0-9]+: 81 df c8 00 03 10 sbb \$0x100300c8,%edi
-[ ]*[a-f0-9]+: 81 ed c8 00 03 10 sub \$0x100300c8,%ebp
-[ ]*[a-f0-9]+: 41 81 f0 c8 00 03 10 xor \$0x100300c8,%r8d
-[ ]*[a-f0-9]+: 41 f7 c7 c8 00 03 10 test \$0x100300c8,%r15d
-[ ]*[a-f0-9]+: 48 81 d0 c8 00 03 10 adc \$0x100300c8,%rax
-[ ]*[a-f0-9]+: 48 81 c3 c8 00 03 10 add \$0x100300c8,%rbx
-[ ]*[a-f0-9]+: 48 81 e1 c8 00 03 10 and \$0x100300c8,%rcx
-[ ]*[a-f0-9]+: 48 81 fa c8 00 03 10 cmp \$0x100300c8,%rdx
-[ ]*[a-f0-9]+: 48 81 cf c8 00 03 10 or \$0x100300c8,%rdi
-[ ]*[a-f0-9]+: 48 81 de c8 00 03 10 sbb \$0x100300c8,%rsi
-[ ]*[a-f0-9]+: 48 81 ed c8 00 03 10 sub \$0x100300c8,%rbp
-[ ]*[a-f0-9]+: 49 81 f0 c8 00 03 10 xor \$0x100300c8,%r8
-[ ]*[a-f0-9]+: 49 f7 c7 c8 00 03 10 test \$0x100300c8,%r15
-[ ]*[a-f0-9]+: 81 d0 c9 00 03 10 adc \$0x100300c9,%eax
-[ ]*[a-f0-9]+: 81 c3 c9 00 03 10 add \$0x100300c9,%ebx
-[ ]*[a-f0-9]+: 81 e1 c9 00 03 10 and \$0x100300c9,%ecx
-[ ]*[a-f0-9]+: 81 fa c9 00 03 10 cmp \$0x100300c9,%edx
-[ ]*[a-f0-9]+: 81 ce c9 00 03 10 or \$0x100300c9,%esi
-[ ]*[a-f0-9]+: 81 df c9 00 03 10 sbb \$0x100300c9,%edi
-[ ]*[a-f0-9]+: 81 ed c9 00 03 10 sub \$0x100300c9,%ebp
-[ ]*[a-f0-9]+: 41 81 f0 c9 00 03 10 xor \$0x100300c9,%r8d
-[ ]*[a-f0-9]+: 41 f7 c7 c9 00 03 10 test \$0x100300c9,%r15d
-[ ]*[a-f0-9]+: 48 81 d0 c9 00 03 10 adc \$0x100300c9,%rax
-[ ]*[a-f0-9]+: 48 81 c3 c9 00 03 10 add \$0x100300c9,%rbx
-[ ]*[a-f0-9]+: 48 81 e1 c9 00 03 10 and \$0x100300c9,%rcx
-[ ]*[a-f0-9]+: 48 81 fa c9 00 03 10 cmp \$0x100300c9,%rdx
-[ ]*[a-f0-9]+: 48 81 cf c9 00 03 10 or \$0x100300c9,%rdi
-[ ]*[a-f0-9]+: 48 81 de c9 00 03 10 sbb \$0x100300c9,%rsi
-[ ]*[a-f0-9]+: 48 81 ed c9 00 03 10 sub \$0x100300c9,%rbp
-[ ]*[a-f0-9]+: 49 81 f0 c9 00 03 10 xor \$0x100300c9,%r8
-[ ]*[a-f0-9]+: 49 f7 c7 c9 00 03 10 test \$0x100300c9,%r15
+[ ]*[a-f0-9]+: 81 d0 b0 00 03 10 adc \$0x100300b0,%eax
+[ ]*[a-f0-9]+: 81 c3 b0 00 03 10 add \$0x100300b0,%ebx
+[ ]*[a-f0-9]+: 81 e1 b0 00 03 10 and \$0x100300b0,%ecx
+[ ]*[a-f0-9]+: 81 fa b0 00 03 10 cmp \$0x100300b0,%edx
+[ ]*[a-f0-9]+: 81 ce b0 00 03 10 or \$0x100300b0,%esi
+[ ]*[a-f0-9]+: 81 df b0 00 03 10 sbb \$0x100300b0,%edi
+[ ]*[a-f0-9]+: 81 ed b0 00 03 10 sub \$0x100300b0,%ebp
+[ ]*[a-f0-9]+: 41 81 f0 b0 00 03 10 xor \$0x100300b0,%r8d
+[ ]*[a-f0-9]+: 41 f7 c7 b0 00 03 10 test \$0x100300b0,%r15d
+[ ]*[a-f0-9]+: 48 81 d0 b0 00 03 10 adc \$0x100300b0,%rax
+[ ]*[a-f0-9]+: 48 81 c3 b0 00 03 10 add \$0x100300b0,%rbx
+[ ]*[a-f0-9]+: 48 81 e1 b0 00 03 10 and \$0x100300b0,%rcx
+[ ]*[a-f0-9]+: 48 81 fa b0 00 03 10 cmp \$0x100300b0,%rdx
+[ ]*[a-f0-9]+: 48 81 cf b0 00 03 10 or \$0x100300b0,%rdi
+[ ]*[a-f0-9]+: 48 81 de b0 00 03 10 sbb \$0x100300b0,%rsi
+[ ]*[a-f0-9]+: 48 81 ed b0 00 03 10 sub \$0x100300b0,%rbp
+[ ]*[a-f0-9]+: 49 81 f0 b0 00 03 10 xor \$0x100300b0,%r8
+[ ]*[a-f0-9]+: 49 f7 c7 b0 00 03 10 test \$0x100300b0,%r15
+[ ]*[a-f0-9]+: 81 d0 b1 00 03 10 adc \$0x100300b1,%eax
+[ ]*[a-f0-9]+: 81 c3 b1 00 03 10 add \$0x100300b1,%ebx
+[ ]*[a-f0-9]+: 81 e1 b1 00 03 10 and \$0x100300b1,%ecx
+[ ]*[a-f0-9]+: 81 fa b1 00 03 10 cmp \$0x100300b1,%edx
+[ ]*[a-f0-9]+: 81 ce b1 00 03 10 or \$0x100300b1,%esi
+[ ]*[a-f0-9]+: 81 df b1 00 03 10 sbb \$0x100300b1,%edi
+[ ]*[a-f0-9]+: 81 ed b1 00 03 10 sub \$0x100300b1,%ebp
+[ ]*[a-f0-9]+: 41 81 f0 b1 00 03 10 xor \$0x100300b1,%r8d
+[ ]*[a-f0-9]+: 41 f7 c7 b1 00 03 10 test \$0x100300b1,%r15d
+[ ]*[a-f0-9]+: 48 81 d0 b1 00 03 10 adc \$0x100300b1,%rax
+[ ]*[a-f0-9]+: 48 81 c3 b1 00 03 10 add \$0x100300b1,%rbx
+[ ]*[a-f0-9]+: 48 81 e1 b1 00 03 10 and \$0x100300b1,%rcx
+[ ]*[a-f0-9]+: 48 81 fa b1 00 03 10 cmp \$0x100300b1,%rdx
+[ ]*[a-f0-9]+: 48 81 cf b1 00 03 10 or \$0x100300b1,%rdi
+[ ]*[a-f0-9]+: 48 81 de b1 00 03 10 sbb \$0x100300b1,%rsi
+[ ]*[a-f0-9]+: 48 81 ed b1 00 03 10 sub \$0x100300b1,%rbp
+[ ]*[a-f0-9]+: 49 81 f0 b1 00 03 10 xor \$0x100300b1,%r8
+[ ]*[a-f0-9]+: 49 f7 c7 b1 00 03 10 test \$0x100300b1,%r15
#pass
diff --git a/ld/testsuite/ld-x86-64/load1a.d b/ld/testsuite/ld-x86-64/load1a.d
index 0eb4880..bbbd204 100644
--- a/ld/testsuite/ld-x86-64/load1a.d
+++ b/ld/testsuite/ld-x86-64/load1a.d
@@ -8,48 +8,48 @@
SYMBOL TABLE:
#...
-0+6001b8 l O .data 0+1 bar
+0+60019e l O .data 0+1 bar
#...
-0+6001b9 g O .data 0+1 foo
+0+60019f g O .data 0+1 foo
#...
Disassembly of section .text:
0+4000b0 <_start>:
-[ ]*[a-f0-9]+: 81 d0 b8 01 60 00 adc \$0x6001b8,%eax
-[ ]*[a-f0-9]+: 81 c3 b8 01 60 00 add \$0x6001b8,%ebx
-[ ]*[a-f0-9]+: 81 e1 b8 01 60 00 and \$0x6001b8,%ecx
-[ ]*[a-f0-9]+: 81 fa b8 01 60 00 cmp \$0x6001b8,%edx
-[ ]*[a-f0-9]+: 81 ce b8 01 60 00 or \$0x6001b8,%esi
-[ ]*[a-f0-9]+: 81 df b8 01 60 00 sbb \$0x6001b8,%edi
-[ ]*[a-f0-9]+: 81 ed b8 01 60 00 sub \$0x6001b8,%ebp
-[ ]*[a-f0-9]+: 41 81 f0 b8 01 60 00 xor \$0x6001b8,%r8d
-[ ]*[a-f0-9]+: 41 f7 c7 b8 01 60 00 test \$0x6001b8,%r15d
-[ ]*[a-f0-9]+: 48 81 d0 b8 01 60 00 adc \$0x6001b8,%rax
-[ ]*[a-f0-9]+: 48 81 c3 b8 01 60 00 add \$0x6001b8,%rbx
-[ ]*[a-f0-9]+: 48 81 e1 b8 01 60 00 and \$0x6001b8,%rcx
-[ ]*[a-f0-9]+: 48 81 fa b8 01 60 00 cmp \$0x6001b8,%rdx
-[ ]*[a-f0-9]+: 48 81 cf b8 01 60 00 or \$0x6001b8,%rdi
-[ ]*[a-f0-9]+: 48 81 de b8 01 60 00 sbb \$0x6001b8,%rsi
-[ ]*[a-f0-9]+: 48 81 ed b8 01 60 00 sub \$0x6001b8,%rbp
-[ ]*[a-f0-9]+: 49 81 f0 b8 01 60 00 xor \$0x6001b8,%r8
-[ ]*[a-f0-9]+: 49 f7 c7 b8 01 60 00 test \$0x6001b8,%r15
-[ ]*[a-f0-9]+: 81 d0 b9 01 60 00 adc \$0x6001b9,%eax
-[ ]*[a-f0-9]+: 81 c3 b9 01 60 00 add \$0x6001b9,%ebx
-[ ]*[a-f0-9]+: 81 e1 b9 01 60 00 and \$0x6001b9,%ecx
-[ ]*[a-f0-9]+: 81 fa b9 01 60 00 cmp \$0x6001b9,%edx
-[ ]*[a-f0-9]+: 81 ce b9 01 60 00 or \$0x6001b9,%esi
-[ ]*[a-f0-9]+: 81 df b9 01 60 00 sbb \$0x6001b9,%edi
-[ ]*[a-f0-9]+: 81 ed b9 01 60 00 sub \$0x6001b9,%ebp
-[ ]*[a-f0-9]+: 41 81 f0 b9 01 60 00 xor \$0x6001b9,%r8d
-[ ]*[a-f0-9]+: 41 f7 c7 b9 01 60 00 test \$0x6001b9,%r15d
-[ ]*[a-f0-9]+: 48 81 d0 b9 01 60 00 adc \$0x6001b9,%rax
-[ ]*[a-f0-9]+: 48 81 c3 b9 01 60 00 add \$0x6001b9,%rbx
-[ ]*[a-f0-9]+: 48 81 e1 b9 01 60 00 and \$0x6001b9,%rcx
-[ ]*[a-f0-9]+: 48 81 fa b9 01 60 00 cmp \$0x6001b9,%rdx
-[ ]*[a-f0-9]+: 48 81 cf b9 01 60 00 or \$0x6001b9,%rdi
-[ ]*[a-f0-9]+: 48 81 de b9 01 60 00 sbb \$0x6001b9,%rsi
-[ ]*[a-f0-9]+: 48 81 ed b9 01 60 00 sub \$0x6001b9,%rbp
-[ ]*[a-f0-9]+: 49 81 f0 b9 01 60 00 xor \$0x6001b9,%r8
-[ ]*[a-f0-9]+: 49 f7 c7 b9 01 60 00 test \$0x6001b9,%r15
+[ ]*[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
diff --git a/ld/testsuite/ld-x86-64/load1b-nacl.d b/ld/testsuite/ld-x86-64/load1b-nacl.d
index b6fa43d..3265557 100644
--- a/ld/testsuite/ld-x86-64/load1b-nacl.d
+++ b/ld/testsuite/ld-x86-64/load1b-nacl.d
@@ -8,48 +8,48 @@
SYMBOL TABLE:
#...
-1003008c l O .data 0+1 bar
+10030074 l O .data 0+1 bar
#...
-1003008d g O .data 0+1 foo
+10030075 g O .data 0+1 foo
#...
Disassembly of section .text:
0+20000 <_start>:
-[ ]*[a-f0-9]+: 81 d0 8c 00 03 10 adc \$0x1003008c,%eax
-[ ]*[a-f0-9]+: 81 c3 8c 00 03 10 add \$0x1003008c,%ebx
-[ ]*[a-f0-9]+: 81 e1 8c 00 03 10 and \$0x1003008c,%ecx
-[ ]*[a-f0-9]+: 81 fa 8c 00 03 10 cmp \$0x1003008c,%edx
-[ ]*[a-f0-9]+: 81 ce 8c 00 03 10 or \$0x1003008c,%esi
-[ ]*[a-f0-9]+: 81 df 8c 00 03 10 sbb \$0x1003008c,%edi
-[ ]*[a-f0-9]+: 81 ed 8c 00 03 10 sub \$0x1003008c,%ebp
-[ ]*[a-f0-9]+: 41 81 f0 8c 00 03 10 xor \$0x1003008c,%r8d
-[ ]*[a-f0-9]+: 41 f7 c7 8c 00 03 10 test \$0x1003008c,%r15d
-[ ]*[a-f0-9]+: 48 81 d0 8c 00 03 10 adc \$0x1003008c,%rax
-[ ]*[a-f0-9]+: 48 81 c3 8c 00 03 10 add \$0x1003008c,%rbx
-[ ]*[a-f0-9]+: 48 81 e1 8c 00 03 10 and \$0x1003008c,%rcx
-[ ]*[a-f0-9]+: 48 81 fa 8c 00 03 10 cmp \$0x1003008c,%rdx
-[ ]*[a-f0-9]+: 48 81 cf 8c 00 03 10 or \$0x1003008c,%rdi
-[ ]*[a-f0-9]+: 48 81 de 8c 00 03 10 sbb \$0x1003008c,%rsi
-[ ]*[a-f0-9]+: 48 81 ed 8c 00 03 10 sub \$0x1003008c,%rbp
-[ ]*[a-f0-9]+: 49 81 f0 8c 00 03 10 xor \$0x1003008c,%r8
-[ ]*[a-f0-9]+: 49 f7 c7 8c 00 03 10 test \$0x1003008c,%r15
-[ ]*[a-f0-9]+: 81 d0 8d 00 03 10 adc \$0x1003008d,%eax
-[ ]*[a-f0-9]+: 81 c3 8d 00 03 10 add \$0x1003008d,%ebx
-[ ]*[a-f0-9]+: 81 e1 8d 00 03 10 and \$0x1003008d,%ecx
-[ ]*[a-f0-9]+: 81 fa 8d 00 03 10 cmp \$0x1003008d,%edx
-[ ]*[a-f0-9]+: 81 ce 8d 00 03 10 or \$0x1003008d,%esi
-[ ]*[a-f0-9]+: 81 df 8d 00 03 10 sbb \$0x1003008d,%edi
-[ ]*[a-f0-9]+: 81 ed 8d 00 03 10 sub \$0x1003008d,%ebp
-[ ]*[a-f0-9]+: 41 81 f0 8d 00 03 10 xor \$0x1003008d,%r8d
-[ ]*[a-f0-9]+: 41 f7 c7 8d 00 03 10 test \$0x1003008d,%r15d
-[ ]*[a-f0-9]+: 48 81 d0 8d 00 03 10 adc \$0x1003008d,%rax
-[ ]*[a-f0-9]+: 48 81 c3 8d 00 03 10 add \$0x1003008d,%rbx
-[ ]*[a-f0-9]+: 48 81 e1 8d 00 03 10 and \$0x1003008d,%rcx
-[ ]*[a-f0-9]+: 48 81 fa 8d 00 03 10 cmp \$0x1003008d,%rdx
-[ ]*[a-f0-9]+: 48 81 cf 8d 00 03 10 or \$0x1003008d,%rdi
-[ ]*[a-f0-9]+: 48 81 de 8d 00 03 10 sbb \$0x1003008d,%rsi
-[ ]*[a-f0-9]+: 48 81 ed 8d 00 03 10 sub \$0x1003008d,%rbp
-[ ]*[a-f0-9]+: 49 81 f0 8d 00 03 10 xor \$0x1003008d,%r8
-[ ]*[a-f0-9]+: 49 f7 c7 8d 00 03 10 test \$0x1003008d,%r15
+[ ]*[a-f0-9]+: 81 d0 74 00 03 10 adc \$0x10030074,%eax
+[ ]*[a-f0-9]+: 81 c3 74 00 03 10 add \$0x10030074,%ebx
+[ ]*[a-f0-9]+: 81 e1 74 00 03 10 and \$0x10030074,%ecx
+[ ]*[a-f0-9]+: 81 fa 74 00 03 10 cmp \$0x10030074,%edx
+[ ]*[a-f0-9]+: 81 ce 74 00 03 10 or \$0x10030074,%esi
+[ ]*[a-f0-9]+: 81 df 74 00 03 10 sbb \$0x10030074,%edi
+[ ]*[a-f0-9]+: 81 ed 74 00 03 10 sub \$0x10030074,%ebp
+[ ]*[a-f0-9]+: 41 81 f0 74 00 03 10 xor \$0x10030074,%r8d
+[ ]*[a-f0-9]+: 41 f7 c7 74 00 03 10 test \$0x10030074,%r15d
+[ ]*[a-f0-9]+: 48 81 d0 74 00 03 10 adc \$0x10030074,%rax
+[ ]*[a-f0-9]+: 48 81 c3 74 00 03 10 add \$0x10030074,%rbx
+[ ]*[a-f0-9]+: 48 81 e1 74 00 03 10 and \$0x10030074,%rcx
+[ ]*[a-f0-9]+: 48 81 fa 74 00 03 10 cmp \$0x10030074,%rdx
+[ ]*[a-f0-9]+: 48 81 cf 74 00 03 10 or \$0x10030074,%rdi
+[ ]*[a-f0-9]+: 48 81 de 74 00 03 10 sbb \$0x10030074,%rsi
+[ ]*[a-f0-9]+: 48 81 ed 74 00 03 10 sub \$0x10030074,%rbp
+[ ]*[a-f0-9]+: 49 81 f0 74 00 03 10 xor \$0x10030074,%r8
+[ ]*[a-f0-9]+: 49 f7 c7 74 00 03 10 test \$0x10030074,%r15
+[ ]*[a-f0-9]+: 81 d0 75 00 03 10 adc \$0x10030075,%eax
+[ ]*[a-f0-9]+: 81 c3 75 00 03 10 add \$0x10030075,%ebx
+[ ]*[a-f0-9]+: 81 e1 75 00 03 10 and \$0x10030075,%ecx
+[ ]*[a-f0-9]+: 81 fa 75 00 03 10 cmp \$0x10030075,%edx
+[ ]*[a-f0-9]+: 81 ce 75 00 03 10 or \$0x10030075,%esi
+[ ]*[a-f0-9]+: 81 df 75 00 03 10 sbb \$0x10030075,%edi
+[ ]*[a-f0-9]+: 81 ed 75 00 03 10 sub \$0x10030075,%ebp
+[ ]*[a-f0-9]+: 41 81 f0 75 00 03 10 xor \$0x10030075,%r8d
+[ ]*[a-f0-9]+: 41 f7 c7 75 00 03 10 test \$0x10030075,%r15d
+[ ]*[a-f0-9]+: 48 81 d0 75 00 03 10 adc \$0x10030075,%rax
+[ ]*[a-f0-9]+: 48 81 c3 75 00 03 10 add \$0x10030075,%rbx
+[ ]*[a-f0-9]+: 48 81 e1 75 00 03 10 and \$0x10030075,%rcx
+[ ]*[a-f0-9]+: 48 81 fa 75 00 03 10 cmp \$0x10030075,%rdx
+[ ]*[a-f0-9]+: 48 81 cf 75 00 03 10 or \$0x10030075,%rdi
+[ ]*[a-f0-9]+: 48 81 de 75 00 03 10 sbb \$0x10030075,%rsi
+[ ]*[a-f0-9]+: 48 81 ed 75 00 03 10 sub \$0x10030075,%rbp
+[ ]*[a-f0-9]+: 49 81 f0 75 00 03 10 xor \$0x10030075,%r8
+[ ]*[a-f0-9]+: 49 f7 c7 75 00 03 10 test \$0x10030075,%r15
#pass
diff --git a/ld/testsuite/ld-x86-64/load1b.d b/ld/testsuite/ld-x86-64/load1b.d
index 8827f38..b9dc17c 100644
--- a/ld/testsuite/ld-x86-64/load1b.d
+++ b/ld/testsuite/ld-x86-64/load1b.d
@@ -8,49 +8,49 @@
SYMBOL TABLE:
#...
-0+60017c l O .data 0+1 bar
+0+600162 l O .data 0+1 bar
#...
-0+60017d g O .data 0+1 foo
+0+600163 g O .data 0+1 foo
#...
Disassembly of section .text:
0+400074 <_start>:
-[ ]*[a-f0-9]+: 81 d0 7c 01 60 00 adc \$0x60017c,%eax
-[ ]*[a-f0-9]+: 81 c3 7c 01 60 00 add \$0x60017c,%ebx
-[ ]*[a-f0-9]+: 81 e1 7c 01 60 00 and \$0x60017c,%ecx
-[ ]*[a-f0-9]+: 81 fa 7c 01 60 00 cmp \$0x60017c,%edx
-[ ]*[a-f0-9]+: 81 ce 7c 01 60 00 or \$0x60017c,%esi
-[ ]*[a-f0-9]+: 81 df 7c 01 60 00 sbb \$0x60017c,%edi
-[ ]*[a-f0-9]+: 81 ed 7c 01 60 00 sub \$0x60017c,%ebp
-[ ]*[a-f0-9]+: 41 81 f0 7c 01 60 00 xor \$0x60017c,%r8d
-[ ]*[a-f0-9]+: 41 f7 c7 7c 01 60 00 test \$0x60017c,%r15d
-[ ]*[a-f0-9]+: 48 81 d0 7c 01 60 00 adc \$0x60017c,%rax
-[ ]*[a-f0-9]+: 48 81 c3 7c 01 60 00 add \$0x60017c,%rbx
-[ ]*[a-f0-9]+: 48 81 e1 7c 01 60 00 and \$0x60017c,%rcx
-[ ]*[a-f0-9]+: 48 81 fa 7c 01 60 00 cmp \$0x60017c,%rdx
-[ ]*[a-f0-9]+: 48 81 cf 7c 01 60 00 or \$0x60017c,%rdi
-[ ]*[a-f0-9]+: 48 81 de 7c 01 60 00 sbb \$0x60017c,%rsi
-[ ]*[a-f0-9]+: 48 81 ed 7c 01 60 00 sub \$0x60017c,%rbp
-[ ]*[a-f0-9]+: 49 81 f0 7c 01 60 00 xor \$0x60017c,%r8
-[ ]*[a-f0-9]+: 49 f7 c7 7c 01 60 00 test \$0x60017c,%r15
-[ ]*[a-f0-9]+: 81 d0 7d 01 60 00 adc \$0x60017d,%eax
-[ ]*[a-f0-9]+: 81 c3 7d 01 60 00 add \$0x60017d,%ebx
-[ ]*[a-f0-9]+: 81 e1 7d 01 60 00 and \$0x60017d,%ecx
-[ ]*[a-f0-9]+: 81 fa 7d 01 60 00 cmp \$0x60017d,%edx
-[ ]*[a-f0-9]+: 81 ce 7d 01 60 00 or \$0x60017d,%esi
-[ ]*[a-f0-9]+: 81 df 7d 01 60 00 sbb \$0x60017d,%edi
-[ ]*[a-f0-9]+: 81 ed 7d 01 60 00 sub \$0x60017d,%ebp
-[ ]*[a-f0-9]+: 41 81 f0 7d 01 60 00 xor \$0x60017d,%r8d
-[ ]*[a-f0-9]+: 41 f7 c7 7d 01 60 00 test \$0x60017d,%r15d
-[ ]*[a-f0-9]+: 48 81 d0 7d 01 60 00 adc \$0x60017d,%rax
-[ ]*[a-f0-9]+: 48 81 c3 7d 01 60 00 add \$0x60017d,%rbx
-[ ]*[a-f0-9]+: 48 81 e1 7d 01 60 00 and \$0x60017d,%rcx
-[ ]*[a-f0-9]+: 48 81 fa 7d 01 60 00 cmp \$0x60017d,%rdx
-[ ]*[a-f0-9]+: 48 81 cf 7d 01 60 00 or \$0x60017d,%rdi
-[ ]*[a-f0-9]+: 48 81 de 7d 01 60 00 sbb \$0x60017d,%rsi
-[ ]*[a-f0-9]+: 48 81 ed 7d 01 60 00 sub \$0x60017d,%rbp
-[ ]*[a-f0-9]+: 49 81 f0 7d 01 60 00 xor \$0x60017d,%r8
-[ ]*[a-f0-9]+: 49 f7 c7 7d 01 60 00 test \$0x60017d,%r15
+[ ]*[a-f0-9]+: 81 d0 62 01 60 00 adc \$0x600162,%eax
+[ ]*[a-f0-9]+: 81 c3 62 01 60 00 add \$0x600162,%ebx
+[ ]*[a-f0-9]+: 81 e1 62 01 60 00 and \$0x600162,%ecx
+[ ]*[a-f0-9]+: 81 fa 62 01 60 00 cmp \$0x600162,%edx
+[ ]*[a-f0-9]+: 81 ce 62 01 60 00 or \$0x600162,%esi
+[ ]*[a-f0-9]+: 81 df 62 01 60 00 sbb \$0x600162,%edi
+[ ]*[a-f0-9]+: 81 ed 62 01 60 00 sub \$0x600162,%ebp
+[ ]*[a-f0-9]+: 41 81 f0 62 01 60 00 xor \$0x600162,%r8d
+[ ]*[a-f0-9]+: 41 f7 c7 62 01 60 00 test \$0x600162,%r15d
+[ ]*[a-f0-9]+: 48 81 d0 62 01 60 00 adc \$0x600162,%rax
+[ ]*[a-f0-9]+: 48 81 c3 62 01 60 00 add \$0x600162,%rbx
+[ ]*[a-f0-9]+: 48 81 e1 62 01 60 00 and \$0x600162,%rcx
+[ ]*[a-f0-9]+: 48 81 fa 62 01 60 00 cmp \$0x600162,%rdx
+[ ]*[a-f0-9]+: 48 81 cf 62 01 60 00 or \$0x600162,%rdi
+[ ]*[a-f0-9]+: 48 81 de 62 01 60 00 sbb \$0x600162,%rsi
+[ ]*[a-f0-9]+: 48 81 ed 62 01 60 00 sub \$0x600162,%rbp
+[ ]*[a-f0-9]+: 49 81 f0 62 01 60 00 xor \$0x600162,%r8
+[ ]*[a-f0-9]+: 49 f7 c7 62 01 60 00 test \$0x600162,%r15
+[ ]*[a-f0-9]+: 81 d0 63 01 60 00 adc \$0x600163,%eax
+[ ]*[a-f0-9]+: 81 c3 63 01 60 00 add \$0x600163,%ebx
+[ ]*[a-f0-9]+: 81 e1 63 01 60 00 and \$0x600163,%ecx
+[ ]*[a-f0-9]+: 81 fa 63 01 60 00 cmp \$0x600163,%edx
+[ ]*[a-f0-9]+: 81 ce 63 01 60 00 or \$0x600163,%esi
+[ ]*[a-f0-9]+: 81 df 63 01 60 00 sbb \$0x600163,%edi
+[ ]*[a-f0-9]+: 81 ed 63 01 60 00 sub \$0x600163,%ebp
+[ ]*[a-f0-9]+: 41 81 f0 63 01 60 00 xor \$0x600163,%r8d
+[ ]*[a-f0-9]+: 41 f7 c7 63 01 60 00 test \$0x600163,%r15d
+[ ]*[a-f0-9]+: 48 81 d0 63 01 60 00 adc \$0x600163,%rax
+[ ]*[a-f0-9]+: 48 81 c3 63 01 60 00 add \$0x600163,%rbx
+[ ]*[a-f0-9]+: 48 81 e1 63 01 60 00 and \$0x600163,%rcx
+[ ]*[a-f0-9]+: 48 81 fa 63 01 60 00 cmp \$0x600163,%rdx
+[ ]*[a-f0-9]+: 48 81 cf 63 01 60 00 or \$0x600163,%rdi
+[ ]*[a-f0-9]+: 48 81 de 63 01 60 00 sbb \$0x600163,%rsi
+[ ]*[a-f0-9]+: 48 81 ed 63 01 60 00 sub \$0x600163,%rbp
+[ ]*[a-f0-9]+: 49 81 f0 63 01 60 00 xor \$0x600163,%r8
+[ ]*[a-f0-9]+: 49 f7 c7 63 01 60 00 test \$0x600163,%r15
#pass