bfd_section_from_shdr: Support SHT_RELR sections
authorFangrui Song <maskray@google.com>
Wed, 8 Dec 2021 02:24:14 +0000 (18:24 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 10 Jan 2022 13:05:22 +0000 (05:05 -0800)
commitfb0b83d80d11c2501a9262198f26a820b09f5258
tree8a636fd6eaee8a6ab83f2b9ecc026ed3d4081f7f
parent67609c9c701ea8a679d80e3352266b058b184f4b
bfd_section_from_shdr: Support SHT_RELR sections

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.

(cherry picked from commit a619b58721f0a03fd91c27670d3e4c2fb0d88f1e)
bfd/elf.c
This page took 0.030917 seconds and 4 git commands to generate.