summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-28 10:38:04 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-28 10:38:04 +0000
commitd9d1d6bfe46317438b146ee3b92f176d5bdc4b8a (patch)
tree9374057124281e60187967d19a7a46eb58aeefb7
parentc3988e3beb5f2c60564c959918af009f2338d308 (diff)
downloadppe42-gcc-d9d1d6bfe46317438b146ee3b92f176d5bdc4b8a.tar.gz
ppe42-gcc-d9d1d6bfe46317438b146ee3b92f176d5bdc4b8a.zip
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
#ifndef __mips16. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63553 138bc75d-0d04-0410-961f-82ee72b054a4
-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 5023208ea0b..24dbd2d45b6 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 d1f02b85a0c..2064ace96eb 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
OpenPOWER on IntegriCloud