* sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.
This commit is contained in:
parent
c52a5fb98e
commit
c711d9d22a
|
@ -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>
|
2003-01-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use
|
* sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
2003-01-05 Andreas Schwab <schwab@suse.de>
|
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):
|
* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (SINGLE_THREAD_P):
|
||||||
Fix for PIC.
|
Fix for PIC.
|
||||||
(CENABLE): Likewise.
|
(CENABLE): Likewise.
|
||||||
|
|
|
@ -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
|
|
@ -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.
|
# This file is part of the GNU C Library.
|
||||||
|
|
||||||
# The GNU C Library is free software; you can redistribute it and/or
|
# The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -26,6 +26,7 @@ endif
|
||||||
asm-CPPFLAGS += $(m68k-syntax-flag)
|
asm-CPPFLAGS += $(m68k-syntax-flag)
|
||||||
|
|
||||||
pic-ccflag = -fpic
|
pic-ccflag = -fpic
|
||||||
|
CFLAGS-.oS += -fPIC
|
||||||
|
|
||||||
# Make sure setjmp.c is compiled with a frame pointer
|
# Make sure setjmp.c is compiled with a frame pointer
|
||||||
CFLAGS-setjmp.c := -fno-omit-frame-pointer
|
CFLAGS-setjmp.c := -fno-omit-frame-pointer
|
||||||
|
@ -36,8 +37,3 @@ long-double-fcts = yes
|
||||||
ifeq ($(subdir),elf)
|
ifeq ($(subdir),elf)
|
||||||
CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused
|
CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(subdir),math)
|
|
||||||
# Avoid a bug in gcc
|
|
||||||
CFLAGS-s_copysignl.c += -mnobitfield
|
|
||||||
endif
|
|
||||||
|
|
Loading…
Reference in New Issue