Only export defined symbols. Note that I couldn't find any difference

between object code generated without the flag but it makes sense and might
make a difference in the future.

PR:		kern/53008
Submitted by:	Jens Rehsack rehsack at liwing de
This commit is contained in:
Nate Lawson 2004-12-12 06:59:14 +00:00
parent 74cce6ca80
commit bff417fcd3

View File

@ -3,7 +3,7 @@
# #
file2c 'static char wakecode[] = {' '};' <acpi_wakecode.bin file2c 'static char wakecode[] = {' '};' <acpi_wakecode.bin
nm -n acpi_wakecode.o | while read offset dummy what nm -n --defined-only acpi_wakecode.o | while read offset dummy what
do do
echo "#define ${what} 0x${offset}" echo "#define ${what} 0x${offset}"
done done