diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | linuxthreads/ChangeLog | 3 | ||||
-rw-r--r-- | linuxthreads/sysdeps/m68k/Makefile | 7 | ||||
-rw-r--r-- | sysdeps/m68k/Makefile | 8 |
4 files changed, 16 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog index f89080d2a7..7305623933 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-01-05 Andreas Schwab <schwab@suse.de> + + * sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC. + 2003-01-05 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index ebf9b56285..e4b4ae25cf 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,5 +1,8 @@ 2003-01-05 Andreas Schwab <schwab@suse.de> + * sysdeps/m68k/Makefile: New file, use -fPIC for nonshared + objects. + * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (SINGLE_THREAD_P): Fix for PIC. (CENABLE): Likewise. diff --git a/linuxthreads/sysdeps/m68k/Makefile b/linuxthreads/sysdeps/m68k/Makefile new file mode 100644 index 0000000000..1cd27d44ca --- /dev/null +++ b/linuxthreads/sysdeps/m68k/Makefile @@ -0,0 +1,7 @@ +ifeq ($(subdir), linuxthreads) +object-suffixes-left := $(libpthread-nonshared) +define o-iterator-doit +$(objpfx)$o.os: pic-ccflag = -fPIC +endef +include $(o-iterator) +endif diff --git a/sysdeps/m68k/Makefile b/sysdeps/m68k/Makefile index c44b2d196c..68dc258406 100644 --- a/sysdeps/m68k/Makefile +++ b/sysdeps/m68k/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc. +# Copyright (C) 1993, 1994, 1996, 1997, 2003 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -26,6 +26,7 @@ endif asm-CPPFLAGS += $(m68k-syntax-flag) pic-ccflag = -fpic +CFLAGS-.oS += -fPIC # Make sure setjmp.c is compiled with a frame pointer CFLAGS-setjmp.c := -fno-omit-frame-pointer @@ -36,8 +37,3 @@ long-double-fcts = yes ifeq ($(subdir),elf) CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused endif - -ifeq ($(subdir),math) -# Avoid a bug in gcc -CFLAGS-s_copysignl.c += -mnobitfield -endif |