OSDN Git Service

2002-01-29 Chris Demetriou <cgd@broadcom.com>
authorChris Demetriou <cgd@google.com>
Wed, 30 Jan 2002 02:13:20 +0000 (02:13 +0000)
committerChris Demetriou <cgd@google.com>
Wed, 30 Jan 2002 02:13:20 +0000 (02:13 +0000)
commit620af7d84405135ee923a1c54cf31f114f7561bf
tree88333cb1e1c22fe9d15dad419116d27d865f2943
parentd741f0af3a959f3a8deaaad19af9f9872665082e
2002-01-29  Chris Demetriou  <cgd@broadcom.com>

        * elf32-mips.c: Add additional comments about HI16 relocation
        processing.
        (_bfd_mips_elf_hi16_reloc): Don't subtract address here for
        pc-relative relocations.  (Reverts change made on 2001-10-31.)
        (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here
        for pc-relative relocations.
        (mips_elf_calculate_relocation): Add a comment about a kludge
        in the R_MIPS_GNU_REL_HI16 handling.
        (_bfd_mips_elf_relocate_section): Implement that kludge;
        adjust pc-relative HI16 relocation for difference in HI16 and
        LO16 addresses, since it can't easily be done in
        mips_elf_calculate_relocation.
bfd/ChangeLog
bfd/elf32-mips.c