commit | 89c905a342d2cb35ebc4d66ad7cdca581b5134c3 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Wed Aug 18 12:43:46 2021 +0930 |
committer | Alan Modra <amodra@gmail.com> | Wed Aug 18 13:36:57 2021 +0930 |
tree | eb7c8ce28ea83575ff8cfb595b4110f52d7fde98 | |
parent | a3e8dd2ad3bce85d550b131cb12b5250ac830faa [diff] |
[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.