Move MIPS ABI settings out of conditional.

This commit is contained in:
Joseph Myers 2012-05-30 23:44:17 +00:00
parent dbdf1bdc1f
commit fd5beba75e
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2012-05-30 Joseph Myers <joseph@codesourcery.com> 2012-05-30 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/Makefile [subdir = misc]: Move ABI
settings out of conditional.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove
__connect_internal alias. __connect_internal alias.

View File

@ -6,6 +6,7 @@ ifeq ($(subdir),misc)
sysdep_routines += cachectl cacheflush sysmips _test_and_set sysdep_routines += cachectl cacheflush sysmips _test_and_set
sysdep_headers += sys/cachectl.h sys/sysmips.h sys/tas.h sysdep_headers += sys/cachectl.h sys/sysmips.h sys/tas.h
endif
# _MIPS_SIM_ABI32 == 1, _MIPS_SIM_ABIN32 == 2, _MIPS_SIM_ABI64 == 3 # _MIPS_SIM_ABI32 == 1, _MIPS_SIM_ABIN32 == 2, _MIPS_SIM_ABI64 == 3
abi-variants := o32 n32 n64 abi-variants := o32 n32 n64
@ -16,7 +17,6 @@ abi-n32-options := -D_MIPS_SIM=2
abi-n32-condition := _MIPS_SIM == _MIPS_SIM_ABIN32 abi-n32-condition := _MIPS_SIM == _MIPS_SIM_ABIN32
abi-n64-options := -D_MIPS_SIM=3 abi-n64-options := -D_MIPS_SIM=3
abi-n64-condition := _MIPS_SIM == _MIPS_SIM_ABI64 abi-n64-condition := _MIPS_SIM == _MIPS_SIM_ABI64
endif
ifeq ($(subdir),elf) ifeq ($(subdir),elf)
ifeq ($(build-shared),yes) ifeq ($(build-shared),yes)