This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Handling of -fpic in ASM_OUTPUT_MI_THUNK in sparc
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: Handling of -fpic in ASM_OUTPUT_MI_THUNK in sparc
- From: Jason Merrill <jason at cygnus dot com>
- Date: 18 Nov 1997 18:11:40 -0800
- Cc: Teemu Torma <tot at trema dot com>, egcs at cygnus dot com
- References: <199711181604.RAA19200.cygnus.egcs@lev.labs.trema.com><u990umm7ie.fsf@yorick.cygnus.com><19971118122913.58719@dot.cygnus.com>
>>>>> 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