bff417fcd3
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
12 lines
208 B
Bash
12 lines
208 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
#
|
|
file2c 'static char wakecode[] = {' '};' <acpi_wakecode.bin
|
|
|
|
nm -n --defined-only acpi_wakecode.o | while read offset dummy what
|
|
do
|
|
echo "#define ${what} 0x${offset}"
|
|
done
|
|
|
|
exit 0
|