aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-10-06 17:50:42 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2002-10-06 17:50:42 +0000
commit48b80d93d2c9c95fc4e9fb0dfca10b4b11141a3c (patch)
tree9e38a9b6c4d5fbb7dd6fdad3f9c85ea44a426191
parent7c7c549e2c2cd3c98438954c85ce98c0d78d33ae (diff)
downloadgcc-48b80d93d2c9c95fc4e9fb0dfca10b4b11141a3c.zip
gcc-48b80d93d2c9c95fc4e9fb0dfca10b4b11141a3c.tar.gz
gcc-48b80d93d2c9c95fc4e9fb0dfca10b4b11141a3c.tar.bz2
mips.h (SIZE_TYPE, [...]): Override previously definitions.
* config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override previously definitions. From-SVN: r57865
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.h9
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f8895b..0f66fd0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-06 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
+ previously definitions.
+
2002-10-06 Frank Ch. Eigler <fche@redhat.com>
* cppinit.c (init_standard_includes, parse_option): Use strncmp.
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 61e827b..87513a2 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -4584,15 +4584,14 @@ while (0)
#define MIPS_UNMARK_STAB(code) ((code)-CODE_MASK)
-/* Default definitions for size_t and ptrdiff_t. */
+/* Default definitions for size_t and ptrdiff_t. We must override the
+ definitions from ../svr4.h on mips-*-linux-gnu. */
-#ifndef SIZE_TYPE
+#undef SIZE_TYPE
#define SIZE_TYPE (Pmode == DImode ? "long unsigned int" : "unsigned int")
-#endif
-#ifndef PTRDIFF_TYPE
+#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE (Pmode == DImode ? "long int" : "int")
-#endif
/* See mips_expand_prologue's use of loadgp for when this should be
true. */