This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: m68k reloc types
Hi,
On Tue, 17 Aug 2004, Richard Henderson wrote:
> Both alpha and ia64 are examples of targets that do not expose
> any PIC related specifics until after reload. I'd do the same
> if I were going to rewrite m68k symbol handling. Particularly
> if you're going to choose between pcrel or gprel late in the game.
We have to add some (pseudo?) base register early, even if it's replaced
with something else during/after reload, so we can select the best
possible addressing mode. Although GO_IF_LEGITIMATE_ADDRESS can be
changed, regalloc and reload also need it to identify the index register
correctly.
bye, Roman