Commit cd2b7af0 by Nick Clifton Committed by Nick Clifton

arm.c (arm_override_options): If the user has not specified an ABI...

* config/arm/arm.c (arm_override_options): If the user has not specified an
  ABI, then default to AAPCS for the iWMMXt processor.
* config/arm/t-xscale-elf: Remove redundant multilib specifications.
* config/arm/t-xscale-coff: Likewise.

From-SVN: r80683
parent 61218d19
2004-04-14 Nick Clifton <nickc@redhat.com>
* config/arm/arm.c (arm_override_options): If the user has not
specified an ABI, then default to AAPCS for the iWMMXt processor.
* config/arm/t-xscale-elf: Remove redundant multilib specifications.
* config/arm/t-xscale-coff: Likewise.
2004-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2004-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.c (fold_builtin_isdigit): New. * builtins.c (fold_builtin_isdigit): New.
......
...@@ -856,7 +856,12 @@ arm_override_options (void) ...@@ -856,7 +856,12 @@ arm_override_options (void)
error ("invalid ABI option: -mabi=%s", target_abi_name); error ("invalid ABI option: -mabi=%s", target_abi_name);
} }
else else
arm_abi = ARM_DEFAULT_ABI; {
if (TARGET_IWMMXT)
arm_abi = ARM_ABI_AAPCS;
else
arm_abi = ARM_DEFAULT_ABI;
}
if (TARGET_IWMMXT && !ARM_DOUBLEWORD_ALIGN) if (TARGET_IWMMXT && !ARM_DOUBLEWORD_ALIGN)
error ("iwmmxt requires an AAPCS compatible ABI for proper operation"); error ("iwmmxt requires an AAPCS compatible ABI for proper operation");
......
...@@ -20,19 +20,19 @@ dp-bit.c: $(srcdir)/config/fp-bit.c ...@@ -20,19 +20,19 @@ dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#endif' >> dp-bit.c echo '#endif' >> dp-bit.c
cat $(srcdir)/config/fp-bit.c >> dp-bit.c cat $(srcdir)/config/fp-bit.c >> dp-bit.c
MULTILIB_OPTIONS = mlittle-endian/mbig-endian MULTILIB_OPTIONS = mbig-endian
MULTILIB_DIRNAMES = le be MULTILIB_DIRNAMES = be
MULTILIB_EXCEPTIONS = MULTILIB_EXCEPTIONS =
MULTILIB_MATCHES = mbig-endian=mbe mlittle-endian=mle MULTILIB_MATCHES = mbig-endian=mbe mlittle-endian=mle
# Note XScale does not support 26 bit APCS. # Note XScale does not support 26 bit APCS.
# Note XScale does not support hard FP # Note XScale does not support hard FP
MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork MULTILIB_OPTIONS += mthumb-interwork
MULTILIB_DIRNAMES += normal interwork MULTILIB_DIRNAMES += interwork
MULTILIB_OPTIONS += marm/mthumb MULTILIB_OPTIONS += mthumb
MULTILIB_DIRNAMES += arm thumb MULTILIB_DIRNAMES += thumb
MULTILIB_EXCEPTIONS += *mhard-float/*mthumb* MULTILIB_EXCEPTIONS += *mhard-float/*mthumb*
MULTILIB_REDUNDANT_DIRS = interwork/thumb=thumb MULTILIB_REDUNDANT_DIRS = interwork/thumb=thumb
......
...@@ -20,19 +20,19 @@ dp-bit.c: $(srcdir)/config/fp-bit.c ...@@ -20,19 +20,19 @@ dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#endif' >> dp-bit.c echo '#endif' >> dp-bit.c
cat $(srcdir)/config/fp-bit.c >> dp-bit.c cat $(srcdir)/config/fp-bit.c >> dp-bit.c
MULTILIB_OPTIONS = mlittle-endian/mbig-endian MULTILIB_OPTIONS = mbig-endian
MULTILIB_DIRNAMES = le be MULTILIB_DIRNAMES = be
MULTILIB_EXCEPTIONS = MULTILIB_EXCEPTIONS =
MULTILIB_MATCHES = mbig-endian=mbe mlittle-endian=mle MULTILIB_MATCHES = mbig-endian=mbe mlittle-endian=mle
# Note XScale does not support 26 bit APCS. # Note XScale does not support 26 bit APCS.
# Note XScale does not support hard FP # Note XScale does not support hard FP
MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork MULTILIB_OPTIONS += mthumb-interwork
MULTILIB_DIRNAMES += normal interwork MULTILIB_DIRNAMES += interwork
MULTILIB_OPTIONS += marm/mthumb MULTILIB_OPTIONS += mthumb
MULTILIB_DIRNAMES += arm thumb MULTILIB_DIRNAMES += thumb
MULTILIB_EXCEPTIONS += *mhard-float/*mthumb* MULTILIB_EXCEPTIONS += *mhard-float/*mthumb*
MULTILIB_REDUNDANT_DIRS = interwork/thumb=thumb MULTILIB_REDUNDANT_DIRS = interwork/thumb=thumb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment