From 529366614801450ed77e5c6e7efba63ebc2d8d59 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 14 Jan 2023 22:12:48 +1030 Subject: Correct ld-pe/aarch64.d test output "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 | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ld/testsuite/ld-pe/aarch64.d b/ld/testsuite/ld-pe/aarch64.d index cc3daf9..eea52e1 100644 --- a/ld/testsuite/ld-pe/aarch64.d +++ b/ld/testsuite/ld-pe/aarch64.d @@ -10,41 +10,41 @@ Disassembly of section .text: 0000000000002010 : 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 -- cgit v1.1