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)
commitfcc76bea372c593cd34dfada143ed5d9baa92997
tree1633f294ab4136b4a57b5af69c89e995da930fc6
parent977a303014c295a6355d53c8f9bdf810081b0b7b
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