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:43:14 +1030 |
commit | 8532b62c9bf088727a37c3627f3882a69631bb39 (patch) | |
tree | ba5c3952ab04b4b025f54fa8e400e02cb9b54115 /opcodes | |
parent | 457273c666e64424ee6de9aa146cc975473e7b4d (diff) | |
download | fsf-binutils-gdb-8532b62c9bf088727a37c3627f3882a69631bb39.zip fsf-binutils-gdb-8532b62c9bf088727a37c3627f3882a69631bb39.tar.gz fsf-binutils-gdb-8532b62c9bf088727a37c3627f3882a69631bb39.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.
(cherry picked from commit f91074ebd8dc8077c9c778a42360e77a636dce5e)
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions