* [PATCH] Fix ld/configure.host on sparc64-sun-solaris2*
@ 2005-01-05 9:18 Eric Botcazou
2005-01-06 12:50 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Eric Botcazou @ 2005-01-05 9:18 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
Hi,
HOSTING_CRT0 is wrong, it should reference /usr/ccs/lib/sparcv9/values-Xa.o
instead of /usr/ccs/lib/values-Xa.o.
Tested on sparc64-sun-solaris2.9 and sparc-sun-solaris2.8. It fixes
FAIL: bootstrap
FAIL: bootstrap with strip
FAIL: bootstrap with --traditional-format
FAIL: bootstrap with --no-keep-memory
FAIL: bootstrap with --relax
in the former testsuite.
2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
* configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
(sparc64-sun-solaris2*): New host.
--
Eric Botcazou
[-- Attachment #2: ld_configure_host.diff --]
[-- Type: text/x-diff, Size: 1736 bytes --]
Index: configure.host
===================================================================
RCS file: /cvs/src/src/ld/configure.host,v
retrieving revision 1.34.6.1
diff -u -r1.34.6.1 configure.host
--- configure.host 11 Apr 2004 04:05:45 -0000 1.34.6.1
+++ configure.host 5 Jan 2005 09:04:19 -0000
@@ -214,11 +214,16 @@
HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`egrep.*\"\\\`,/lib/ld.so.1,"`
;;
-sparc*-*-solaris2*)
+sparc-*-solaris2*)
HOSTING_CRT0='`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else ${CC} -print-file-name=crt1.o; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else ${CC} -print-file-name=crti.o; fi` /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} -print-file-name=crtbegin.o; fi`'
HOSTING_LIBS="$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else ${CC} -print-file-name=crtn.o; fi`'
;;
+sparc64-*-solaris2* | sparcv9-*-solaris2*)
+ HOSTING_CRT0='`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else ${CC} -print-file-name=crt1.o; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else ${CC} -print-file-name=crti.o; fi` /usr/ccs/lib/sparcv9/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} -print-file-name=crtbegin.o; fi`'
+ HOSTING_LIBS="$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else ${CC} -print-file-name=crtn.o; fi`'
+ ;;
+
sparc-*-linux-gnu*)
HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`egrep.*\"\\\`,/lib/ld-linux.so.2,"`
;;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix ld/configure.host on sparc64-sun-solaris2*
2005-01-05 9:18 [PATCH] Fix ld/configure.host on sparc64-sun-solaris2* Eric Botcazou
@ 2005-01-06 12:50 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2005-01-06 12:50 UTC (permalink / raw)
To: Eric Botcazou; +Cc: binutils
Hi Eric,
> 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
>
> * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
> (sparc64-sun-solaris2*): New host.
Approved - please apply.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-06 12:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-05 9:18 [PATCH] Fix ld/configure.host on sparc64-sun-solaris2* Eric Botcazou
2005-01-06 12:50 ` Nick Clifton
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).