From 2995277ce3a92dd625d484e5f95f0f869c1d75f0 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 10 Jan 1996 16:45:21 +0000 Subject: [PATCH] Make powerpc-eabi work again From-SVN: r10959 --- gcc/config/rs6000/eabi-ci.asm | 4 ++-- gcc/config/rs6000/eabi-cn.asm | 4 ++-- gcc/config/rs6000/eabi.h | 4 ++-- gcc/config/rs6000/eabisim.h | 4 ++-- gcc/config/rs6000/t-ppc | 4 ++-- gcc/config/rs6000/t-ppcgas | 4 +++- 6 files changed, 13 insertions(+), 11 deletions(-) diff --git a/gcc/config/rs6000/eabi-ci.asm b/gcc/config/rs6000/eabi-ci.asm index 678fa06367f..8c9822c9b1a 100644 --- a/gcc/config/rs6000/eabi-ci.asm +++ b/gcc/config/rs6000/eabi-ci.asm @@ -71,6 +71,6 @@ __FIXUP_START__: __CTOR_LIST__: .section ".dtors","w" - .globl __CTOR_LIST__ - .type __CTOR_LIST__,@object + .globl __DTOR_LIST__ + .type __DTOR_LIST__,@object __DTOR_LIST__: diff --git a/gcc/config/rs6000/eabi-cn.asm b/gcc/config/rs6000/eabi-cn.asm index 44b58f0c2d4..b026ed6af01 100644 --- a/gcc/config/rs6000/eabi-cn.asm +++ b/gcc/config/rs6000/eabi-cn.asm @@ -65,6 +65,6 @@ __FIXUP_END__: __CTOR_END__: .section ".dtors","w" - .globl __CTOR_END__ - .type __CTOR_END__,@object + .globl __DTOR_END__ + .type __DTOR_END__,@object __DTOR_END__: diff --git a/gcc/config/rs6000/eabi.h b/gcc/config/rs6000/eabi.h index 20bbde0605a..ea32add7d07 100644 --- a/gcc/config/rs6000/eabi.h +++ b/gcc/config/rs6000/eabi.h @@ -70,7 +70,7 @@ Boston, MA 02111-1307, USA. */ /* Use the simulator crt0 or mvme and libgloss/newlib libraries if desired */ #undef STARTFILE_SPEC -#define STARTFILE_SPEC "crti.o \ +#define STARTFILE_SPEC "crti.o%s \ %{mmvme: mvme-crt0.o%s} \ %{msim: sim-crt0.o%s}" @@ -83,4 +83,4 @@ Boston, MA 02111-1307, USA. */ #define LIBGCC_SPEC "libgcc.a%s" #undef ENDFILE_SPEC -#define ENDFILE_SPEC "crtn.o" +#define ENDFILE_SPEC "crtn.o%s" diff --git a/gcc/config/rs6000/eabisim.h b/gcc/config/rs6000/eabisim.h index 318fc427232..fcd094eefd7 100644 --- a/gcc/config/rs6000/eabisim.h +++ b/gcc/config/rs6000/eabisim.h @@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */ /* Use the simulator crt0 or mvme and libgloss/newlib libraries if desired */ #undef STARTFILE_SPEC -#define STARTFILE_SPEC "crti.o \ +#define STARTFILE_SPEC "crti.o%s \ %{mmvme: mvme-crt0.o%s} \ %{!mmvme: sim-crt0.o%s}" @@ -44,4 +44,4 @@ Boston, MA 02111-1307, USA. */ #define LIBGCC_SPEC "libgcc.a%s" #undef ENDFILE_SPEC -#define ENDFILE_SPEC "crtn.o" +#define ENDFILE_SPEC "crtn.o%s" diff --git a/gcc/config/rs6000/t-ppc b/gcc/config/rs6000/t-ppc index e664aa5053c..a42ee771b05 100644 --- a/gcc/config/rs6000/t-ppc +++ b/gcc/config/rs6000/t-ppc @@ -22,8 +22,8 @@ fp-bit.c: $(srcdir)/config/fp-bit.c MULTILIB_OPTIONS = msoft-float MULTILIB_DIRNAMES = soft-float MULTILIB_MATCHES = msoft-float=mcpu?403 \ - msoft-float=mcpu?mpc403 \ - msoft-float=mcpu?ppc403 + msoft-float=mcpu?821 \ + msoft-float=mcpu?860 LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib diff --git a/gcc/config/rs6000/t-ppcgas b/gcc/config/rs6000/t-ppcgas index 1169ef69c89..4aba30647e3 100644 --- a/gcc/config/rs6000/t-ppcgas +++ b/gcc/config/rs6000/t-ppcgas @@ -27,7 +27,9 @@ MULTILIB_DIRNAMES = soft-float \ MULTILIB_MATCHES = mlittle=mlittle-endian \ mbig=mbig-endian \ - msoft-float=mcpu?403 + msoft-float=mcpu?403 \ + msoft-float=mcpu?821 \ + msoft-float=mcpu?860 MULTILIB_EXCEPTIONS = *mlittle/*mcall-aixdesc* -- 2.30.2