Fix breakage for SHT_REL targets where get_r_addend() gives internal error.
authorCary Coutant <ccoutant@gmail.com>
Tue, 12 Jan 2016 19:39:50 +0000 (11:39 -0800)
committerCary Coutant <ccoutant@gmail.com>
Tue, 12 Jan 2016 19:39:50 +0000 (11:39 -0800)
commit8a8880cb673893c479b473f598905c0490897817
tree1cfdc0e3a0d152b999c44864248ffde869c78e20
parentd1193addae7e5a24dc867f9946681ef0781a766f
Fix breakage for SHT_REL targets where get_r_addend() gives internal error.

gold/
* arm.cc (Target_arm::Classify_reloc::get_r_addend): New method.
* i386.cc (Target_i386::Classify_reloc::get_r_addend): New method.
* mips.cc (Target_arm::Mips_classify_reloc::get_r_addend): (Both
specializations) New method.
gold/ChangeLog
gold/arm.cc
gold/i386.cc
gold/mips.cc