From: Alex Coplan Date: Wed, 6 Dec 2023 17:47:52 +0000 (+0000) Subject: morello, testsuite: Fix up morello-stubs-static.d X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fusers%2FARM%2Fmorello-binutils-gdb-master;p=thirdparty%2Fbinutils-gdb.git morello, testsuite: Fix up morello-stubs-static.d 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. --- diff --git a/ld/testsuite/ld-aarch64/morello-stubs-static.d b/ld/testsuite/ld-aarch64/morello-stubs-static.d index d7627dcbf05..dd5f61f17d8 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 f00001c: 02000210 add c16, c16, #0x0 f000020: c2c21200 br c16 f000024: 00000000 .*