public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* more tiddly fixes
@ 2005-02-16 11:58 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2005-02-16 11:58 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-16  5:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-16 11:58 more tiddly fixes Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).