OSDN Git Service

* elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL
authorgeoffk <geoffk>
Fri, 8 Oct 1999 03:07:07 +0000 (03:07 +0000)
committergeoffk <geoffk>
Fri, 8 Oct 1999 03:07:07 +0000 (03:07 +0000)
commit050182adecb07520b7035a3c0a15a43496c96aca
treef0a0ebaabac1e447e225d07e357934e008b5060e
parent37f3ef1fe6adc17cf8034e49639f3c44549329f1
* 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