aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.mips13
-rw-r--r--sysdeps/unix/sysv/linux/mips/Makefile16
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips32/Makefile1
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile1
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile1
5 files changed, 24 insertions, 8 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index d0585892bd..7d07aa608a 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,5 +1,18 @@
2012-05-30 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants):
+ Rename to abi-variants.
+ (syscall-list-includes): Rename to abi-includes.
+ (syscall-list-o32-options): Rename to abi-o32-options.
+ (syscall-list-o32-condition): Rename to abi-o32-condition.
+ (syscall-list-n32-options): Rename to abi-n32-options.
+ (syscall-list-n32-condition): Rename to abi-n32-condition.
+ (syscall-list-n64-options): Rename to abi-n64-options.
+ (syscall-list-n64-condition): Rename to abi-n64-condition.
+ * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
+ * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Likewise.
+ * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Likewise.
+
* sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace
_internal alias by hidden_def.
diff --git a/sysdeps/unix/sysv/linux/mips/Makefile b/sysdeps/unix/sysv/linux/mips/Makefile
index 2aaf63c3e3..fd6e3e0fcf 100644
--- a/sysdeps/unix/sysv/linux/mips/Makefile
+++ b/sysdeps/unix/sysv/linux/mips/Makefile
@@ -8,14 +8,14 @@ sysdep_routines += cachectl cacheflush sysmips _test_and_set
sysdep_headers += sys/cachectl.h sys/sysmips.h sys/tas.h
# _MIPS_SIM_ABI32 == 1, _MIPS_SIM_ABIN32 == 2, _MIPS_SIM_ABI64 == 3
-syscall-list-variants := o32 n32 n64
-syscall-list-includes := sgidefs.h
-syscall-list-o32-options := -D_MIPS_SIM=1
-syscall-list-o32-condition := _MIPS_SIM == _MIPS_SIM_ABI32
-syscall-list-n32-options := -D_MIPS_SIM=2
-syscall-list-n32-condition := _MIPS_SIM == _MIPS_SIM_ABIN32
-syscall-list-n64-options := -D_MIPS_SIM=3
-syscall-list-n64-condition := _MIPS_SIM == _MIPS_SIM_ABI64
+abi-variants := o32 n32 n64
+abi-includes := sgidefs.h
+abi-o32-options := -D_MIPS_SIM=1
+abi-o32-condition := _MIPS_SIM == _MIPS_SIM_ABI32
+abi-n32-options := -D_MIPS_SIM=2
+abi-n32-condition := _MIPS_SIM == _MIPS_SIM_ABIN32
+abi-n64-options := -D_MIPS_SIM=3
+abi-n64-condition := _MIPS_SIM == _MIPS_SIM_ABI64
endif
ifeq ($(subdir),elf)
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/Makefile b/sysdeps/unix/sysv/linux/mips/mips32/Makefile
new file mode 100644
index 0000000000..77e91218a8
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/mips/mips32/Makefile
@@ -0,0 +1 @@
+default-abi := o32
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile b/sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile
new file mode 100644
index 0000000000..2368c40385
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile
@@ -0,0 +1 @@
+default-abi := n32
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile b/sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile
new file mode 100644
index 0000000000..fed17ba64a
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile
@@ -0,0 +1 @@
+default-abi := n64