This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] MIPS: Optimize virtual thunks for LOADGP_ABSOLUTE case.


David Daney <ddaney@avtrex.com> writes:
> In my hacking around I noticed that the mips port is emitting useless 
> code in virtual thunks when the -mno-shared option is specified (the 
> default for non -fPIC code in the o32 ABI).

Good catch.

> 2007-05-31  David Daney  <ddaney@avtrex.com>
>
>     * config/mips/mips.c (mips_output_mi_thunk): Only load gp if not
>     LOADGP_ABSOLUTE.

OK, thanks.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]