Handling of -fpic in ASM_OUTPUT_MI_THUNK in sparc
Jason Merrill
jason@cygnus.com
Tue Nov 18 18:12:00 GMT 1997
>>>>> Richard Henderson <rth@cygnus.com> writes:
> Normal function calls use call not sethi+jmp. The former case gets
> fixed up to a call through the PLT, the later results in runtime
> relocations to the read-only text segment. Which works, but slows down
> startup unnecessarily.
Well, I suppose we could use call in all cases. That would simplify the
code. Does anyone with more SPARC experience have an opinion?
Jason
More information about the Gcc
mailing list