aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/subsegs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/subsegs.c b/gas/subsegs.c
index c834ee2..ae42b4e 100644
--- a/gas/subsegs.c
+++ b/gas/subsegs.c
@@ -50,6 +50,8 @@ subsegs_end (struct obstack **obs)
for (; *obs; obs++)
_obstack_free (*obs, NULL);
_obstack_free (&frchains, NULL);
+ bfd_set_section_userdata (bfd_abs_section_ptr, NULL);
+ bfd_set_section_userdata (bfd_und_section_ptr, NULL);
}
static void