kbuild: Generalize adding of additional sections to vmlinux
kallsyms needs to actually have a final vmlinux to extract the symbols,
and then add this information as a new section to the final vmlinux.
Currently, we basically just do the vmlinux link twice, adding
.tmp_kallsyms.o the second time. However, it's actually possible to just
link together the temporary vmlinux generated the first time and the
new object file directly without going back to all the single parts
that the temporary vmlinux was linked from.
This mechanism should be useful for sparc as well, where the btfix
mechanism needs an already linked vmlinux, too.
IMPORTANT: This does only work as desired if the link script can be
used recursively, i.e.