* elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL
authorGeoffrey Keating <geoffk@geoffk.org>
Fri, 8 Oct 1999 03:07:07 +0000 (03:07 +0000)
committerGeoffrey Keating <geoffk@geoffk.org>
Fri, 8 Oct 1999 03:07:07 +0000 (03:07 +0000)
commit0af997951842ec945f3bfcfae7a901cfcf56dd4d
treeb9ae5e95a6b5ad7626a7f47680fe9c870c110950
parentba09cd8d9803659ee555723ef8456131ba504aaf
* elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL
relocs also need the GP value.
(_bfd_mips_elf_relocate_section): Handle unpaired LO16 relocs
properly.  Handle sign-extension for R_MIPS_64 correctly.  Correct
the GP value for R_MIPS_LITERAL relocs too.  Handle
R_MIPS_64 relocs properly on big-endian MIPS.
(mips_elf_sign_extend): Behave properly with 'long long'.
(mips_elf_highest): Correct typo.
bfd/ChangeLog
bfd/elf32-mips.c