Skip to contentSkip to conversation

gas fix for .spillsp.p/.spillpsp.p directives

PATCH In review David Mosberger 2 participants 2 messages Apr 27, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gas fix for .spillsp.p/.spillpsp.p directives

The attached patch fixes a bug in the gas .spillsp.p/.spillpsp.p directives. Could someone check this into the official binutils tree?

Thanks,

	--david

2001-04-26 David Mosberger <[email protected]>

* config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p() argument passing order: predicate goes last, not first.

Index: config/tc-ia64.c
=================================RCS file: /cvs/src/src/gas/config/tc-ia64.c,v retrieving revision 1.48

tc-ia64.c +2 -2
diff -u -r1.48 tc-ia64.c
@@ -3613,9 +3613,9 @@
     }
 
   if (psprel)
-    add_unwind_entry (output_spill_psprel_p (qp, ab, reg, e3.X_add_number));
+    add_unwind_entry (output_spill_psprel_p (ab, reg, e3.X_add_number, qp));
   else
-    add_unwind_entry (output_spill_sprel_p (qp, ab, reg, e3.X_add_number));
+    add_unwind_entry (output_spill_sprel_p (ab, reg, e3.X_add_number, qp));
 }
 
 static void
#1 lore raw

HJ added it to the FSF binutils trunk, and to his own binutils sources. I added it to the FSF binutils 2.11 branch, so that it will appear in 2.11.1.

Jim