#!/bin/sh # $FreeBSD$ # nm -n --defined-only acpi_wakecode.o | while read offset dummy what do echo "#define ${what} 0x${offset}" done exit 0