mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-16 06:29:41 +08:00
mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_abicalls if TARGET_ABICALLS is true.
gcc/ * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_abicalls if TARGET_ABICALLS is true. From-SVN: r142770
This commit is contained in:
parent
dd021c27bf
commit
cf51e47926
@ -1,3 +1,8 @@
|
||||
2008-12-15 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_abicalls
|
||||
if TARGET_ABICALLS is true.
|
||||
|
||||
2008-12-15 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* config/mips/mips.md (move_doubleword_fpr<mode>): Use
|
||||
|
@ -529,6 +529,11 @@ enum mips_code_readable_setting {
|
||||
builtin_define ("_MIPSEL"); \
|
||||
} \
|
||||
\
|
||||
/* Whether calls should go through $25. The separate __PIC__ \
|
||||
macro indicates whether abicalls code might use a GOT. */ \
|
||||
if (TARGET_ABICALLS) \
|
||||
builtin_define ("__mips_abicalls"); \
|
||||
\
|
||||
/* Whether Loongson vector modes are enabled. */ \
|
||||
if (TARGET_LOONGSON_VECTORS) \
|
||||
builtin_define ("__mips_loongson_vector_rev"); \
|
||||
|
Loading…
Reference in New Issue
Block a user