[PATCH v2 2/4] gold: Correctly get and put r_info for Mips64el.

Cary Coutant ccoutant@gmail.com
Tue Jan 12 19:42:00 GMT 2016


>> It breaks i686 gold:
>>
>> gcctestdir/ld: internal error in get_reloc_addend, at
>> /export/gnu/import/git/sources/binutils-gdb/gold/reloc-types.h:49
>> collect2: error: ld returned 1 exit status
>> Makefile:5149: recipe for target 'icf_virtual_function_folding_test' failed
>> make[7]: *** [icf_virtual_function_folding_test] Error 1
>>
>
> It breaks all REL targets.

Sorry for the breakage, and thanks for the quick analysis.

I've pushed the attached patch:

2016-01-12  Cary Coutant  <ccoutant@gmail.com>

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.

-cary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_r_addend.patch
Type: application/octet-stream
Size: 3060 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160112/660eb7ef/attachment.obj>


More information about the Binutils mailing list