ppc raw test failure when 32-bit bfd

Alan Modra amodra@gmail.com
Sat Jun 19 01:24:44 GMT 2021


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/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

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list