Correct ld-pe/aarch64.d test output
authorAlan Modra <amodra@gmail.com>
Sat, 14 Jan 2023 11:42:48 +0000 (22:12 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Jan 2023 12:55:32 +0000 (23:25 +1030)
"foo" is at 0x2010.  This corrects the expected output for .long and
.word referencing foo, showing a problem with relocation handling.

* testsuite/ld-pe/aarch64.d: Correct expected output.

ld/testsuite/ld-pe/aarch64.d

index cc3daf9e9cd06831637341d49eb1c4dc8f23a7d2..eea52e10fe2911f6c1ce0b520a330be0d06a8bdf 100644 (file)
@@ -10,41 +10,41 @@ Disassembly of section .text:
 0000000000002010 <foo>:
     2010:      12345678        and     w24, w19, #0xfffff003
     2014:      12345678        and     w24, w19, #0xfffff003
-    2018:      00002000        udf     #8192
-    201c:      00002000        udf     #8192
+    2018:      00002010        udf     #8208
+    201c:      00002010        udf     #8208
     2020:      00002220        udf     #8736
     2024:      00002220        udf     #8736
-    2028:      00002001        udf     #8193
-    202c:      00002001        udf     #8193
+    2028:      00002011        udf     #8209
+    202c:      00002011        udf     #8209
     2030:      00002221        udf     #8737
     2034:      00002221        udf     #8737
-    2038:      00001fff        udf     #8191
-    203c:      00001fff        udf     #8191
+    2038:      0000200f        udf     #8207
+    203c:      0000200f        udf     #8207
     2040:      0000221f        udf     #8735
     2044:      0000221f        udf     #8735
     2048:      9abcdef0        .inst   0x9abcdef0 ; undefined
     204c:      12345678        and     w24, w19, #0xfffff003
     2050:      9abcdef0        .inst   0x9abcdef0 ; undefined
     2054:      12345678        and     w24, w19, #0xfffff003
-    2058:      00002000        udf     #8192
+    2058:      00002010        udf     #8208
     205c:      00000000        udf     #0
-    2060:      00002000        udf     #8192
+    2060:      00002010        udf     #8208
     2064:      00000000        udf     #0
     2068:      00002220        udf     #8736
     206c:      00000000        udf     #0
     2070:      00002220        udf     #8736
     2074:      00000000        udf     #0
-    2078:      00002001        udf     #8193
+    2078:      00002011        udf     #8209
     207c:      00000000        udf     #0
-    2080:      00002001        udf     #8193
+    2080:      00002011        udf     #8209
     2084:      00000000        udf     #0
     2088:      00002221        udf     #8737
     208c:      00000000        udf     #0
     2090:      00002221        udf     #8737
     2094:      00000000        udf     #0
-    2098:      00001fff        udf     #8191
+    2098:      0000200f        udf     #8207
     209c:      00000000        udf     #0
-    20a0:      00001fff        udf     #8191
+    20a0:      0000200f        udf     #8207
     20a4:      00000000        udf     #0
     20a8:      0000221f        udf     #8735
     20ac:      00000000        udf     #0