diff options
author | Cary Coutant <ccoutant@gmail.com> | 2016-02-05 09:19:47 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2016-02-05 09:19:47 -0800 |
commit | c34c98ed62f7f01fa19b1cfb174df942ee47127d (patch) | |
tree | 80faf046017948f1851703d275aff29beec5aa92 /gold/ChangeLog | |
parent | 44803b5d876fcbbc1c6d9919a1b763679d5c035f (diff) | |
download | gdb-c34c98ed62f7f01fa19b1cfb174df942ee47127d.zip gdb-c34c98ed62f7f01fa19b1cfb174df942ee47127d.tar.gz gdb-c34c98ed62f7f01fa19b1cfb174df942ee47127d.tar.bz2 |
Add some relocation overflow checks for x86_64.
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.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index ecb5057..a90ffa4 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,4 +1,15 @@ -2016-02-06 Cary Coutant <ccoutant@gmail.com> +2016-02-05 Cary Coutant <ccoutant@gmail.com> + Andrew Senkevich <andrew.senkevich@intel.com> + + 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. + +2016-02-05 Cary Coutant <ccoutant@gmail.com> PR gold/18695 * reloc.h (Relocate_functions::Address): New typedef. |