aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2004-12-22 06:02:15 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2004-12-22 06:02:15 +0000
commit340beeb5c2c61f33327bb06dea8e7fc14895075f (patch)
tree7bbaa8e4472097fd28006327703a957691966f62 /gcc/config
parent943e3eded2ab29d35a266cb0d7bfcbda9d96e038 (diff)
downloadgcc-340beeb5c2c61f33327bb06dea8e7fc14895075f.zip
gcc-340beeb5c2c61f33327bb06dea8e7fc14895075f.tar.gz
gcc-340beeb5c2c61f33327bb06dea8e7fc14895075f.tar.bz2
t-linux64: Remove code that messed with $(SPECS).
* config/mips/t-linux64: Remove code that messed with $(SPECS). (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Move n32 to the front. (MULTILIB_EXTRA_OPTS, CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Removed. * config/mips/linux64.h (DRIVER_SELF_SPECS): Don't handle -mabi-fake-default. (SUBTARGET_TARGET_SWITCHES): Likewise. From-SVN: r92487
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/mips/linux64.h5
-rw-r--r--gcc/config/mips/t-linux6430
2 files changed, 3 insertions, 32 deletions
diff --git a/gcc/config/mips/linux64.h b/gcc/config/mips/linux64.h
index 64ff68e..6835f71 100644
--- a/gcc/config/mips/linux64.h
+++ b/gcc/config/mips/linux64.h
@@ -30,14 +30,9 @@ Boston, MA 02111-1307, USA. */
{ "driver_default_abi_self_spec", DRIVER_DEFAULT_ABI_SELF_SPEC },
#define DRIVER_SELF_SPECS \
"%{!EB:%{!EL:%(endian_spec)}}", \
-"%{mabi-fake-default:%{!mabi=*:-mabi=32}}", \
"%(driver_default_abi_self_spec)", \
"%{!mips*:%{!march=*:%{mabi=32:-mips1}%{mabi=n32|mabi=64:-mips3}}}"
-#undef SUBTARGET_TARGET_SWITCHES
-#define SUBTARGET_TARGET_SWITCHES \
- { "abi-fake-default", 0, N_("Same as -mabi=32, just trickier") },
-
#undef SUBTARGET_ASM_SPEC
#define SUBTARGET_ASM_SPEC "\
%{!fno-PIC:%{!fno-pic:-KPIC}} \
diff --git a/gcc/config/mips/t-linux64 b/gcc/config/mips/t-linux64
index 402838b..39531e5 100644
--- a/gcc/config/mips/t-linux64
+++ b/gcc/config/mips/t-linux64
@@ -1,6 +1,6 @@
-MULTILIB_OPTIONS = mabi=32/mabi=n32/mabi=64
-MULTILIB_DIRNAMES = o32 32 64
-MULTILIB_OSDIRNAMES = ../lib ../lib32 ../lib64
+MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64
+MULTILIB_DIRNAMES = 32 o32 64
+MULTILIB_OSDIRNAMES = ../lib32 ../lib ../lib64
EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
@@ -17,27 +17,3 @@ tp-bit.c: $(srcdir)/config/fp-bit.c
echo '# define TFLOAT' >> tp-bit.c
cat $(srcdir)/config/fp-bit.c >> tp-bit.c
echo '#endif' >> tp-bit.c
-
-# This arranges for us to extract the built-in specs of the compiler
-# into specs.install. It's this file that we're going to install as
-# specs. Howver, at toolchain build time, we must use specs that
-# enforce the defaults that the compiler expects, namely, the o32 ABI,
-# instead of n32, that we want to use as the default post install.
-SPECS = specs.install
-specs: specs.install
- # Changing the build-time default ABI from n32 to o32
- # The post-install default ABI will remain n32
- @if test "x`grep '!mabi=\*:-mabi=n32' specs.install`" = \
- "x%{!mabi=*:-mabi=n32}"; then \
- sed 's,\(!mabi=\*:-mabi\)=n32,\1=32,' < specs.install > $@ ; \
- else \
- echo failed, gcc/config/mips/t-linux64 needs updating >&2; \
- false; \
- fi
-
-# This arranges for anyone who uses gcc -print-multi-lib post
-# installation to get lists of options for each multilib to get
-# options that actually work.
-MULTILIB_EXTRA_OPTS = mabi-fake-default
-CRTSTUFF_T_CFLAGS = -mabi-fake-default
-CRTSTUFF_T_CFLAGS_S = -mabi-fake-default