Add eh_* symbols to the arm, arm64, i386, amd64 and riscv linker
scripts. They are needed to create tracebacks with libunwind. Without
addition arguments, these use no additional space in the binaries (flags
that I have no plans to add to even the debug versions since we do
exceptions in the boot loaders). Generally placed in the same location
as other places in the tree, except for where we have a pehdr section
(in which case I place them abitrarily last in the text section). These
are needed by libunwind, but defining this way will effectively disable
them. Libunwind has no easy way to disable them via a #define like so
many other aspects of its behavior.
Didn't do powerpc, nor uboot since those loaders are legacy, seen to
have unclear layout requirements and I have no way to test the results.
Sponsored by: Netflix