From: Alan Modra Date: Sun, 1 Oct 2017 08:32:35 +0000 (+1030) Subject: PR21970, assertion failed when more than one overlay has subalign specified X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cb1232a8cc0d1a6db2de51398acfe978a5c7e68;p=binutils-gdb.git PR21970, assertion failed when more than one overlay has subalign specified PR 21970 * ldlang.c (lang_leave_overlay): Reset overlay_subalign. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 0c117771175..5beae41364f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-10-01 Alan Modra + + PR 21970 + * ldlang.c (lang_leave_overlay): Reset overlay_subalign. + 2017-09-30 H.J. Lu PR binutils/21978 diff --git a/ld/ldlang.c b/ld/ldlang.c index 4cb7e3fbdec..7b80bf9dc18 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. */