now_seg after closing output file
authorAlan Modra <amodra@gmail.com>
Wed, 11 Jan 2023 05:01:06 +0000 (15:31 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 11 Jan 2023 05:01:06 +0000 (15:31 +1030)
commitda1f81c128b9be3cface7b0860085da8c6452510
treeeafdbfa064bc45deb81d6d5dc8ea8655696a06b9
parent6647169da419fb3754c61aa6d89be2227405565a
now_seg after closing output file

now_seg, a pointer into the output file sections, isn't valid after
the output file is closed.  gas doesn't and shouldn't use now_seg
after this point of course, but let's be safe.

* output-file.c (output_file_close): Clear now_seg and now_subseg.
gas/output-file.c