| commit | f91074ebd8dc8077c9c778a42360e77a636dce5e | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Tue Jan 16 11:06:23 2024 +1030 |
| committer | Alan Modra <amodra@gmail.com> | Thu Jan 18 09:38:14 2024 +1030 |
| tree | 3470afe23d06c21b527f587609a910deba217644 | |
| parent | 16666ccc91295d1568c5c2cb0e7600694840dfd9 [diff] |
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.