Patchwork CFT: [build] Move crtstuff support to toplevel libgcc

login
register
mail settings
Submitter Andreas Schwab
Date Nov. 3, 2011, 9:57 a.m.
Message ID <m3wrbhmst6.fsf@hase.home>
Download mbox | patch
Permalink /patch/123427/
State New
Headers show

Comments

Andreas Schwab - Nov. 3, 2011, 9:57 a.m.
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:

> diff --git a/libgcc/config/ia64/t-ia64 b/libgcc/config/ia64/t-ia64
> --- a/libgcc/config/ia64/t-ia64
> +++ b/libgcc/config/ia64/t-ia64
> @@ -1,17 +1,15 @@
>  CUSTOM_CRTSTUFF = yes
>  
>  # Assemble startup files.
> -crtbegin.o: $(gcc_srcdir)/config/ia64/crtbegin.asm
> +# FIXME: -I$(gcc_objdir) is necessary to find auto-host.h.  Really?
> +crtbegin.o: $(srcdir)/config/ia64/crtbegin.S
> +	$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $<
> +crtend.o: $(srcdir)/config/ia64/crtend.S
> +	$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $<
> +crtbeginS.o: $(srcdir)/config/ia64/crtbegin.S
> +	$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \			-o $@ -DSHARED $<

2011-11-03  Andreas Schwab  <schwab@redhat.com>

	* config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.

Patch

diff --git a/libgcc/config/ia64/t-ia64 b/libgcc/config/ia64/t-ia64
index 93f38da..d1ec353 100644
--- a/libgcc/config/ia64/t-ia64
+++ b/libgcc/config/ia64/t-ia64
@@ -27,7 +27,8 @@  crtbegin.o: $(srcdir)/config/ia64/crtbegin.S
 crtend.o: $(srcdir)/config/ia64/crtend.S
 	$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $<
 crtbeginS.o: $(srcdir)/config/ia64/crtbegin.S
-	$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \			-o $@ -DSHARED $<
+	$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \
+		-o $@ -DSHARED $<
 crtendS.o: $(srcdir)/config/ia64/crtend.S
 	$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \
 		-o $@ -DSHARED $<