diff options
author | Alan Modra <amodra@gmail.com> | 2017-10-18 00:33:05 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-10-18 08:48:17 +1030 |
commit | 412294daf8786fd9060059b8be7fc59a35e13922 (patch) | |
tree | b0ef87097949a968802b21138b941cec294db288 /bfd/version.h | |
parent | b27de576d41eed16936cf639857df4e1e27a8e9e (diff) | |
download | gdb-412294daf8786fd9060059b8be7fc59a35e13922.zip gdb-412294daf8786fd9060059b8be7fc59a35e13922.tar.gz gdb-412294daf8786fd9060059b8be7fc59a35e13922.tar.bz2 |
[GOLD] Fix powerpc64 optimization of TOC accesses
Fixes a thinko. Given code that puts variables into the TOC (a bad
idea, but some see the TOC as a small data section) this bug could
result in an attempt to optimize a sequence that should not be
optimized.
* powerpc.cc (Target_powerpc::Scan::local): Correct dst_off
calculation for TOC16 relocs.
(Target_powerpc::Scan::global): Likewise.
Diffstat (limited to 'bfd/version.h')
0 files changed, 0 insertions, 0 deletions