Patchwork Committed: fix cris-elf fallout from libgcc move

login
register
mail settings
Submitter Hans-Peter Nilsson
Date Nov. 3, 2011, 9:16 p.m.
Message ID <201111032116.pA3LGfju028464@ignucius.se.axis.com>
Download mbox | patch
Permalink /patch/123508/
State New
Headers show

Comments

Hans-Peter Nilsson - Nov. 3, 2011, 9:16 p.m.
Committed after testing cross to cris-elf and crisv32-elf; for
the former back to the two regressions before the recent libgcc
move.

Ironically, the *reference* in the quoted failure:
> complex-1.c:(.text+0x9e): undefined reference to `__nesf2'
should not have been there in the first place, as there's a
negsf2 pattern (which by itself is of questionable value).  I'll
add PR's for this and some other issues found when checking
crisv32-elf.

libgcc:
	* config.host (crisv32-*-none, cris-*-none): Remove.
	(crisv32-*-elf): Append to tmake_file, don't just set it.
	(cris-*-elf): Add missing t-fdpbit to tmake_file.



brgds, H-P

Patch

Index: libgcc/config.host
===================================================================
--- libgcc/config.host	(revision 180823)
+++ libgcc/config.host	(working copy)
@@ -425,18 +425,10 @@  bfin*-*)
 	extra_parts="crtbegin.o crtend.o crti.o crtn.o"
         ;;
 crisv32-*-elf)
-	tmake_file="cris/t-cris t-fdpbit"
+	tmake_file="$tmake_file cris/t-cris t-fdpbit"
  	;;
-crisv32-*-none)
-	tmake_file="cris/t-cris t-fdpbit"
-	extra_parts="crtbegin.o crtend.o"
-	;;
 cris-*-elf)
-	tmake_file="$tmake_file cris/t-cris cris/t-elfmulti"
-	;;
-cris-*-none)
-	tmake_file="$tmake_file cris/t-cris cris/t-elfmulti"
- 	extra_parts="crtbegin.o crtend.o"
+	tmake_file="$tmake_file cris/t-cris t-fdpbit cris/t-elfmulti"
 	;;
 cris-*-linux* | crisv32-*-linux*)
 	tmake_file="$tmake_file cris/t-cris t-fdpbit cris/t-linux"