aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Coplan <alex.coplan@arm.com>2023-12-06 17:47:52 +0000
committerAlex Coplan <alex.coplan@arm.com>2023-12-06 18:41:36 +0000
commit70d0d9f04a51b8c441334f42cd5dfb1f9215be53 (patch)
tree1cd249809792b27edc6ac47f3c14e8334e00b45f
parentb107ba426e4559789d7358691a066ba6a92e86bb (diff)
downloadgdb-70d0d9f04a51b8c441334f42cd5dfb1f9215be53.zip
gdb-70d0d9f04a51b8c441334f42cd5dfb1f9215be53.tar.gz
gdb-70d0d9f04a51b8c441334f42cd5dfb1f9215be53.tar.bz2
morello, testsuite: Fix up morello-stubs-static.dusers/ARM/morello-binutils-gdb-master
The expected disassembly for this test is testing for the wrong thing: it expects the adrp immediate to be zero-extended instead of sign-extended, which is incorrect. That shows up as a test failure after fixing the disassembly in the previous patch. This patch fixes the test.
-rw-r--r--ld/testsuite/ld-aarch64/morello-stubs-static.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-aarch64/morello-stubs-static.d b/ld/testsuite/ld-aarch64/morello-stubs-static.d
index d7627dc..dd5f61f 100644
--- a/ld/testsuite/ld-aarch64/morello-stubs-static.d
+++ b/ld/testsuite/ld-aarch64/morello-stubs-static.d
@@ -45,7 +45,7 @@ Disassembly of section .text_high:
f000014: d503201f nop
000000000f000018 <__foo_c64a64_veneer>:
- f000018: 90f88090 adrp c16, 100010000 <___veneer\+0xf100ffd8>
+ f000018: 90f88090 adrp c16, 10000 <foo>
f00001c: 02000210 add c16, c16, #0x0
f000020: c2c21200 br c16
f000024: 00000000 .*