]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Don't assert at ldwrite.c:212
authorAlan Modra <amodra@gmail.com>
Wed, 29 Jul 2020 08:00:15 +0000 (17:30 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 29 Jul 2020 08:08:01 +0000 (17:38 +0930)
commit5987401fcbc9933808fa0d84d1b01c93356c39a1
treeb57997323255d16f8694e1b30566fe043e913a53
parent8ba83e9109a1a02f54f1c4793c8f231bb9256acd
Don't assert at ldwrite.c:212

When excluding SHF_LINK_ORDER sections that happen to have SEC_KEEP
set, we need to set SEC_EXCLUDE here to avoid a problem later.

* ldelf.c (ldelf_before_place_orphans): Set SEC_EXCLUDE for
discarded sections.
ld/ChangeLog
ld/ldelf.c