]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
morello, testsuite: Fix up morello-stubs-static.d users/ARM/morello-binutils-gdb-master
authorAlex Coplan <alex.coplan@arm.com>
Wed, 6 Dec 2023 17:47:52 +0000 (17:47 +0000)
committerAlex Coplan <alex.coplan@arm.com>
Wed, 6 Dec 2023 18:41:36 +0000 (18:41 +0000)
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.

ld/testsuite/ld-aarch64/morello-stubs-static.d

index d7627dcbf0571dcb9c8dc5b826385a61941821f0..dd5f61f17d8ac262f9abd680dd93743356c790b3 100644 (file)
@@ -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        .*