mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00

assume that we can set the GP value and then get the same value, since it won't be true if the output file is neither ELF nor ECOFF. * coff-mips.c (mips_adjust_reloc_in): Don't bother to use _bfd_get_gp_value here. (mips_gprel_reloc): Don't assume we can set and get the GP value. * elf32-mips.c (mips_elf_hi16_reloc): Get gp value from mips_elf_final_gp. (mips_elf_lo16_reloc): Likewise. (mips_elf_final_gp): Add pgp parameter. Set it to the GP value. Don't require that the BFD be ELF. (mips_elf_gprel16_reloc): Get gp value from mips_elf_final_gp. (mips_elf_gprel32_reloc): Likewise. (mips_elf_relocate_section): Don't assume we can set and get the GP value. (mips_elf_finish_dynamic_symbol): Don't bother to use _bfd_get_gp_value here. * elf32-mips.c (mips_elf_create_procedure_table): Initialize sv. Don't change epdr between malloc and free. Be careful not to free NULL pointers. Zero out the first RPDR.
Description
Unofficial mirror of sourceware binutils-gdb repository. Updated daily.
Languages
C
51.8%
Makefile
22.4%
Assembly
12.3%
C++
6%
Roff
1.4%
Other
5.4%