]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix the linker script parser so that it will recognise the PT_GNU_RELRO segment type...
authorNick Clifton <nickc@redhat.com>
Wed, 17 Nov 2021 15:59:16 +0000 (15:59 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 17 Nov 2021 15:59:16 +0000 (15:59 +0000)
commitee9e412f14908c1055cb00fab9307d1723981639
tree4a5ba4638187d448bac46a3444a372ae0bb20922
parent0df670bbe009d3b57f5dbf9599913ad06013ec4e
Fix the linker script parser so that it will recognise the PT_GNU_RELRO segment type, and the linker itself so that it will gracefully handle being unable to assign any sections to such a segment.

PR 28452
bfd * elf.c (assign_file_positions_for_non_load_sections): Replace
assertion with a warning message.

ld * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
* ldgram.c: Regenerate.
bfd/ChangeLog
bfd/elf.c
ld/ChangeLog
ld/ldgram.y