diff options
author | Eric Christopher <echristo@gmail.com> | 2017-11-15 18:23:15 -0800 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2017-11-15 18:23:15 -0800 |
commit | 234874b46f90b1e6a650dc4a700f8e6b0999e482 (patch) | |
tree | 448930427dd1f27e4de0ac450984d94b80add362 /config.sub | |
parent | ce94efcee97180303d98ce96e40c9bc45f405cee (diff) | |
download | gdb-234874b46f90b1e6a650dc4a700f8e6b0999e482.zip gdb-234874b46f90b1e6a650dc4a700f8e6b0999e482.tar.gz gdb-234874b46f90b1e6a650dc4a700f8e6b0999e482.tar.bz2 |
Apply from mainline:
[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.
2017-11-08 Kyle Butt <iteratee@google.com>
* object.cc (do_find_special_sections): Fix a thinko with memmem return
values and check for != NULL rather than == 0.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions