aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-01-29 12:27:31 +1030
committerAlan Modra <amodra@gmail.com>2022-01-29 17:14:55 +1030
commit2405fc4016feadea33cb747d5654514f62b74ff4 (patch)
tree0f3b4abfddede1106b6680e3bad80fcc1112f19f /bfd/bfd.c
parent7c4643efe7befea8e5063e8b56c0400fd8cee2d5 (diff)
downloadgdb-2405fc4016feadea33cb747d5654514f62b74ff4.zip
gdb-2405fc4016feadea33cb747d5654514f62b74ff4.tar.gz
gdb-2405fc4016feadea33cb747d5654514f62b74ff4.tar.bz2
Re: PR28827, assertion building LLVM 9 on powerpc64le-linux-gnu
The previous patch wasn't quite correct. The size and padding depends on offset used in the current iteration, and if we're fudging the offset past STUB_SHRINK_ITER then we'd better use that offset. We can't have plt_stub_pad using stub_sec->size as the offset. PR 28827 * elf64-ppc.c (plt_stub_pad): Add stub_off param. (ppc_size_one_stub): Set up stub_offset to value used in this iteration before sizing the stub. Adjust plt_stub_pad calls.
Diffstat (limited to 'bfd/bfd.c')
0 files changed, 0 insertions, 0 deletions