m68k: use large PIC model for gcrt1.o

This commit is contained in:
Andreas Schwab 2016-04-27 12:08:38 +02:00
parent 4816d802ff
commit 8a9ea3ccc5
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
* sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2016-04-29 Stephen Gallagher <sgallagh@redhat.com>

View File

@ -26,6 +26,11 @@ asm-CPPFLAGS += $(m68k-syntax-flag)
pic-ccflag = -fpic
ifeq ($(subdir),csu)
# Make sure gcrt1.o uses the large PIC model
CFLAGS-gmon-start.c := -fPIC
endif
ifeq ($(subdir),setjmp)
# Make sure setjmp.c is compiled with a frame pointer
CFLAGS-setjmp.c := -fno-omit-frame-pointer