From 5987401fcbc9933808fa0d84d1b01c93356c39a1 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 29 Jul 2020 17:30:15 +0930 Subject: 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 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ld/ChangeLog') diff --git a/ld/ChangeLog b/ld/ChangeLog index 9cee3ca..5ee1a0e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2020-07-29 Alan Modra + + * ldelf.c (ldelf_before_place_orphans): Set SEC_EXCLUDE for + discarded sections. + 2020-07-28 Alan Modra * ldlang.c (lang_check): Don't complain about relocs or merge -- cgit v1.1