diff options
author | Alan Modra <amodra@gmail.com> | 2024-01-16 11:06:23 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-01-18 09:38:14 +1030 |
commit | f91074ebd8dc8077c9c778a42360e77a636dce5e (patch) | |
tree | 3470afe23d06c21b527f587609a910deba217644 /ld | |
parent | 16666ccc91295d1568c5c2cb0e7600694840dfd9 (diff) | |
download | binutils-f91074ebd8dc8077c9c778a42360e77a636dce5e.zip binutils-f91074ebd8dc8077c9c778a42360e77a636dce5e.tar.gz binutils-f91074ebd8dc8077c9c778a42360e77a636dce5e.tar.bz2 |
PR30824 internal error with -z pack-relative-relocs
This corrects a counting problem, where prior to relocate_section relr
encoded relative relocs were allowed when it was known they were on
even boundaries, but relocate_section can only put relative relocs
(non-relr) on eight byte boundaries.
PR 30824
* elf64-ppc.c (RELR_ALIGN): Define, use throughout.
(maybe_relr): New function, use throughout.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions