This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] PR21970, assertion failed when more than one overlay has subalign specified
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 1 Oct 2017 10:26:26 -0000
- Subject: [binutils-gdb] PR21970, assertion failed when more than one overlay has subalign specified
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8cb1232a8cc0d1a6db2de51398acfe978a5c7e68
commit 8cb1232a8cc0d1a6db2de51398acfe978a5c7e68
Author: Alan Modra <amodra@gmail.com>
Date: Sun Oct 1 19:02:35 2017 +1030
PR21970, assertion failed when more than one overlay has subalign specified
PR 21970
* ldlang.c (lang_leave_overlay): Reset overlay_subalign.
Diff:
---
ld/ChangeLog | 5 +++++
ld/ldlang.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 0c11777..5beae41 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-01 Alan Modra <amodra@gmail.com>
+
+ PR 21970
+ * ldlang.c (lang_leave_overlay): Reset overlay_subalign.
+
2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/21978
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. */