[PATCH] bfd/ld: handle ABI prefixes in version scripts

Mike Frysinger vapier@gentoo.org
Fri Dec 10 22:04:00 GMT 2010


On Friday, December 10, 2010 05:43:47 Joseph S. Myers wrote:
> On Thu, 9 Dec 2010, Mike Frysinger wrote:
> > > So it would seem you need to coordinate this change in some way with
> > > GCC, if I understand it correctly - possibly making GCC 4.6 for
> > > Blackfin require a new linker and replacing the duplicate version
> > > script with one just defining the two Blackfin-specific symbols.  That
> > > doesn't solve the problem with old GCC and new linkers, though you
> > > could add a configure test to 4.3/4.4/4.5 release branches to reject
> > > new linkers for Blackfin.
> > 
> > are there any examples of binutils version checking that i can look at
> > basing the work on ?
> 
> There are lots of assembler checks that deal with various combinations of
> checking a version number (possibly for a unified tree build) and checking
> for features; see gcc_GAS_CHECK_FEATURE.

seems like gcc_GAS_VERSION_GTE_IFELSE should do what i want.  these checks ok 
to put into gcc/config.gcc ?  that's where all the blackfin-specific logic is 
found currently, but doesnt seem like any other targets run any sort of tests 
in that file -- they seem to be in configure.ac.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20101210/f1bec7b4/attachment.sig>


More information about the Binutils mailing list