This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PR21970, assertion failed when more than one overlay has subalign


	PR 21970
	* ldlang.c (lang_leave_overlay): Reset overlay_subalign.

diff --git a/ld/ldlang.c b/ld/ldlang.c
index 4cb7e3f..7b80bf9 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -8035,6 +8035,7 @@ lang_leave_overlay (etree_type *lma_expr,
   overlay_vma = NULL;
   overlay_list = NULL;
   overlay_max = NULL;
+  overlay_subalign = NULL;
 }
 
 /* Version handling.  This is only useful for ELF.  */

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]