mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 23:32:21 +08:00
* 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:
@ -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))
|
||||
|
Reference in New Issue
Block a user