This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] aix: ignore -bbigtoc linker switch


Tristan Gingold <gingold@adacore.com> writes:
> config/mh-ppc-aix has the following lines:
>
> BOOT_LDFLAGS = -Wl,-bbigtoc
> LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;`
>
> Unfortunately, gnu-ld doesn't support -bbigtoc at all.  The following patch makes ld silently ignore it, and thus can be
> used to build binutils.

Yeah, I'd hit this too, and TBH was just commenting out the mh-ppc-aix
lines.  I was hoping to look at a "real" implementation at some point,
but time as always got the better of me.  I agree your patch is the
best thing for now.

> Ok for trunk ?
>
> Tristan.
>
> ld/
> 2011-04-18  Tristan Gingold  <gingold@adacore.com>
>
> 	* emultempl/aix.em (_add_options): Ignore -bbigtoc switch.

OK, thanks.  I think it should go on the branch too.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]