Commit 8785c60a by Martin Husemann Committed by Richard Sandiford

netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32 for -mabi=32.

gcc/
2014-04-01  Martin Husemann  <martin@duskware.de>

	* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32
	for -mabi=32.

From-SVN: r208985
parent 3343cf6a
2014-04-01 Martin Husemann <martin@duskware.de>
* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32
for -mabi=32.
2014-04-01 Richard Sandiford <rdsandiford@googlemail.com> 2014-04-01 Richard Sandiford <rdsandiford@googlemail.com>
PR rtl-optimization/60604 PR rtl-optimization/60604
......
...@@ -32,7 +32,9 @@ along with GCC; see the file COPYING3. If not see ...@@ -32,7 +32,9 @@ along with GCC; see the file COPYING3. If not see
if (TARGET_ABICALLS) \ if (TARGET_ABICALLS) \
builtin_define ("__ABICALLS__"); \ builtin_define ("__ABICALLS__"); \
\ \
if (mips_abi == ABI_EABI) \ if (mips_abi == ABI_32) \
builtin_define ("__mips_o32"); \
else if (mips_abi == ABI_EABI) \
builtin_define ("__mips_eabi"); \ builtin_define ("__mips_eabi"); \
else if (mips_abi == ABI_N32) \ else if (mips_abi == ABI_N32) \
builtin_define ("__mips_n32"); \ builtin_define ("__mips_n32"); \
......
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