[PATCH] Fix thumb calls via PLT on ARM/SymbianOS

Ian Lance Taylor ian@airs.com
Wed Mar 16 22:00:00 GMT 2005


Richard Earnshaw <rearnsha@gcc.gnu.org> writes:

> On Wed, 2005-03-16 at 16:39, Ian Lance Taylor wrote:
> 
> > OUTPUT_ARCH lets you specify an architecture.  For ARM, this will be
> > one of the entries found in arch_info_struct in bfd/cpu-arm.c.  Of
> > course that list can be adjusted.
> > 
> 
> The current attributes proposal for the ABI lists 27 separate
> attributes, giving rise to a theoretical 10^14 possible variants.  In
> practice the number of realistic variants is much smaller than this, but
> it's still much larger than can be listed explicitly in an arch_info
> struct.

I guess I misunderstood the issue.  I didn't realize that it was
necessary to support a set of different attributes.  I guess I don't
understand why -march was brought up---march in gcc doesn't take a set
of attributes.

Of course a set of attributes could be done in BFD by using the
machine number as a bitfield, but that is probably not the way to go.
The general usage in BFD architecture usage is to focus on existing
processors, and sometimes to add nonexistent intermediate processors
for convenience (e.g., bfd/cpu-sh.c).

Ian



More information about the Binutils mailing list