mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
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
|
||||
echo "#define ${what} 0x${offset}"
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue