Re: [PATCH] Support -fuse-ld=bfd and -fuse-ld=gold

2012-11-29 Thread H.J. Lu
On Thu, Nov 29, 2012 at 12:43 AM, Richard Biener wrote: > On Thu, Nov 29, 2012 at 5:18 AM, H.J. Lu wrote: >> From: "H.J. Lu" >> To: gcc-patches@gcc.gnu.org >> Cc: Joseph Myers , Paolo Bonzini >> Bcc: >> Subject: [PATCH] Support -fuse-ld=bfd and -fuse-ld=gold >> Reply-To: >> >> Hi, >> >> Binuti

Re: [PATCH] Support -fuse-ld=bfd and -fuse-ld=gold

2012-11-29 Thread Matthias Klose
Am 29.11.2012 10:10, schrieb Markus Trippelsdorf: > Additionally, what is the rationale for this patch? IOW why isn't the > following > enough? > > x4 ~ # ln -f /usr/x86_64-pc-linux-gnu/binutils-bin/git/ld.gold > /usr/x86_64-pc-linux-gnu/binutils-bin/git/ld > x4 ~ # ld -v > GNU gold (GNU Binuti

Re: [PATCH] Support -fuse-ld=bfd and -fuse-ld=gold

2012-11-29 Thread Matthias Klose
Am 29.11.2012 09:43, schrieb Richard Biener: > Do we need to consider GNU ld and gold coming from different binutils versions > and thus do we need two sets of linker feature tests at configure > time? both GNU ld and gold are built from the same sources. So it is likely that they come from the sa

Re: [PATCH] Support -fuse-ld=bfd and -fuse-ld=gold

2012-11-29 Thread H.J. Lu
On Thu, Nov 29, 2012 at 1:10 AM, Markus Trippelsdorf wrote: > On 2012.11.29 at 09:43 +0100, Richard Biener wrote: >> On Thu, Nov 29, 2012 at 5:18 AM, H.J. Lu wrote: >> > From: "H.J. Lu" >> > To: gcc-patches@gcc.gnu.org >> > Cc: Joseph Myers , Paolo Bonzini >> > >> > Bcc: >> > Subject: [PATCH]

Re: [PATCH] Support -fuse-ld=bfd and -fuse-ld=gold

2012-11-29 Thread Markus Trippelsdorf
On 2012.11.29 at 09:43 +0100, Richard Biener wrote: > On Thu, Nov 29, 2012 at 5:18 AM, H.J. Lu wrote: > > From: "H.J. Lu" > > To: gcc-patches@gcc.gnu.org > > Cc: Joseph Myers , Paolo Bonzini > > Bcc: > > Subject: [PATCH] Support -fuse-ld=bfd and -fuse-ld=gold > > Reply-To: > > > > Hi, > > > > B

Re: [PATCH] Support -fuse-ld=bfd and -fuse-ld=gold

2012-11-29 Thread Richard Biener
On Thu, Nov 29, 2012 at 5:18 AM, H.J. Lu wrote: > From: "H.J. Lu" > To: gcc-patches@gcc.gnu.org > Cc: Joseph Myers , Paolo Bonzini > Bcc: > Subject: [PATCH] Support -fuse-ld=bfd and -fuse-ld=gold > Reply-To: > > Hi, > > Binutils supports 2 linkers, ld.gold and ld.bfd. One of them is > configur