New Patch to fix MIPS -mno-shared with multi-got...
Thiemo Seufer
ths@networkno.de
Fri Mar 4 22:12:00 GMT 2005
David Daney wrote:
[snip]
> bfd ChangeLog:
> 2005-03-04 David Daney <ddaney@avtrex.com>
>
> * elfxx-mips.c (mips_elf_calculate_relocation): Handle special
> '__gnu_local_gp' symbol used by gas -mno-shared.
>
> gas ChangeLog:
> 2005-03-04 David Daney <ddaney@avtrex.com>
>
> * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp' instead
> of '_gp' for -mno-shared optimization.
> (s_cpload): Ditto.
> (s_abicalls): Document it in the comment.
> (md_show_usage): Document the -mno-shared option.
>
>
> gas/testsuite ChangeLog:
> 2005-03-04 David Daney <ddaney@avtrex.com>
>
> * gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead
> of '_gp' for -mno-shared optimization.
> * gas/mips/elf-rel25a.d: Ditto.
>
> ld/testsuite ChangeLog:
> 2005-03-04 David Daney <ddaney@avtrex.com>
>
> * ld-mips-elf/multi-got-no-shared{-1.s, -2.s, .d}: New test.
> * ld-mips-elf/mips-elf.exp: Run it.
Ok.
Thiemo
More information about the Binutils
mailing list