aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Christopher <echristo@redhat.com>2004-04-19 21:31:52 +0000
committerEric Christopher <echristo@gcc.gnu.org>2004-04-19 21:31:52 +0000
commitd2beeae7edf9bab9dca38a5c4f380ba963fbacc2 (patch)
treefb87890cc68b4ce3626435c370540e8fdd48b5b4 /gcc
parent06e7f299d5520bdd19ef8e6669b590f370eaf173 (diff)
downloadgcc-d2beeae7edf9bab9dca38a5c4f380ba963fbacc2.zip
gcc-d2beeae7edf9bab9dca38a5c4f380ba963fbacc2.tar.gz
gcc-d2beeae7edf9bab9dca38a5c4f380ba963fbacc2.tar.bz2
mips.h (DWARF2_ADDR_SIZE): New.
2004-04-19 Eric Christopher <echristo@redhat.com> * config/mips/mips.h (DWARF2_ADDR_SIZE): New. From-SVN: r80866
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/mips.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b57cdc4..e4d9bab 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 26775d4..a70ea9c 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -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