diff options
author | Alan Modra <amodra@gmail.com> | 2017-10-01 19:02:35 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-10-01 19:35:07 +1030 |
commit | 8cb1232a8cc0d1a6db2de51398acfe978a5c7e68 (patch) | |
tree | 7f5b89d05574ca22a71cb80aed5d4f8589e0b0ae /ld/ldlang.c | |
parent | 20230942fe3674150ab661738d72f1618b3d4b1b (diff) | |
download | gdb-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.c | 1 |
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. */ |