elf: write all symbols in bulk in flush

This avoids leaving undefined bytes in the output file in case
a decl has been garbage collected before it's been committed into
the binary.

This should have minimal impact on performance since we have to
write globals on every iteration anyway.
9bd60bef2aJakub Konka committed on 9/2/2023, 7:49:33 PMparentda56727
1 file changedLine totals unavailable