mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-04 20:37:16 +08:00
Tidy some global bfd state used by gas
* subsegs.c (subsegs_end): Clear abs and und userdata.
This commit is contained in:
@ -50,6 +50,8 @@ subsegs_end (struct obstack **obs)
|
|||||||
for (; *obs; obs++)
|
for (; *obs; obs++)
|
||||||
_obstack_free (*obs, NULL);
|
_obstack_free (*obs, NULL);
|
||||||
_obstack_free (&frchains, 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
|
static void
|
||||||
|
Reference in New Issue
Block a user