elf.h (STARTFILE_SPEC): Add "crtlibid%O%s"
* config/bfin/elf.h (STARTFILE_SPEC): Add "crtlibid%O%s" * config/bfin/uclinux.h (STARFILE_SPEC): Likewise. * config/bfin/t-bfin-elf (EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Add crtlibid.o. ($(T)crtlibid.o): New rule. From-SVN: r107138
This commit is contained in:
parent
115a82d3f1
commit
9976dec829
|
@ -1,3 +1,11 @@
|
|||
2005-11-17 Bernd Schmidt <bernd.schmidt@analog.com>
|
||||
|
||||
* config/bfin/elf.h (STARTFILE_SPEC): Add "crtlibid%O%s"
|
||||
* config/bfin/uclinux.h (STARFILE_SPEC): Likewise.
|
||||
* config/bfin/t-bfin-elf (EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Add
|
||||
crtlibid.o.
|
||||
($(T)crtlibid.o): New rule.
|
||||
|
||||
2005-11-16 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/24851
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
sprintf (LABEL, "*%s%s$%d", LOCAL_LABEL_PREFIX, PREFIX, (int) NUM)
|
||||
|
||||
#undef STARTFILE_SPEC
|
||||
#define STARTFILE_SPEC "crt0%O%s crti%O%s crtbegin%O%s"
|
||||
#define STARTFILE_SPEC "crt0%O%s crti%O%s crtbegin%O%s crtlibid%O%s"
|
||||
|
||||
#undef ENDFILE_SPEC
|
||||
#define ENDFILE_SPEC "crtend%O%s crtn%O%s"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
LIB1ASMSRC = bfin/lib1funcs.asm
|
||||
LIB1ASMFUNCS = _divsi3 _udivsi3 _umodsi3 _modsi3
|
||||
|
||||
EXTRA_PARTS = crtbegin.o crtend.o crti.o crtn.o
|
||||
EXTRA_PARTS = crtbegin.o crtend.o crti.o crtn.o crtlibid.o
|
||||
|
||||
FPBIT = fp-bit.c
|
||||
DPBIT = dp-bit.c
|
||||
|
@ -33,4 +33,9 @@ $(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
|
||||
$(T)crtlibid.o: $(srcdir)/config/bfin/crtlibid.s $(GCC_PASSES)
|
||||
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
|
||||
-c -o $(T)crtlibid.o -x assembler-with-cpp \
|
||||
$(srcdir)/config/bfin/crtlibid.s
|
||||
|
||||
EXTRA_MULTILIB_PARTS= crtbegin.o crtend.o crti.o crtn.o crtlibid.o
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#undef STARTFILE_SPEC
|
||||
#define STARTFILE_SPEC \
|
||||
"crt1%O%s crti%O%s crtbegin%O%s"
|
||||
"crt1%O%s crti%O%s crtbegin%O%s crtlibid%O%s"
|
||||
|
||||
#undef ENDFILE_SPEC
|
||||
#define ENDFILE_SPEC \
|
||||
|
|
Loading…
Reference in New Issue