From f12650bff1a591357c26e0ef6d7be0323f76fdb8 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Sun, 13 Dec 2020 15:19:41 -0800 Subject: Fix incremental linking with rodata merge sections. When processing the incremental update, incoming .rodata merge sections do not match the corresponding section in the base file, because the SHF_MERGE flag had not been masked out of the latter. gold/ PR gold/24123 * layout.cc (Layout::init_fixed_output_section): Mask out flags that should be ignored when matching sections. --- gold/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gold/ChangeLog') diff --git a/gold/ChangeLog b/gold/ChangeLog index e152e1e..bfb7a70 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2020-12-13 Cary Coutant + + PR gold/24123 + * layout.cc (Layout::init_fixed_output_section): Mask out flags that + should be ignored when matching sections. + 2020-12-07 Alan Modra * plugin.cc (Plugin_recorder::init): Replace strncpy with memcpy. -- cgit v1.1