aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2003-02-28 10:38:04 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2003-02-28 10:38:04 +0000
commit28727f1fb365c5cc0d02394dd06d57a57eb0fa76 (patch)
tree9374057124281e60187967d19a7a46eb58aeefb7
parent10a3fdd92639518f67976f894a58df753f6eb858 (diff)
downloadgcc-28727f1fb365c5cc0d02394dd06d57a57eb0fa76.zip
gcc-28727f1fb365c5cc0d02394dd06d57a57eb0fa76.tar.gz
gcc-28727f1fb365c5cc0d02394dd06d57a57eb0fa76.tar.bz2
mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in #ifndef __mips16.
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in #ifndef __mips16. From-SVN: r63553
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5023208..24dbd2d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-28 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
+ #ifndef __mips16.
+
Fri Feb 28 11:09:14 CET 2003 Jan Hubicka <jh@suse.cz>
* combine.c (gen_lowpart_for_combine): Update handling of
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index d1f02b8..2064ace 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -4345,6 +4345,7 @@ while (0)
/* Generate calls to memcpy, etc., not bcopy, etc. */
#define TARGET_MEM_FUNCTIONS
+#ifndef __mips16
/* Since the bits of the _init and _fini function is spread across
many object files, each potentially with its own GP, we must assume
we need to load our GP. We don't preserve $gp or $ra, since each
@@ -4373,3 +4374,4 @@ while (0)
jal " USER_LABEL_PREFIX #FUNC "\n\
" TEXT_SECTION_ASM_OP);
#endif
+#endif