[PATCH] Fix thumb calls via PLT on ARM/SymbianOS
Ian Lance Taylor
ian@airs.com
Wed Mar 16 16:42:00 GMT 2005
Julian Brown <julian@codesourcery.com> writes:
> Would it be better to add a --target-arch (or something) flag to
> binutils at this point? That would tidy up a previous patch of mine,
> too. I don't know if any other targets have, or need, such an option.
I think the linker should support a command line option to do what
OUTPUT_ARCH does in a linker script. Perhaps the thing to do would be
to redefine the -A/--architecture option, which is only used for the
Intel i960. -A currently affects library search order, which we would
not want for the new option. However, I doubt that anybody uses the
i960 any more, and even if they do, they probably don't use the -A
option.
Ian
More information about the Binutils
mailing list