summaryrefslogtreecommitdiff
path: root/gcc/config/bfin/t-bfin-elf
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-16 13:20:06 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-16 13:20:06 +0000
commit11bb91b91ca4a67d3cb2a26161118ae626166f43 (patch)
tree5234c6d769e7112a6c52e85b575489334593043a /gcc/config/bfin/t-bfin-elf
parent282bef7a1784bbeaa0365ee7fc4352b95d286639 (diff)
downloadgcc-11bb91b91ca4a67d3cb2a26161118ae626166f43.tar.gz
* config/bfin/crti.s (__init, __fini): Use appropriate prologue if
__PIC__ is defined. * config/bfin/crtn.s: Change epilogues to match. * config/bfin/t-bfin-elf (EXTRA_MULTILIB_PARTS): Define. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): If flag_pic, define __PIC__ and __pic__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107083 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/bfin/t-bfin-elf')
-rw-r--r--gcc/config/bfin/t-bfin-elf2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/bfin/t-bfin-elf b/gcc/config/bfin/t-bfin-elf
index 928129c4331..aab2a1b7b5a 100644
--- a/gcc/config/bfin/t-bfin-elf
+++ b/gcc/config/bfin/t-bfin-elf
@@ -32,3 +32,5 @@ $(T)crti.o: $(srcdir)/config/bfin/crti.s $(GCC_PASSES)
$(T)crtn.o: $(srcdir)/config/bfin/crtn.s $(GCC_PASSES)
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
-c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/bfin/crtn.s
+
+EXTRA_MULTILIB_PARTS= crtbegin.o crtend.o crti.o crtn.o