diff options
author | Alan Modra <amodra@gmail.com> | 2021-08-18 12:43:46 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-08-19 10:52:15 +0930 |
commit | 163d8077435419ae9ad7fb55503a8005067362a0 (patch) | |
tree | f0155d7638c312ae596f458a128e98d456fa533b /move-if-change | |
parent | ee51385839895013660b2fe5a86713e43f1627cf (diff) | |
download | gdb-163d8077435419ae9ad7fb55503a8005067362a0.zip gdb-163d8077435419ae9ad7fb55503a8005067362a0.tar.gz gdb-163d8077435419ae9ad7fb55503a8005067362a0.tar.bz2 |
[GOLD] PowerPC64 relocation overflow for -Os register save/restore funcs
Fixes a silly mistake in calculating the address of -Os out-of-line
register save/restore function copies. Copies of these linker defined
functions are added to stub sections when the original (in
target->savres_section) can't be reached.
* powerpc.cc (Target_powerpc::Relocate::relocate): Correct address
calculation of out-of-line save/restore function copies.
(cherry picked from commit 89c905a342d2cb35ebc4d66ad7cdca581b5134c3)
Diffstat (limited to 'move-if-change')
0 files changed, 0 insertions, 0 deletions