summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-17 18:01:14 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-17 18:01:14 +0200
commit3f98fdc552249b66cdc03a082ce0b866fe5bf57f (patch)
tree2e3ba7c033db1ae328fd5d56a57fe7978ce809ad
parent0f2a411b685d54113433d45472338a067110c66a (diff)
remove m68k binutils workarounds
With binutils 2.26 for m68k and 2.25.1 for coldfire, these -fPIC workarounds no longer required.
-rw-r--r--test/assert/Makefile.in1
-rw-r--r--test/ctype/Makefile.in1
-rw-r--r--test/inet/Makefile.in4
-rw-r--r--test/locale-mbwc/Makefile.in3
-rw-r--r--test/locale/Makefile.in2
-rw-r--r--test/malloc/Makefile.in2
-rw-r--r--test/misc/Makefile.in6
-rw-r--r--test/regex/Makefile.in2
-rw-r--r--test/setjmp/Makefile.in1
-rw-r--r--test/signal/Makefile.in4
-rw-r--r--test/silly/Makefile.in4
-rw-r--r--test/stdio/Makefile.in2
-rw-r--r--test/stdlib/Makefile.in4
-rw-r--r--test/time/Makefile.in3
-rw-r--r--test/unistd/Makefile.in5
15 files changed, 3 insertions, 41 deletions
diff --git a/test/assert/Makefile.in b/test/assert/Makefile.in
index 3f4fb4dfe..8e3514f4c 100644
--- a/test/assert/Makefile.in
+++ b/test/assert/Makefile.in
@@ -3,4 +3,3 @@
RET_assert := 134
WRAPPER_assert := trap ":" ABRT ;
-CFLAGS_assert := -fPIC
diff --git a/test/ctype/Makefile.in b/test/ctype/Makefile.in
index 041e85176..ee10d592e 100644
--- a/test/ctype/Makefile.in
+++ b/test/ctype/Makefile.in
@@ -2,4 +2,3 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
TESTS := ctype
-CFLAGS_ctype = -fPIC
diff --git a/test/inet/Makefile.in b/test/inet/Makefile.in
index 1cede4761..31a4837ed 100644
--- a/test/inet/Makefile.in
+++ b/test/inet/Makefile.in
@@ -15,7 +15,3 @@ TESTS_DISABLED += tst-res
else
LDFLAGS_tst-res_glibc := -lresolv # assume it's glibc or somebody with that lib
endif
-
-CFLAGS_bug-if1 = -fPIC
-CFLAGS_tst-sock-nonblock = -fPIC
-CFLAGS_tst-ifaddrs = -fPIC
diff --git a/test/locale-mbwc/Makefile.in b/test/locale-mbwc/Makefile.in
index d6a84f234..6c0d89447 100644
--- a/test/locale-mbwc/Makefile.in
+++ b/test/locale-mbwc/Makefile.in
@@ -27,5 +27,4 @@ endif
DODIFF_rint := 1
-EXTRA_CFLAGS := -D__USE_GNU -fno-builtin -fPIC
-
+EXTRA_CFLAGS := -D__USE_GNU -fno-builtin
diff --git a/test/locale/Makefile.in b/test/locale/Makefile.in
index 806ea2866..5a57ca54d 100644
--- a/test/locale/Makefile.in
+++ b/test/locale/Makefile.in
@@ -26,6 +26,4 @@ OPTS_dump-ctype = C
OPTS_tst-ctype = < tst-ctype-de_DE.ISO-8859-1.in
OPTS_tst-langinfo = < tst-langinfo.input
-CFLAGS_tst-sscanf = -fPIC
-
EXTRA_DIRS := C
diff --git a/test/malloc/Makefile.in b/test/malloc/Makefile.in
index 9e7cac9f0..875a849e6 100644
--- a/test/malloc/Makefile.in
+++ b/test/malloc/Makefile.in
@@ -14,5 +14,3 @@ endif
ifneq ($(MALLOC_STANDARD),y)
TESTS_DISABLED += tst-asprintf
endif
-
-CFLAGS_tst-mallocfork = -fPIC
diff --git a/test/misc/Makefile.in b/test/misc/Makefile.in
index a15ff97d6..7d7bb1048 100644
--- a/test/misc/Makefile.in
+++ b/test/misc/Makefile.in
@@ -40,9 +40,3 @@ OPTS_tst-fnmatch := < tst-fnmatch.input
MNTENTS = / /sys /proc /dev
OPTS_tst-statfs := $(MNTENTS)
OPTS_tst-statvfs := $(MNTENTS)
-
-CFLAGS_bug-glob2 = -fPIC
-CFLAGS_opendir-tst1 = -fPIC
-CFLAGS_tst-inotify = -fPIC
-CFLAGS_tst-utmp = -fPIC
-CFLAGS_tst-utmpx = -fPIC
diff --git a/test/regex/Makefile.in b/test/regex/Makefile.in
index ef1e3034f..a6ec4a4ad 100644
--- a/test/regex/Makefile.in
+++ b/test/regex/Makefile.in
@@ -2,5 +2,3 @@
ifeq ($(TARGET_lm32),y)
TESTS_DISABLED := testregex
endif
-
-CFLAGS_tst-regex2 = -fPIC
diff --git a/test/setjmp/Makefile.in b/test/setjmp/Makefile.in
index a5b7b591a..e69de29bb 100644
--- a/test/setjmp/Makefile.in
+++ b/test/setjmp/Makefile.in
@@ -1 +0,0 @@
-CFLAGS_bug269-setjmp = -fPIC
diff --git a/test/signal/Makefile.in b/test/signal/Makefile.in
index 27791a911..c8e2545fa 100644
--- a/test/signal/Makefile.in
+++ b/test/signal/Makefile.in
@@ -4,7 +4,3 @@
ifeq ($(UCLIBC_HAS_OBSOLETE_BSD_SIGNAL),)
TESTS_DISABLED := tst-sigsimple
endif
-
-CFLAGS_tst-signalfd = -fPIC
-CFLAGS_tst-sigset = -fPIC
-CFLAGS_tst-sigsimple = -fPIC
diff --git a/test/silly/Makefile.in b/test/silly/Makefile.in
index c47734414..6092c809f 100644
--- a/test/silly/Makefile.in
+++ b/test/silly/Makefile.in
@@ -20,5 +20,5 @@ atomic_headers := -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH) \
-I$(top_srcdir)libc/sysdeps/linux \
-I$(top_builddir)include
-CFLAGS_tst-atomic = $(atomic_headers) -fPIC
-CFLAGS_tst-atomic-long = $(atomic_headers) -fPIC
+CFLAGS_tst-atomic = $(atomic_headers)
+CFLAGS_tst-atomic-long = $(atomic_headers)
diff --git a/test/stdio/Makefile.in b/test/stdio/Makefile.in
index 3e60b4090..14b5f19b9 100644
--- a/test/stdio/Makefile.in
+++ b/test/stdio/Makefile.in
@@ -6,5 +6,3 @@ DODIFF_64bit := 1
ifeq ($(UCLIBC_HAS_GLIBC_CUSTOM_STREAMS),)
TESTS_DISABLED += tst-fmemopen
endif
-
-CFLAGS_tst-fmemopen = -fPIC
diff --git a/test/stdlib/Makefile.in b/test/stdlib/Makefile.in
index 91dfde412..f39941dc2 100644
--- a/test/stdlib/Makefile.in
+++ b/test/stdlib/Makefile.in
@@ -13,7 +13,3 @@ endif
ifeq ($(UCLIBC_HAS_ARC4RANDOM),)
TESTS_DISABLED += testarc4random
endif
-
-CFLAGS_test-canon = -fPIC
-CFLAGS_test-canon2 = -fPIC
-CFLAGS_testatexit = -fPIC
diff --git a/test/time/Makefile.in b/test/time/Makefile.in
index 8afc013d7..4eeb74161 100644
--- a/test/time/Makefile.in
+++ b/test/time/Makefile.in
@@ -17,9 +17,6 @@ TESTS_DISABLED += tst_wcsftime
endif
CFLAGS_tst-strptime2 := -std=c99
-CFLAGS_tst-ctime = -fPIC
-CFLAGS_tst-futimens1 = -fPIC
-CFLAGS_tst-timerfd = -fPIC
DODIFF_futimens1 := 1
DODIFF_tst_wcsftime := 1
diff --git a/test/unistd/Makefile.in b/test/unistd/Makefile.in
index da59a3689..5b65c13c6 100644
--- a/test/unistd/Makefile.in
+++ b/test/unistd/Makefile.in
@@ -34,11 +34,6 @@ endif
# for embedded systems 4 GB disk space is not available
TESTS_DISABLED += tst-posix_fallocate64 tst-fallocate64
-CFLAGS_tst-fallocate = -fPIC
-CFLAGS_tst-posix_fallocate = -fPIC
-CFLAGS_tst-preadwrite = -fPIC
-CFLAGS_tst-preadwrite64 = -fPIC
-
# getconf.c lives in utils/
# Testsuite cannot currently be built with O= anyway, so hardcode path here
getconf.c: