PR gas/3165
authorAlan Modra <amodra@gmail.com>
Mon, 11 Sep 2006 02:32:50 +0000 (02:32 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 11 Sep 2006 02:32:50 +0000 (02:32 +0000)
* config/tc-mips.h (enum dwarf2_format): Forward declare.
(DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number in parens.
* config/tc-alpha.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.
* config/tc-arm.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.

gas/ChangeLog
gas/config/tc-alpha.h
gas/config/tc-arm.h
gas/config/tc-mips.h

index 2062dd8..2932e65 100644 (file)
@@ -1,3 +1,11 @@
+2006-09-11  Alan Modra  <amodra@bigpond.net.au>
+
+       PR gas/3165
+       * config/tc-mips.h (enum dwarf2_format): Forward declare.
+       (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number in parens.
+       * config/tc-alpha.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.
+       * config/tc-arm.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.
+
 2006-09-08  Nick Clifton  <nickc@redhat.com>
 
        PR gas/3129
index 42e004e..d28ab9f 100644 (file)
@@ -1,6 +1,6 @@
 /* This file is tc-alpha.h
    Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-   2005
+   2005, 2006
    Free Software Foundation, Inc.
    Written by Ken Raeburn <raeburn@cygnus.com>.
 
@@ -180,4 +180,4 @@ extern void alpha_cfi_frame_initial_instructions (void);
 
 #define DWARF2_LINE_MIN_INSN_LENGTH    4
 #define DWARF2_DEFAULT_RETURN_COLUMN   26
-#define DWARF2_CIE_DATA_ALIGNMENT      -8
+#define DWARF2_CIE_DATA_ALIGNMENT      (-8)
index cf74326..64ebb51 100644 (file)
@@ -1,6 +1,6 @@
 /* This file is tc-arm.h
    Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
-   2004 Free Software Foundation, Inc.
+   2004, 2005, 2006 Free Software Foundation, Inc.
    Contributed by Richard Earnshaw (rwe@pegasus.esprit.ec.org)
        Modified by David Taylor (dtaylor@armltd.co.uk)
 
@@ -183,7 +183,7 @@ extern void arm_md_end (void);
 #define DWARF2_DEFAULT_RETURN_COLUMN  14
 
 /* Registers are generally saved at negative offsets to the CFA.  */
-#define DWARF2_CIE_DATA_ALIGNMENT     -4
+#define DWARF2_CIE_DATA_ALIGNMENT     (-4)
 
 #ifdef OBJ_ELF
 # define obj_frob_symbol(sym, punt)    armelf_frob_symbol ((sym), & (punt))
index 8845a5a..5a1e830 100644 (file)
@@ -1,6 +1,6 @@
 /* tc-mips.h -- header file for tc-mips.c.
-   Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004
-   Free Software Foundation, Inc.
+   Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004,
+   2005, 2006 Free Software Foundation, Inc.
    Contributed by the OSF and Ralph Campbell.
    Written by Keith Knowles and Ralph Campbell, working independently.
    Modified for ECOFF support by Ian Lance Taylor of Cygnus Support.
@@ -152,6 +152,7 @@ extern void mips_emit_delays (void);
 extern void mips_enable_auto_align (void);
 #define md_elf_section_change_hook()   mips_enable_auto_align()
 
+enum dwarf2_format;
 extern enum dwarf2_format mips_dwarf2_format (void);
 #define DWARF2_FORMAT() mips_dwarf2_format ()
 
@@ -167,6 +168,6 @@ extern void mips_cfi_frame_initial_instructions (void);
 extern int tc_mips_regname_to_dw2regnum (char *regname);
 
 #define DWARF2_DEFAULT_RETURN_COLUMN 31
-#define DWARF2_CIE_DATA_ALIGNMENT -4
+#define DWARF2_CIE_DATA_ALIGNMENT (-4)
 
 #endif /* TC_MIPS */