Remove abi-*-options compiler flags
authorFlorian Weimer <fweimer@redhat.com>
Mon, 28 Aug 2017 11:47:25 +0000 (13:47 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 28 Aug 2017 15:16:53 +0000 (17:16 +0200)
These options are no longer needed since commit
2dba5ce7b8115d6a2789bf279892263621088e74 (<bits/syscall.h>: Use an
arch-independent system call list on Linux).

ChangeLog
sysdeps/unix/sysv/linux/aarch64/Makefile
sysdeps/unix/sysv/linux/arm/Makefile
sysdeps/unix/sysv/linux/mips/Makefile
sysdeps/unix/sysv/linux/powerpc/Makefile
sysdeps/unix/sysv/linux/s390/Makefile
sysdeps/unix/sysv/linux/sparc/Makefile
sysdeps/unix/sysv/linux/tile/tilegx/Makefile
sysdeps/unix/sysv/linux/x86/Makefile

index 2fae663af59ec157bc8f6dfed658a66a24615f07..5d7c8cace19b25540fa4be02a59e5f233fdc2419 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2017-08-28  Florian Weimer  <fweimer@redhat.com>
+
+       * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
+       (abi-lp64_be-options): Remove.
+       * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
+       (abi-hard-options): Likewise.
+       * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
+       (abi-o32_hard-options, abi-o32_soft_2008-options)
+       (abi-o32_hard_2008-options, abi-n32_soft-options)
+       (abi-n32_hard-options, abi-n32_soft_2008-options)
+       (abi-n32_hard_2008-options, abi-n64_soft-options)
+       (abi-n64_hard-options, abi-n64_soft_2008-options)
+       (abi-n64_hard_2008-options): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
+       (abi-64-v1-options, abi-64-v2-options): Likewise.
+       * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
+       (abi-64-options): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
+       (abi-64-options): Likewise.
+       * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
+       (abi-64-options): Likewise.
+       * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
+       (abi-64-options, abi-x32-options): Likewise.
+
 2017-08-28  Florian Weimer  <fweimer@redhat.com>
 
        Store supported list of SYS_* system calls in the source tree.
index 6b4e620896b825cb549a4d621d3ef28fad90eb83..57bbfeaac6a1f08f1faa9fe191dc0980992e4b9a 100644 (file)
@@ -28,8 +28,5 @@ ifeq (,$(filter $(default-abi),$(abi-variants)))
 Unknown ABI, must be one of $(abi-variants)
 endif
 
-abi-lp64-options := -U__AARCH64EB__
 abi-lp64-condition := !defined __AARCH64EB__
-
-abi-lp64_be-options := -D__AARCH64EB__
 abi-lp64_be-condition := defined __AARCH64EB__
index b9b8f7172195e245560118fc166f409e78c6fd6c..4adc35de04aa1e4b0b77c313c7d85864a85c9e98 100644 (file)
@@ -63,7 +63,5 @@ Unknown ABI, must be one of $(abi-variants)
 endif
 
 abi-includes :=
-abi-soft-options := -U__ARM_PCS_VFP
 abi-soft-condition := !defined __ARM_PCS_VFP
-abi-hard-options := -D__ARM_PCS_VFP
 abi-hard-condition := defined __ARM_PCS_VFP
index bca11d39e03cf5285254cc08944f8829a50259ef..8217f42e75e5d31641c182d0123e1fbf6da51a82 100644 (file)
@@ -19,75 +19,39 @@ endif
 abi-includes := sgidefs.h
 
 # _MIPS_SIM_ABI32 == 1, _MIPS_SIM_NABI32 == 2, _MIPS_SIM_ABI64 == 3
-abi-o32_soft-options := -U_MIPS_SIM -D_MIPS_SIM=1 \
-                       -D__mips_soft_float -U__mips_hard_float \
-                       -U__mips_nan2008
 abi-o32_soft-condition := !defined(__mips_nan2008) \
                          && defined(__mips_soft_float) \
                          && (_MIPS_SIM == _MIPS_SIM_ABI32)
-abi-o32_hard-options := -U_MIPS_SIM -D_MIPS_SIM=1 \
-                       -D__mips_hard_float -U__mips_soft_float \
-                       -U__mips_nan2008
 abi-o32_hard-condition := !defined(__mips_nan2008) \
                          && defined(__mips_hard_float) \
                          && (_MIPS_SIM == _MIPS_SIM_ABI32)
-abi-o32_soft_2008-options := -U_MIPS_SIM -D_MIPS_SIM=1 \
-                            -D__mips_soft_float -U__mips_hard_float \
-                            -D__mips_nan2008
 abi-o32_soft_2008-condition := defined(__mips_nan2008) \
                               && defined(__mips_soft_float) \
                               && (_MIPS_SIM == _MIPS_SIM_ABI32)
-abi-o32_hard_2008-options := -U_MIPS_SIM -D_MIPS_SIM=1 \
-                            -D__mips_hard_float -U__mips_soft_float \
-                            -D__mips_nan2008
 abi-o32_hard_2008-condition := defined(__mips_nan2008) \
                               && defined(__mips_hard_float) \
                               && (_MIPS_SIM == _MIPS_SIM_ABI32)
-abi-n32_soft-options := -U_MIPS_SIM -D_MIPS_SIM=2 \
-                       -D__mips_soft_float -U__mips_hard_float \
-                       -U__mips_nan2008
 abi-n32_soft-condition := !defined(__mips_nan2008) \
                          && defined(__mips_soft_float) \
                          && (_MIPS_SIM == _MIPS_SIM_NABI32)
-abi-n32_hard-options := -U_MIPS_SIM -D_MIPS_SIM=2 \
-                       -D__mips_hard_float -U__mips_soft_float \
-                       -U__mips_nan2008
 abi-n32_hard-condition := !defined(__mips_nan2008) \
                          && defined(__mips_hard_float) \
                          && (_MIPS_SIM == _MIPS_SIM_NABI32)
-abi-n32_soft_2008-options := -U_MIPS_SIM -D_MIPS_SIM=2 \
-                            -D__mips_soft_float -U__mips_hard_float \
-                            -D__mips_nan2008
 abi-n32_soft_2008-condition := defined(__mips_nan2008) \
                               && defined(__mips_soft_float) \
                               && (_MIPS_SIM == _MIPS_SIM_NABI32)
-abi-n32_hard_2008-options := -U_MIPS_SIM -D_MIPS_SIM=2 \
-                            -D__mips_hard_float -U__mips_soft_float \
-                            -D__mips_nan2008
 abi-n32_hard_2008-condition := defined(__mips_nan2008) \
                               && defined(__mips_hard_float) \
                               && (_MIPS_SIM == _MIPS_SIM_NABI32)
-abi-n64_soft-options := -U_MIPS_SIM -D_MIPS_SIM=3 \
-                       -D__mips_soft_float -U__mips_hard_float \
-                       -U__mips_nan2008
 abi-n64_soft-condition := !defined(__mips_nan2008) \
                          && defined(__mips_soft_float) \
                          && (_MIPS_SIM == _MIPS_SIM_ABI64)
-abi-n64_hard-options := -U_MIPS_SIM -D_MIPS_SIM=3 \
-                       -D__mips_hard_float -U__mips_soft_float \
-                       -U__mips_nan2008
 abi-n64_hard-condition := !defined(__mips_nan2008) \
                          && defined(__mips_hard_float) \
                          && (_MIPS_SIM == _MIPS_SIM_ABI64)
-abi-n64_soft_2008-options := -U_MIPS_SIM -D_MIPS_SIM=3 \
-                            -D__mips_soft_float -U__mips_hard_float \
-                            -D__mips_nan2008
 abi-n64_soft_2008-condition := defined(__mips_nan2008) \
                               && defined(__mips_soft_float) \
                               && (_MIPS_SIM == _MIPS_SIM_ABI64)
-abi-n64_hard_2008-options := -U_MIPS_SIM -D_MIPS_SIM=3 \
-                            -D__mips_hard_float -U__mips_soft_float \
-                            -D__mips_nan2008
 abi-n64_hard_2008-condition := defined(__mips_nan2008) \
                               && defined(__mips_hard_float) \
                               && (_MIPS_SIM == _MIPS_SIM_ABI64)
index c16172c67799a6fd937d16e313215a40cf257c70..19ac59d8620bcec050b7b886e09edccbb2baca93 100644 (file)
@@ -1,9 +1,6 @@
 abi-variants := 32 64-v1 64-v2
-abi-32-options := -U__powerpc64__
 abi-32-condition := __WORDSIZE == 32
-abi-64-v1-options := -D__powerpc64__ -U_CALL_ELF -D_CALL_ELF=1
 abi-64-v1-condition := __WORDSIZE == 64 && _CALL_ELF != 2
-abi-64-v2-options := -D__powerpc64__ -U_CALL_ELF -D_CALL_ELF=2
 abi-64-v2-condition := __WORDSIZE == 64 && _CALL_ELF == 2
 
 ifeq ($(subdir),rt)
index f30a6bb1f6ba9dd2f6a6099d2fe13de5e97a0236..c5f544d13941adc89efcd571bd95c3dd5ec9852a 100644 (file)
@@ -1,7 +1,5 @@
 abi-variants := 32 64
-abi-32-options := -U__s390x__
 abi-32-condition := __WORDSIZE == 32
-abi-64-options := -D__s390x__
 abi-64-condition := __WORDSIZE == 64
 
 ifeq ($(subdir),rt)
index a67d199eb5d7705921691dd88f4ca7ee31aa6fdd..b0d182a439ed6dc051603a8768107f265c33569e 100644 (file)
@@ -1,7 +1,5 @@
 abi-variants := 32 64
-abi-32-options := -U__sparc_v9__ -U__arch64__
 abi-32-condition := __WORDSIZE == 32
-abi-64-options := -D__sparc_v9__ -D__arch64__
 abi-64-condition := __WORDSIZE == 64
 
 ifeq ($(subdir),rt)
index 4f101f334aab5d015c86636885f042f81f9f5e89..62a5be662a735affbde2d302bb9afa1b571bc8a4 100644 (file)
@@ -1,6 +1,4 @@
 # Provide biarch definitions.
 abi-variants := 64 32
-abi-64-options := -D__LP64__
 abi-64-condition := __WORDSIZE == 64
-abi-32-options := -U__LP64__
 abi-32-condition := __WORDSIZE == 32
index 9e6ec44b3ae10e8d6e876a4d3ffa189287eb2bfa..c069570683baa6c7dc51a0985fa2693120af5909 100644 (file)
@@ -3,11 +3,8 @@ abi-includes :=
 
 abi-variants := 32 64 x32
 
-abi-32-options := -D__i386__ -U__x86_64__
 abi-32-condition := !defined __x86_64__
-abi-64-options := -U__i386__ -D__x86_64__ -U__ILP32__ -D__LP64__
 abi-64-condition := defined __x86_64__ && defined __LP64__
-abi-x32-options := -U__i386__ -D__x86_64__ -D__ILP32__ -U__LP64__
 abi-x32-condition := defined __x86_64__ && defined __ILP32__
 
 ifeq ($(subdir),misc)