arch/m68k-amiga: Experiment with localizing unwanted exported symbols
To make it easier to handle new kernel modules, without worrying
about their global symbols (ie function names and const data) clashing
with each other, we can use the objcopy --localize-symbols feature
to convert our kobj .o files to .ko files, which only have their
unresolved symbols exposed (ie things they need from -lamiga and -lrom).
Eventually, we should disentangle kernel.resource and exec.library
from the m68k boot code, but that is a big task for another day.
For now, we can safely localize everything else, and still retain working
debug symbols.
If other architectures find this useful, this technique could easily be
moved to config/make.tmpl
Signed-off-by: Jason S. McMullan <jason.mcmullan@netronome.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@39761 fb15a70f-31f2-0310-bbcc-cdcc74a49acc