aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-10-01 19:02:35 +1030
committerAlan Modra <amodra@gmail.com>2017-10-01 19:35:07 +1030
commit8cb1232a8cc0d1a6db2de51398acfe978a5c7e68 (patch)
tree7f5b89d05574ca22a71cb80aed5d4f8589e0b0ae /ld/ldlang.c
parent20230942fe3674150ab661738d72f1618b3d4b1b (diff)
downloadgdb-8cb1232a8cc0d1a6db2de51398acfe978a5c7e68.zip
gdb-8cb1232a8cc0d1a6db2de51398acfe978a5c7e68.tar.gz
gdb-8cb1232a8cc0d1a6db2de51398acfe978a5c7e68.tar.bz2
PR21970, assertion failed when more than one overlay has subalign specified
PR 21970 * ldlang.c (lang_leave_overlay): Reset overlay_subalign.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c1
1 files changed, 1 insertions, 0 deletions
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. */