elf: check symtab section headers size when writing globals

Without this, it may happen we write the globals without extending
the symtab section header's size. This can potentially lead to
clobbering some data in the file, or simply omitting the globals
from the symtab when displaying with support tooling such as `readelf`.
4d77ef25f9Jakub Konka committed on 4/14/2022, 1:16:55 PMparent7a00227
1 file changedLine totals unavailable