PR21970, assertion failed when more than one overlay has subalign
Alan Modra
amodra@gmail.com
Sun Oct 1 10:25:00 GMT 2017
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
More information about the Binutils
mailing list