Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
microserver % readelf -S Fon_FON2305E_FDT_kernel
There are 28 section headers, starting at offset 0x43d230:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 80001100 001100 296530 00 AX 0 0 16
[ 2] .MIPS.stubs PROGBITS 80297630 297630 000010 00 AX 0 0 4
[ 3] .rodata PROGBITS 80297640 297640 03357c 00 A 0 0 16
[ 4] set_modmetadata_s PROGBITS 802cabbc 2cabbc 000414 00 A 0 0 4
[ 5] set_sysctl_set PROGBITS 802cafd0 2cafd0 001174 00 A 0 0 4
[ 6] set_kdb_dbbe_set PROGBITS 802cc144 2cc144 000008 00 A 0 0 4
[ 7] set_ofw_set PROGBITS 802cc14c 2cc14c 000004 00 A 0 0 4
[ 8] set_cons_set PROGBITS 802cc150 2cc150 000008 00 A 0 0 4
[ 9] set_uart_fdt_clas PROGBITS 802cc158 2cc158 000004 00 A 0 0 4
[10] .interp PROGBITS 802cc15c 2cc15c 00000d 00 A 0 0 1
[11] .hash HASH 802cc16c 2cc16c 00aa4c 04 A 12 0 4
[12] .dynsym DYNSYM 802d6bb8 2d6bb8 01a8e0 10 A 13 1 4
[13] .dynstr STRTAB 802f1498 2f1498 01a423 00 A 0 0 1
[14] .reginfo MIPS_REGINFO 8030b8bc 30b8bc 000018 18 A 0 0 4
[15] .data PROGBITS 8030e000 30e000 035ad8 00 WA 0 0 8192
[16] set_sysuninit_set PROGBITS 80343ad8 343ad8 0004c4 00 WA 0 0 4
[17] set_sysinit_set PROGBITS 80343f9c 343f9c 000958 00 WA 0 0 4
[18] .rld_map PROGBITS 803448f4 3448f4 000004 00 WA 0 0 4
[19] set_pcpu PROGBITS 80344900 344900 000e44 00 WA 0 0 64
[20] .got PROGBITS 80345750 345750 001808 04 WA 0 0 16
[21] .dynamic DYNAMIC 80346f58 346f58 0000c8 08 A 13 0 4
[22] .bss NOBITS 80347040 347020 045780 00 WA 0 0 64
[23] .comment PROGBITS 00000000 347020 007bf3 00 0 0 1
[24] .pdr PROGBITS 00000000 34ec14 047380 00 0 0 4
[25] .shstrtab STRTAB 00000000 395f94 000127 00 0 0 1
[26] .symtab SYMTAB 00000000 3960bc 0462a0 10 27 11166 4
[27] .strtab STRTAB 00000000 3dc35c 060ed3 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.