This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

more tiddly fixes


Cosmetic.

gas/
	* dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
	than zero.

This one fails because .quad on i960 isn't 8 bytes.

gas/testsuite
	* gas/all/gas.exp (quad): Don't run on i960.

Index: gas/dw2gencfi.c
===================================================================
RCS file: /cvs/src/src/gas/dw2gencfi.c,v
retrieving revision 1.21
diff -u -p -r1.21 dw2gencfi.c
--- gas/dw2gencfi.c	16 Dec 2004 08:57:23 -0000	1.21
+++ gas/dw2gencfi.c	16 Feb 2005 02:01:13 -0000
@@ -863,7 +863,7 @@ output_cie (struct cie_entry *cie)
     for (i = cie->first; i != cie->last; i = i->next)
       output_cfi_insn (i);
 
-  frag_align (2, 0, 0);
+  frag_align (2, DW_CFA_nop, 0);
   symbol_set_value_now (end_address);
 }
 
@@ -913,7 +913,7 @@ output_fde (struct fde_entry *fde, struc
   for (; first; first = first->next)
     output_cfi_insn (first);
 
-  frag_align (align, 0, 0);
+  frag_align (align, DW_CFA_nop, 0);
   symbol_set_value_now (end_address);
 }
 
Index: gas/testsuite/gas/all/gas.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/gas.exp,v
retrieving revision 1.24
diff -u -p -r1.24 gas.exp
--- gas/testsuite/gas/all/gas.exp	19 Jan 2005 11:53:53 -0000	1.24
+++ gas/testsuite/gas/all/gas.exp	16 Feb 2005 02:01:17 -0000
@@ -196,7 +196,11 @@ if {   [istarget "i*86-*-*pe*"] \
 }
 
 run_dump_test sleb128
-run_dump_test quad
+
+# .quad is 16 bytes on i960.
+if { ![istarget "i960-*-*"] } {
+    run_dump_test quad
+}
 
 load_lib gas-dg.exp
 dg-init

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]