fix linker code writing undefined memory to the output file

missing `extern` on a struct.

but also all these instances that call pwriteAll with a `@ptrCast` are
endianness bugs.

this should be changed to use File.Writer and call writeSliceEndian
instead.

this commit fixes one immediate problem but does not fix everything.
877d6df8f7Andrew Kelley committed on 9/9/2025, 1:23:01 AMparenteac2bbf
10 files changedLine totals unavailable