From: Alan Modra Date: Fri, 18 Jun 2021 12:56:11 +0000 (+0930) Subject: ppc raw test failure when 32-bit bfd X-Git-Tag: binutils-2_37~212 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43f71bc5df211f424e7dfafbdfb644cd03bfcd34;p=thirdparty%2Fbinutils-gdb.git ppc raw test failure when 32-bit bfd The test contained an expression that can't be evaluated unless expressions are 64-bit. * testsuite/gas/ppc/raw.s: Use 0 as pli constant. * testsuite/gas/ppc/raw.d: Update to suit. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 9e61c2f3a5e..ff0f65cf00d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2021-06-19 Alan Modra + + * testsuite/gas/ppc/raw.s: Use 0 as pli constant. + * testsuite/gas/ppc/raw.d: Update to suit. + 2021-06-18 Jan Beulich * expr.c (symbol_lookup_or_make): New. diff --git a/gas/testsuite/gas/ppc/raw.d b/gas/testsuite/gas/ppc/raw.d index fff90775594..133c8c4e0a0 100644 --- a/gas/testsuite/gas/ppc/raw.d +++ b/gas/testsuite/gas/ppc/raw.d @@ -58,5 +58,5 @@ Disassembly of section \.text: c0: (7f 7b db 78|78 db 7b 7f) or r27,r27,r27 c4: (7f de f3 78|78 f3 de 7f) or r30,r30,r30 c8: (7c 20 04 ac|ac 04 20 7c) sync 1,0 - cc: (06 02 00 00|00 00 02 06) paddi r3,0,-8589934592,0 + cc: (06 00 00 00|00 00 00 06) paddi r3,0,0,0 d0: (38 60 00 00|00 00 60 38) diff --git a/gas/testsuite/gas/ppc/raw.s b/gas/testsuite/gas/ppc/raw.s index f318da5dd20..874f0bc4722 100644 --- a/gas/testsuite/gas/ppc/raw.s +++ b/gas/testsuite/gas/ppc/raw.s @@ -49,4 +49,4 @@ yield mdoom lwsync - pli 3,-1<<33 + pli 3,0