mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-23 05:09:09 +08:00
config.gcc: Add i386/t-fprules-softfp64 and soft-fp/t-softfp to x86-darwin configurations.
2007-05-25 Eric Christopher <echristo@apple.com> * config.gcc: Add i386/t-fprules-softfp64 and soft-fp/t-softfp to x86-darwin configurations. * config/i386/t-darwin: Add softfp support. * config/i386/t-darwin64: Ditto. * config/i386/sfp-machine.h: If mach then don't use aliasing, emit a stub to call. From-SVN: r125085
This commit is contained in:
parent
9a3e1f0aaa
commit
8536ebb582
@ -1,3 +1,12 @@
|
||||
2007-05-25 Eric Christopher <echristo@apple.com>
|
||||
|
||||
* config.gcc: Add i386/t-fprules-softfp64 and soft-fp/t-softfp
|
||||
to x86-darwin configurations.
|
||||
* config/i386/t-darwin: Add softfp support.
|
||||
* config/i386/t-darwin64: Ditto.
|
||||
* config/i386/sfp-machine.h: If mach then don't use
|
||||
aliasing, emit a stub to call.
|
||||
|
||||
2007-05-25 Kazu Hirata <kazu@codesourcery.com>
|
||||
|
||||
* cfglayout.c, cgraphunit.c, config/avr/avr.c, fold-const.c,
|
||||
|
@ -1052,11 +1052,12 @@ i[34567]86-*-darwin*)
|
||||
# support.
|
||||
with_arch=${with_arch:-nocona}
|
||||
with_cpu=${with_cpu:-generic}
|
||||
tmake_file="${tmake_file} i386/t-fprules-softfp64 soft-fp/t-softfp"
|
||||
;;
|
||||
x86_64-*-darwin*)
|
||||
with_arch=${with_arch:-nocona}
|
||||
with_cpu=${with_cpu:-generic}
|
||||
tmake_file="t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin"
|
||||
tmake_file="t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-fprules-softfp64 soft-fp/t-softfp"
|
||||
tm_file="${tm_file} ${cpu_type}/darwin64.h"
|
||||
;;
|
||||
i[34567]86-*-elf*)
|
||||
|
@ -127,6 +127,13 @@ struct fenv
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
|
||||
/* Define ALIASNAME as a strong alias for NAME. */
|
||||
#if defined __MACH__
|
||||
/* Mach-O doesn't support aliasing. If these functions ever return
|
||||
anything but int we need to revisit this... */
|
||||
#define strong_alias(name, aliasname) \
|
||||
int aliasname (TFtype a, TFtype b) { return name(a, b); }
|
||||
#else
|
||||
# define strong_alias(name, aliasname) _strong_alias(name, aliasname)
|
||||
# define _strong_alias(name, aliasname) \
|
||||
extern __typeof (name) aliasname __attribute__ ((alias (#name)));
|
||||
#endif
|
||||
|
@ -2,3 +2,6 @@ MULTILIB_OPTIONS = m64
|
||||
MULTILIB_DIRNAMES = x86_64
|
||||
LIB2_SIDITI_CONV_FUNCS=yes
|
||||
LIB2FUNCS_EXTRA = $(srcdir)/config/darwin-64.c
|
||||
|
||||
softfp_wrap_start := '\#ifdef __x86_64__'
|
||||
softfp_wrap_end := '\#endif'
|
||||
|
@ -1,2 +1,5 @@
|
||||
LIB2_SIDITI_CONV_FUNCS=yes
|
||||
LIB2FUNCS_EXTRA = $(srcdir)/config/darwin-64.c
|
||||
|
||||
softfp_wrap_start := '\#ifdef __x86_64__'
|
||||
softfp_wrap_end := '\#endif'
|
||||
|
Loading…
Reference in New Issue
Block a user