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:
parent
74cce6ca80
commit
bff417fcd3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user