public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Include all emulations in x86_64-*-solaris2 ld
@ 2011-10-31 11:52 Rainer Orth
  2011-11-01 16:06 ` Nick Clifton
  0 siblings, 1 reply; 4+ messages in thread
From: Rainer Orth @ 2011-10-31 11:52 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

Starting with version 4.7, GCC will gain a 64-bit-default configuration
for Solaris/x86.  I noticed a minor problem with current binutils
support for Solaris/x86: only the 32-bit linker scripts are compiled in,
so a standalone gld binary is useless in that configuration.  The
following trivial patch fixes this and has been used for gcc bootstraps
in that configuration.

It would be quite helpful if the patch could also be included in the
2.22 branch so by the time gcc 4.7 is released, a corresponding binutils
release that works seamlessly.

Thanks.

	Rainer


2011-07-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for
	targ_extra_libpath.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: solx86-amd64-ld-emul.patch --]
[-- Type: text/x-patch, Size: 527 bytes --]

diff --git a/ld/configure.tgt b/ld/configure.tgt
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -203,7 +203,7 @@ i[3-7]86-*-solaris2*)	targ_emul=elf_i386
 x86_64-*-solaris2*)
 			targ_emul=elf_x86_64_sol2
 			targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_l1om elf_k1om"
-			targ_extra_libpath=elf_i386
+			targ_extra_libpath=$targ_extra_emuls
 			tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;;
 i[3-7]86-*-unixware)	targ_emul=elf_i386 ;;
 i[3-7]86-*-solaris*)	targ_emul=elf_i386_ldso

[-- Attachment #3: Type: text/plain, Size: 144 bytes --]



-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Include all emulations in x86_64-*-solaris2 ld
  2011-10-31 11:52 Include all emulations in x86_64-*-solaris2 ld Rainer Orth
@ 2011-11-01 16:06 ` Nick Clifton
  2011-11-02 15:30   ` Rainer Orth
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Clifton @ 2011-11-01 16:06 UTC (permalink / raw)
  To: Rainer Orth; +Cc: binutils

Hi Rainer,

> 2011-07-09  Rainer Orth<ro@CeBiTec.Uni-Bielefeld.DE>
>
> 	* configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for
> 	targ_extra_libpath.

Approved for mainline - ping Tristan for the branch.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Include all emulations in x86_64-*-solaris2 ld
  2011-11-01 16:06 ` Nick Clifton
@ 2011-11-02 15:30   ` Rainer Orth
  2011-11-02 15:45     ` Tristan Gingold
  0 siblings, 1 reply; 4+ messages in thread
From: Rainer Orth @ 2011-11-02 15:30 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils, Tristan Gingold

Hi Nick,

>> 2011-07-09  Rainer Orth<ro@CeBiTec.Uni-Bielefeld.DE>
>>
>> 	* configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for
>> 	targ_extra_libpath.
>
> Approved for mainline - ping Tristan for the branch.

Thanks, installed.

Tristan, are you ok with the patch for the 2.22 branch, too?

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Include all emulations in x86_64-*-solaris2 ld
  2011-11-02 15:30   ` Rainer Orth
@ 2011-11-02 15:45     ` Tristan Gingold
  0 siblings, 0 replies; 4+ messages in thread
From: Tristan Gingold @ 2011-11-02 15:45 UTC (permalink / raw)
  To: Rainer Orth; +Cc: Nick Clifton, binutils


On Nov 2, 2011, at 4:30 PM, Rainer Orth wrote:

> Hi Nick,
> 
>>> 2011-07-09  Rainer Orth<ro@CeBiTec.Uni-Bielefeld.DE>
>>> 
>>> 	* configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for
>>> 	targ_extra_libpath.
>> 
>> Approved for mainline - ping Tristan for the branch.
> 
> Thanks, installed.
> 
> Tristan, are you ok with the patch for the 2.22 branch, too?

Ok.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-02 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-31 11:52 Include all emulations in x86_64-*-solaris2 ld Rainer Orth
2011-11-01 16:06 ` Nick Clifton
2011-11-02 15:30   ` Rainer Orth
2011-11-02 15:45     ` Tristan Gingold

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).