diff options
author | Alan Modra <amodra@gmail.com> | 2025-07-18 09:26:10 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-07-19 08:34:15 +0930 |
commit | 129cdfc16433bd755c81357bb2f665ca93edb0b4 (patch) | |
tree | e1fd1ea11e48d004672a418b74136fb75cda9de4 /libctf/ctf-serialize.c | |
parent | cfbf9925c1c34f9e9d47c8b29d165866557663e3 (diff) | |
download | binutils-129cdfc16433bd755c81357bb2f665ca93edb0b4.zip binutils-129cdfc16433bd755c81357bb2f665ca93edb0b4.tar.gz binutils-129cdfc16433bd755c81357bb2f665ca93edb0b4.tar.bz2 |
RELOC_AGAINST_DISCARDED_SECTION zero size reloc sections
For some reason the initial implementation (commit 0672748ac053) of
this macro didn't allow discarding of all relocs in a section, perhaps
because doing so would require a testsuite change. This patch allows
zero size relocation sections to result, and adjusts the testsuite.
i386, x86_64, ppc and ppc64 code that avoids a memmove is also changed
to allow zero size reloc sections, and arc fixed to actually adjust
the reloc section header.
Diffstat (limited to 'libctf/ctf-serialize.c')
0 files changed, 0 insertions, 0 deletions