- $ readelf -el vmlinux
- ELF Header:
- Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
- Class: ELF32
- Data: 2's complement, little endian
- Version: 1 (current)
- OS/ABI: UNIX - System V
- ABI Version: 0
- Type: EXEC (Executable file)
- Machine: Intel 80386
- Version: 0x1
- Entry point address: 0x1001000
- Start of program headers: 52 (bytes into file)
- Start of section headers: 64408064 (bytes into file)
- Flags: 0x0
- Size of this header: 52 (bytes)
- Size of program headers: 32 (bytes)
- Number of program headers: 10
- Size of section headers: 40 (bytes)
- Number of section headers: 43
- Section header string table index: 40
- 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 00000000 001000 20f786 00 AX 0 0 32
- [ 2] .notes NOTE c1210000 211000 000024 00 AX 0 0 4
- [ 3] __ex_table PROGBITS c1210030 211030 006990 00 A 0 0 4
- [ 4] .rodata PROGBITS c1217000 218000 0e15ae 00 WA 0 0 4096
- [ 5] __bug_table PROGBITS c12f85b0 2f95b0 0033e4 00 A 0 0 1
- [ 6] .pci_fixup PROGBITS c12fb994 2fc994 000a38 00 A 0 0 4
- [ 7] __ksymtab PROGBITS c12fc3cc 2fd3cc 0055a8 00 A 0 0 4
- [ 8] __ksymtab_gpl PROGBITS c1301974 302974 002260 00 A 0 0 4
- [ 9] __kcrctab PROGBITS c1303bd4 304bd4 002ad4 00 A 0 0 4
- [10] __kcrctab_gpl PROGBITS c13066a8 3076a8 001130 00 A 0 0 4
- [11] __ksymtab_strings PROGBITS c13077d8 3087d8 010ae9 00 A 0 0 1
- [12] __init_rodata PROGBITS c13182d0 3192d0 003756 00 A 0 0 16
- [13] __param PROGBITS c131ba28 31ca28 0005d8 00 A 0 0 4
- [14] .rodata.page_alig PROGBITS c131c000 31d000 004000 00 A 0 0 16
- [15] .vmi.rom PROGBITS c1320000 321000 002000 00 WA 0 0 4096
- [16] .module.text PROGBITS c1322000 323000 4de000 00 WA 0 0 1
- [17] .data PROGBITS c1800000 801000 049970 00 WA 0 0 32
- [18] .init.begin PROGBITS c1849970 84a970 3b6690 00 WA 0 0 1
- [19] .data.percpu PROGBITS 00000000 c01000 005698 00 WA 0 0 32
- [20] .init.text PROGBITS 00c06000 c07000 028000 00 AX 0 0 16
- [21] .exit.text PROGBITS 00c2e000 c2f000 000540 00 AX 0 0 1
- [22] .init.data PROGBITS c1c2f000 c30000 01c200 00 WA 0 0 16
- [23] .x86_cpu_dev.init PROGBITS c1c4b200 c4c200 00001c 00 A 0 0 4
- [24] .parainstructions PROGBITS c1c4b220 c4c220 003eb0 00 A 0 0 4
- [25] .altinstructions PROGBITS c1c4f0d0 c500d0 002cdb 00 A 0 0 4
- [26] .altinstr_replace PROGBITS c1c51dab c52dab 000bb5 00 A 0 0 1
- [27] .smp_locks PROGBITS c1c53000 c54000 005000 00 A 0 0 4
- [28] .bss NOBITS c1c58000 c59000 0695d4 00 WA 0 0 4096
- [29] .brk NOBITS c1cc2000 c59000 33e000 00 WA 0 0 1
- [30] .comment PROGBITS 00000000 c59000 000011 01 MS 0 0 1
- [31] .debug_aranges PROGBITS 00000000 c59018 009db8 00 0 0 8
- [32] .debug_pubnames PROGBITS 00000000 c62dd0 039b6e 00 0 0 1
- [33] .debug_info PROGBITS 00000000 c9c93e 28ece4e 00 0 0 1
- [34] .debug_abbrev PROGBITS 00000000 358978c 1135de 00 0 0 1
- [35] .debug_line PROGBITS 00000000 369cd6a 231452 00 0 0 1
- [36] .debug_frame PROGBITS 00000000 38ce1bc 080204 00 0 0 4
- [37] .debug_str PROGBITS 00000000 394e3c0 102eec 01 MS 0 0 1
- [38] .debug_loc PROGBITS 00000000 3a512ac 293e59 00 0 0 1
- [39] .debug_ranges PROGBITS 00000000 3ce5108 087710 00 0 0 8
- [40] .shstrtab STRTAB 00000000 3d6c818 0001e8 00 0 0 1
- [41] .symtab SYMTAB 00000000 3d6d0b8 0918c0 10 42 24385 4
- [42] .strtab STRTAB 00000000 3dfe978 0c8c69 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)
- Program Headers:
- Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
- LOAD 0x001000 0x00000000 0x01000000 0x20f786 0x20f786 R E 0x1000
- LOAD 0x211000 0xc1210000 0x01210000 0x110000 0x110000 R 0x1000
- LOAD 0x321000 0xc1320000 0x01320000 0x4e0000 0x4e0000 R E 0x1000
- LOAD 0x801000 0xc1800000 0x01800000 0x49970 0x49970 RW 0x1000
- LOAD 0x84a970 0xc1849970 0x01849970 0x3b6690 0x3b6690 RW 0x1000
- LOAD 0xc01000 0x00000000 0x01c00000 0x05698 0x05698 RW 0x1000
- LOAD 0xc07000 0x00c06000 0x01c06000 0x28000 0x28000 R E 0x1000
- LOAD 0xc2f000 0x00c2e000 0x40c2e000 0x00540 0x00540 R E 0x1000
- LOAD 0xc30000 0xc1c2f000 0x01c2f000 0x29000 0x3d1000 RWE 0x1000
- NOTE 0x211000 0xc1210000 0x01210000 0x00024 0x00024 0x4
- Section to Segment mapping:
- Segment Sections...
- 00 .text
- 01 .notes __ex_table .rodata __bug_table .pci_fixup __ksymtab __ksymtab_gpl __kcrctab __kcrctab_gpl __ksymtab_strings __init_rodata __param .rodata.page_aligned
- 02 .vmi.rom .module.text
- 03 .data
- 04 .init.begin
- 05 .data.percpu
- 06 .init.text
- 07 .exit.text
- 08 .init.data .x86_cpu_dev.init .parainstructions .altinstructions .altinstr_replacement .smp_locks .bss .brk
- 09 .notes
