This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Support for callee-saved $gp for MIPS gas
- To: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- Subject: Re: [PATCH] Support for callee-saved $gp for MIPS gas
- From: "Eric M. Christopher" <echristo at redhat dot com>
- Date: 08 Oct 2001 17:59:42 -0700
- Cc: binutils at sources dot redhat dot com
- References: <20011005013526.J20661@rembrandt.csv.ica.uni-stuttgart.de>
Ok.
Thanks.
-eric
> 2001-10-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
>
> /gas/Changelog
> * config/tc-mips.c (mips_cpreturn_offset): New variable.
> (mips_cpreturn_register): Likewise.
> (mips_gp_register): Likewise.
> (s_cpsetup): New function prototype.
> (s_cplocal): Likewise.
> (s_cpreturn): Likewise.
> (s_gpvalue): Likewise.
> (mips_pseudo_table): Add .cpsetup, .cplocal, .cpreturn, .gpvalue
> pseudo-ops.
> (macro): Don't warn about .cprestore for NewABI.
> (md_pcrel_from): Code cleanup.
> (mips_force_relocation): Force output of some NewABI relocations even
> without a defined symbol.
> (s_cpload): Ignore .cpload for NewABI.
> (s_cpsetup): Handle .cpsetup.
> (s_cplocal): Handle .cplocal.
> (s_cprestore): Ignore .cprestore for NewABI.
> (s_cpreturn): Handle .cpreturn.
> (s_gpvalue): Handle .gpvalue.
> (s_cpadd): Ignore .cpadd for NewABI.
> (nopic_need_relax): Take g_switch_value into account as gp
> optimization.
> (tc_gen_reloc): Don't handle BFD_RELOC_MIPS_{CALL,GOT}* for NewABI.
--
Look out behind you!