mips.h (DWARF2_ADDR_SIZE): New.
authorEric Christopher <echristo@redhat.com>
Mon, 19 Apr 2004 21:31:52 +0000 (21:31 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Mon, 19 Apr 2004 21:31:52 +0000 (21:31 +0000)
2004-04-19  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h (DWARF2_ADDR_SIZE): New.

From-SVN: r80866

gcc/ChangeLog
gcc/config/mips/mips.h

index b57cdc43cd171d52b78172ffc825270851109ee2..e4d9babca2c4d2e8f0a587e713011a859b328232 100644 (file)
@@ -1,8 +1,12 @@
+2004-04-19  Eric Christopher  <echristo@redhat.com>
+
+       * config/mips/mips.h (DWARF2_ADDR_SIZE): New.
+
 2004-04-19  David Edelsohn  <edelsohn@gnu.org>
 
        * doc/install.texi (*-ibm-aix*): Add AIX 5.1 assembler and archiver
        fix information.
-       
+
 2004-04-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * doc/install.texi (Specific, mips-sgi-irix5): Fix IRIX 5.3 IDO
index 26775d4fbba1aa838c92740e6f85c9e51caec359..a70ea9c9044267a3cea0524d7680197aad616cf9 100644 (file)
@@ -1212,6 +1212,8 @@ extern const struct mips_cpu_info *mips_tune_info;
 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
 #endif
 
+#define DWARF2_ADDR_SIZE (ABI_HAS_64BIT_SYMBOLS ? 8 : 4)
+
 /* By default, turn on GDB extensions.  */
 #define DEFAULT_GDB_EXTENSIONS 1