Patchwork [build] Move unwinder to toplevel libgcc (v2)

login
register
mail settings
Submitter Andreas Schwab
Date Aug. 9, 2011, 2:27 p.m.
Message ID <m3pqkevewd.fsf@hase.home>
Download mbox | patch
Permalink /patch/109226/
State New
Headers show

Comments

Andreas Schwab - Aug. 9, 2011, 2:27 p.m.
The definition of LIB2ADDEH from ia64/t-glibc is supposed to prevail.
I've verified that the resulting libgcc_s.so aggrees with the one
produced by the 4.6 branch.  Checked in as obvious.

Andreas.

2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>

	* config.host (ia64*-*-linux*): Move ia64/t-glibc after
	t-libunwind.
Rainer Orth - Aug. 9, 2011, 2:32 p.m.
Andreas,

> The definition of LIB2ADDEH from ia64/t-glibc is supposed to prevail.
> I've verified that the resulting libgcc_s.so aggrees with the one
> produced by the 4.6 branch.  Checked in as obvious.

in that case, ia64/t-eh-ia64 should be removed since it's overridden
completely and only serves to confuse.

Thanks.
        Rainer

Patch

diff --git a/libgcc/config.host b/libgcc/config.host
index d35ee3a..9972bf0 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -472,7 +472,7 @@  ia64*-*-freebsd*)
 	;;
 ia64*-*-linux*)
 	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
-	tmake_file="ia64/t-ia64 t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat ia64/t-glibc ia64/t-eh-ia64 t-libunwind"
+	tmake_file="ia64/t-ia64 t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat ia64/t-eh-ia64 t-libunwind ia64/t-glibc"
 	if test x$with_system_libunwind != xyes ; then
 		tmake_file="${tmake_file} t-libunwind-elf ia64/t-glibc-libunwind"
 	fi