* elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3.

(mips_elf64_final_gp): Don't make up gp value.
	* elfn32-mips.c (mips_elf_final_gp): Likewise.
	* elfxx-mips.c (_bfd_mips_elf_final_link): Always create
	.MIPS.options/.options section.
This commit is contained in:
Stan Cox
2002-09-18 01:38:20 +00:00
parent 419586656d
commit a902ee94b7
4 changed files with 17 additions and 4 deletions

View File

@ -1505,7 +1505,7 @@ mips_elf_final_gp (output_bfd, symbol, relocateable, error_message, pgp)
if (relocateable)
{
/* Make up a value. */
*pgp = symbol->section->output_section->vma + 0x4000;
*pgp = symbol->section->output_section->vma /*+ 0x4000*/;
_bfd_set_gp_value (output_bfd, *pgp);
}
else if (!mips_elf_assign_gp (output_bfd, pgp))