* 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)
commited6fb7bdf57feb3050b00774d383e945434b6813
treed7270c13c81c9e25f26350f3cf303715321d8dc9
parentdd2e090509158342526037a28d55fc93f1f385f3
* 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