aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1997-02-28 23:01:16 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1997-02-28 23:01:16 +0000
commitf28c0e6987c1d099e868e216dec53f8b4f2099ba (patch)
tree84fce66f2a3d73d09852e40aa30079c0853046e6
parentd302f4f2a88274bfe4a903ea5da14af822b50752 (diff)
downloadgcc-f28c0e6987c1d099e868e216dec53f8b4f2099ba.zip
gcc-f28c0e6987c1d099e868e216dec53f8b4f2099ba.tar.gz
gcc-f28c0e6987c1d099e868e216dec53f8b4f2099ba.tar.bz2
Prevent compiler error
From-SVN: r13683
-rw-r--r--gcc/config/rs6000/sol-c0.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/rs6000/sol-c0.c b/gcc/config/rs6000/sol-c0.c
index 6829d85..bf935c3d 100644
--- a/gcc/config/rs6000/sol-c0.c
+++ b/gcc/config/rs6000/sol-c0.c
@@ -77,15 +77,18 @@ deregister (void)
}
/* Start function. */
-
void
_start(int argc, char *argv[], char *envp[], void *auxp, void (*termfunc)())
{
int ret;
int dummy = 0;
+#if 0
+ /* Disable this for now, it causes an impossible reload. */
/* Load up r13/r2 before we do anything else. */
__asm__ volatile ("mr %%r13,%0;mr %%r2,%1" : "=r" (dummy) : "r" (&_SDA_BASE_[0]), "r" (&_SDA2_BASE_[0]), "r" (dummy));
+#endif
+
_environ = envp + dummy;
/* Register loader termination function (the || dummy is to make sure the above asm