Sorry, your awk script is buggy - it doesn't take note of __ksymtab
after .comment:
# objdump -h /lib/modules/2.4.9-ac17/kernel/drivers/acorn/scsi/acornscsi_mod.o
/lib/modules/2.4.9-ac17/kernel/drivers/acorn/scsi/acornscsi_mod.o: file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000466c 00000000 00000000 00000034 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
1 .rodata 00000de6 00000000 00000000 000046a0 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .modinfo 00000028 00000000 00000000 00005488 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .data 000000bc 00000000 00000000 000054b0 2**2
CONTENTS, ALLOC, LOAD, RELOC, DATA
4 .bss 0000008c 00000000 00000000 0000556c 2**2
ALLOC
5 .comment 00000026 00000000 00000000 0000556c 2**0
CONTENTS, READONLY
6 __ksymtab 00000000 00000000 00000000 00005592 2**0
CONTENTS, READONLY
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/