OSDN Git Service

* tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
authorStan Cox <scox@redhat.com>
Wed, 18 Sep 2002 02:25:19 +0000 (02:25 +0000)
committerStan Cox <scox@redhat.com>
Wed, 18 Sep 2002 02:25:19 +0000 (02:25 +0000)
commit70d43236d1e31c18d239287788c7dfd7ffbcc21c
tree0ea8e86cd7777e6b9c0f6e5cdbe2995854224da9
parent0fbd8cba740d1413cd86df4a94fde447a8c1e0a7
* tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
(macro): Likewise for la.  Likewise for ld.
(mips_after_parse_args): Make -xgot optional, not the default.
(md_apply_fix3): Allow composite relocation to set up gp.
(tc_gen_reloc): Allow relaxing for newabi.
Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local.
Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
gas/ChangeLog
gas/config/tc-mips.c