[PATCH] bfd_section_from_shdr: Support SHT_RELR sections
Alan Modra
amodra@gmail.com
Wed Dec 8 10:08:16 GMT 2021
On Tue, Dec 07, 2021 at 06:24:14PM -0800, Fangrui Song wrote:
> If a.so contains an SHT_RELR section, objcopy a.so will fail with:
>
> a.so: unknown type [0x13] section `.relr.dyn'
>
> This change allows objcopy to work.
>
> bfd/
> * elf.c (bfd_section_from_shdr): Support SHT_RELR.
Thanks! Committed.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list