https://sourceware.org/bugzilla/show_bug.cgi?id=33291

--- Comment #22 from H.J. Lu <hjl.tools at gmail dot com> ---
I am testing this:

diff --git a/ld/ldlang.c b/ld/ldlang.c
index 8ba95b04e23..bbc679a31ef 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -2862,6 +2862,7 @@ lang_add_section (lang_statement_list_type *ptr,
   {
     output->bfd_section->flags &= ~ (SEC_MERGE | SEC_STRINGS);
     flags &= ~ (SEC_MERGE | SEC_STRINGS);
+    output->bfd_section->entsize = 0;
   }
     }
   output->bfd_section->flags |= flags;

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to