[patch][rfc] Complex Relocations gas and bfd

Frank Ch. Eigler fche@redhat.com
Tue Jan 30 20:28:00 GMT 2007


Dave Brolley <brolley@redhat.com> writes:

> [...]
> > Another way might be to create a new "generic" target which uses
> > the complex relocations but which does not represent a real
> > architecture.  (This target might also be used as a template for
> > creating new target ports).
>
> How does this improve upon the existence of a real target (MeP) [...]

It may make sense for a future real port to use the complex relocation
mechanism for *all* of its operands/relocations, eliminating much more
of the related hand-written stuff in gas/bfd/ld.  At the cost of
slower (but improveable) assembler/linker performance, it could reduce
binutils porting difficulty.

- FChE



More information about the Binutils mailing list