* PATCH: Remove unused crt targets
@ 2007-07-13 21:05 H.J. Lu
2007-07-27 3:35 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2007-07-13 21:05 UTC (permalink / raw)
To: gcc-patches
ia64 crt*.o targets have been moved to libgcc/config/ia64/t-ia64.
Those in config/ia64/t-ia64 aren't used anymore. Make complains:
Makefile:1639: warning: overriding commands for target
`disablecrtbegin.o'
Makefile:1645: warning: overriding commands for target
`disablecrtend.o'
Makefile:1652: warning: overriding commands for target
`disablecrtbeginS.o'
Makefile:1658: warning: overriding commands for target
`disablecrtendS.o'
This patch removes those unused crt targets. Tested on Linux/ia64.
OK to install?
H.J.
----
2007-07-13 H.J. Lu <hongjiu.lu@intel.com>
* config/ia64/t-ia64 ($(T)crtbegin.o): Removed.
($(T)crtend.o): Likwise.
($(T)crtbeginS.o): Likwise.
($(T)crtendS.o): Likwise.
($(T)crtfastmath.o): Likwise.
--- gcc/config/ia64/t-ia64.dup 2007-01-06 07:57:39.000000000 -0800
+++ gcc/config/ia64/t-ia64 2007-07-13 13:37:22.000000000 -0700
@@ -23,24 +23,6 @@ SHLIB_MAPFILES += $(srcdir)/config/ia64/
# Effectively disable the crtbegin/end rules using crtstuff.c
T = disable
-# Assemble startup files.
-$(T)crtbegin.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
- $(GCC_FOR_TARGET) -I. -c -o $(T)crtbegin.o -x assembler-with-cpp \
- $(srcdir)/config/ia64/crtbegin.asm
-$(T)crtend.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
- $(GCC_FOR_TARGET) -I. -c -o $(T)crtend.o -x assembler-with-cpp \
- $(srcdir)/config/ia64/crtend.asm
-$(T)crtbeginS.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
- $(GCC_FOR_TARGET) -I. -DSHARED -c -o $(T)crtbeginS.o \
- -x assembler-with-cpp \
- $(srcdir)/config/ia64/crtbegin.asm
-$(T)crtendS.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
- $(GCC_FOR_TARGET) -I. -DSHARED -c -o $(T)crtendS.o -x assembler-with-cpp \
- $(srcdir)/config/ia64/crtend.asm
-$(T)crtfastmath.o: $(srcdir)/config/ia64/crtfastmath.c $(GCC_PASSES)
- $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o $(T)crtfastmath.o \
- $(srcdir)/config/ia64/crtfastmath.c
-
LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c \
$(srcdir)/unwind-c.c
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: Remove unused crt targets
2007-07-13 21:05 PATCH: Remove unused crt targets H.J. Lu
@ 2007-07-27 3:35 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2007-07-27 3:35 UTC (permalink / raw)
To: H.J. Lu; +Cc: gcc-patches
"H.J. Lu" <hjl@lucon.org> writes:
> 2007-07-13 H.J. Lu <hongjiu.lu@intel.com>
>
> * config/ia64/t-ia64 ($(T)crtbegin.o): Removed.
> ($(T)crtend.o): Likwise.
> ($(T)crtbeginS.o): Likwise.
> ($(T)crtendS.o): Likwise.
> ($(T)crtfastmath.o): Likwise.
This is OK.
Thanks.
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-27 0:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-13 21:05 PATCH: Remove unused crt targets H.J. Lu
2007-07-27 3:35 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).