[PATCH] PR gold/18695

Cary Coutant ccoutant@gmail.com
Fri Feb 5 17:23:00 GMT 2016
> Here is new version of the patch.
>
> 2015-08-27  Andrew Senkevich  <andrew.senkevich@intel.com>
>
> gold/
>         PR gold/18695
>         * x86_64.cc (Target_x86_64::Relocate::relocate): Added overflow checks
>         for 32-bit relocations.
>         (x86_64_overflow_check): New class.

I've reworked this patch and committed the attached patch to use the
new overflow checking framework.

-cary


2016-02-05  Cary Coutant  <ccoutant@gmail.com>
            Andrew Senkevich  <andrew.senkevich@intel.com>

gold/
        PR gold/18695
        * x86_64.cc (Target_x86_64::Relocate::relocate): Add overflow
        checking for R_X86_64_32, R_X86_64_32S, R_X86_64_PC32, and
        R_X86_64_PLT32.
        * testsuite/Makefile.am (x86_64_overflow_pc32): New test.
        * testsuite/x86_64_overflow_pc32.sh: New test script.
        * testsuite/x86_64_overflow_pc32.s: New source file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr18695-2.patch
Type: application/octet-stream
Size: 10492 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160205/6838efda/attachment.obj>


More information about the Binutils mailing list