BEGIN { print "#ifndef _ASM_IA64_OFFSETS_H" print "#define _ASM_IA64_OFFSETS_H" print "/*" print " * DO NOT MODIFY" print " *" print " * This file was generated by arch/ia64/tools/print_offsets.awk." print " *" print " */" # # This is a cheesy hack. Make sure that # PT_PTRACED == 1<= 40) { space=" " } else { space="" while (len < 40) { len += 8 space = space"\t" } } printf("#define %s%s%lu\t/* 0x%lx */\n", name, space, value, value) } } } /tab:/ { inside_table = 1 } /tab\#:/ { inside_table = 1 } END { print "" print "#endif /* _ASM_IA64_OFFSETS_H */" }