Browse Source

remove m68k binutils workarounds

With binutils 2.26 for m68k and 2.25.1 for coldfire,
these -fPIC workarounds no longer required.
Waldemar Brodkorb 8 years ago
parent
commit
3f98fdc552

+ 0 - 1
test/assert/Makefile.in

@@ -3,4 +3,3 @@
 
 RET_assert     := 134
 WRAPPER_assert := trap ":" ABRT ;
-CFLAGS_assert := -fPIC

+ 0 - 1
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

+ 0 - 4
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

+ 1 - 2
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

+ 0 - 2
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

+ 0 - 2
test/malloc/Makefile.in

@@ -14,5 +14,3 @@ endif
 ifneq ($(MALLOC_STANDARD),y)
 TESTS_DISABLED += tst-asprintf
 endif
-
-CFLAGS_tst-mallocfork = -fPIC

+ 0 - 6
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

+ 0 - 2
test/regex/Makefile.in

@@ -2,5 +2,3 @@
 ifeq ($(TARGET_lm32),y)
 TESTS_DISABLED := testregex
 endif
-
-CFLAGS_tst-regex2 = -fPIC

+ 0 - 1
test/setjmp/Makefile.in

@@ -1 +0,0 @@
-CFLAGS_bug269-setjmp = -fPIC

+ 0 - 4
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

+ 2 - 2
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)

+ 0 - 2
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

+ 0 - 4
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

+ 0 - 3
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

+ 0 - 5
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: