[roger@velox component]$ readelf -a test-component.co 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: REL (Relocatable file) Machine: Intel 80386 Version: 0x1 Entry point address: 0x0 Start of program headers: 0 (bytes into file) Start of section headers: 3652 (bytes into file) Flags: 0x0 Size of this header: 52 (bytes) Size of program headers: 0 (bytes) Number of program headers: 0 Size of section headers: 40 (bytes) Number of section headers: 26 Section header string table index: 23 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 000034 000056 00 AX 0 0 4 [ 2] .rel.text REL 00000000 001438 000030 08 24 1 4 [ 3] .data PROGBITS 00000000 00008c 000018 00 WA 0 0 4 [ 4] .rel.data REL 00000000 001468 000018 08 24 3 4 [ 5] .bss NOBITS 00000000 0000a4 000004 00 WA 0 0 4 [ 6] .debug_abbrev PROGBITS 00000000 0000a4 0001a9 00 0 0 1 [ 7] .debug_info PROGBITS 00000000 00024d 0004ed 00 0 0 1 [ 8] .rel.debug_info REL 00000000 001480 0002e0 08 24 7 4 [ 9] .debug_line PROGBITS 00000000 00073a 000108 00 0 0 1 [10] .rel.debug_line REL 00000000 001760 000008 08 24 9 4 [11] .rodata.str1.4 PROGBITS 00000000 000844 000064 01 AMS 0 0 4 [12] .rodata.str1.1 PROGBITS 00000000 0008a8 000017 01 AMS 0 0 1 [13] .debug_frame PROGBITS 00000000 0008c0 000048 00 0 0 4 [14] .rel.debug_frame REL 00000000 001768 000020 08 24 13 4 [15] .debug_loc PROGBITS 00000000 000908 000083 00 0 0 1 [16] .debug_pubnames PROGBITS 00000000 00098b 000045 00 0 0 1 [17] .rel.debug_pubnam REL 00000000 001788 000008 08 24 16 4 [18] .debug_aranges PROGBITS 00000000 0009d0 000020 00 0 0 1 [19] .rel.debug_arange REL 00000000 001790 000010 08 24 18 4 [20] .debug_str PROGBITS 00000000 0009f0 000358 01 MS 0 0 1 [21] .comment PROGBITS 00000000 000d48 000012 00 0 0 1 [22] .note.GNU-stack PROGBITS 00000000 000d5a 000000 00 0 0 1 [23] .shstrtab STRTAB 00000000 000d5a 0000e7 00 0 0 1 [24] .symtab SYMTAB 00000000 001254 000180 10 25 19 4 [25] .strtab STRTAB 00000000 0013d4 000062 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) There are no section groups in this file. There are no program headers in this file. Relocation section '.rel.text' at offset 0x1438 contains 6 entries: Offset Info Type Sym.Value Sym. Name 00000013 00000801 R_386_32 00000000 .rodata.str1.4 00000018 00001302 R_386_PC32 00000000 puts 0000001e 00000401 R_386_32 00000000 .bss 00000046 00000801 R_386_32 00000000 .rodata.str1.4 0000004b 00001502 R_386_PC32 00000000 printf 00000050 00001601 R_386_32 00000000 lcc_test Relocation section '.rel.data' at offset 0x1468 contains 3 entries: Offset Info Type Sym.Value Sym. Name 00000004 00000b01 R_386_32 00000000 .rodata.str1.1 00000008 00000201 R_386_32 00000000 .text 00000010 00001401 R_386_32 00000036 test_component_init Relocation section '.rel.debug_info' at offset 0x1480 contains 92 entries: Offset Info Type Sym.Value Sym. Name 00000006 00000501 R_386_32 00000000 .debug_abbrev 0000000c 00001001 R_386_32 00000000 .debug_str 00000011 00001001 R_386_32 00000000 .debug_str 00000015 00001001 R_386_32 00000000 .debug_str 00000019 00000201 R_386_32 00000000 .text 0000001d 00000201 R_386_32 00000000 .text 00000021 00000701 R_386_32 00000000 .debug_line 00000028 00001001 R_386_32 00000000 .debug_str 0000002f 00001001 R_386_32 00000000 .debug_str 0000003d 00001001 R_386_32 00000000 .debug_str 00000044 00001001 R_386_32 00000000 .debug_str 0000004b 00001001 R_386_32 00000000 .debug_str 00000052 00001001 R_386_32 00000000 .debug_str 00000059 00001001 R_386_32 00000000 .debug_str 00000060 00001001 R_386_32 00000000 .debug_str 00000067 00001001 R_386_32 00000000 .debug_str 0000006c 00001001 R_386_32 00000000 .debug_str 00000090 00001001 R_386_32 00000000 .debug_str 0000009b 00001001 R_386_32 00000000 .debug_str 000000a8 00001001 R_386_32 00000000 .debug_str 000000b5 00001001 R_386_32 00000000 .debug_str 000000c4 00001001 R_386_32 00000000 .debug_str 000000d3 00001001 R_386_32 00000000 .debug_str 000000f0 00001001 R_386_32 00000000 .debug_str 00000113 00001001 R_386_32 00000000 .debug_str 0000013e 00001001 R_386_32 00000000 .debug_str 00000159 00001001 R_386_32 00000000 .debug_str 00000183 00001001 R_386_32 00000000 .debug_str 00000191 00001001 R_386_32 00000000 .debug_str 000001ac 00001001 R_386_32 00000000 .debug_str 000001b7 00001001 R_386_32 00000000 .debug_str 000001c2 00001001 R_386_32 00000000 .debug_str 000001cd 00001001 R_386_32 00000000 .debug_str 000001d8 00001001 R_386_32 00000000 .debug_str 000001e6 00001001 R_386_32 00000000 .debug_str 000001f2 00001001 R_386_32 00000000 .debug_str 00000201 00001001 R_386_32 00000000 .debug_str 00000210 00001001 R_386_32 00000000 .debug_str 0000021f 00001001 R_386_32 00000000 .debug_str 0000022e 00001001 R_386_32 00000000 .debug_str 0000023d 00001001 R_386_32 00000000 .debug_str 0000024c 00001001 R_386_32 00000000 .debug_str 0000025b 00001001 R_386_32 00000000 .debug_str 0000026a 00001001 R_386_32 00000000 .debug_str 00000279 00001001 R_386_32 00000000 .debug_str 00000288 00001001 R_386_32 00000000 .debug_str 00000297 00001001 R_386_32 00000000 .debug_str 000002a6 00001001 R_386_32 00000000 .debug_str 000002b5 00001001 R_386_32 00000000 .debug_str 000002c4 00001001 R_386_32 00000000 .debug_str 000002d3 00001001 R_386_32 00000000 .debug_str 000002e2 00001001 R_386_32 00000000 .debug_str 000002f1 00001001 R_386_32 00000000 .debug_str 00000300 00001001 R_386_32 00000000 .debug_str 0000030f 00001001 R_386_32 00000000 .debug_str 0000031e 00001001 R_386_32 00000000 .debug_str 0000032d 00001001 R_386_32 00000000 .debug_str 0000033c 00001001 R_386_32 00000000 .debug_str 0000034b 00001001 R_386_32 00000000 .debug_str 0000035a 00001001 R_386_32 00000000 .debug_str 00000369 00001001 R_386_32 00000000 .debug_str 00000378 00001001 R_386_32 00000000 .debug_str 00000387 00001001 R_386_32 00000000 .debug_str 00000396 00001001 R_386_32 00000000 .debug_str 000003a6 00001001 R_386_32 00000000 .debug_str 000003ad 00001001 R_386_32 00000000 .debug_str 000003b9 00001001 R_386_32 00000000 .debug_str 000003c7 00001001 R_386_32 00000000 .debug_str 000003d5 00001001 R_386_32 00000000 .debug_str 00000416 00001001 R_386_32 00000000 .debug_str 00000421 00000201 R_386_32 00000000 .text 00000425 00000201 R_386_32 00000000 .text 00000429 00000d01 R_386_32 00000000 .debug_loc 00000432 00001001 R_386_32 00000000 .debug_str 0000043c 00000d01 R_386_32 00000000 .debug_loc 0000044e 00001001 R_386_32 00000000 .debug_str 0000045c 00000201 R_386_32 00000000 .text 00000460 00000201 R_386_32 00000000 .text 00000465 00001001 R_386_32 00000000 .debug_str 00000473 00001001 R_386_32 00000000 .debug_str 0000047e 00000201 R_386_32 00000000 .text 00000482 00000201 R_386_32 00000000 .text 00000486 00000d01 R_386_32 00000000 .debug_loc 0000048f 00001001 R_386_32 00000000 .debug_str 0000049e 00001001 R_386_32 00000000 .debug_str 000004aa 00000401 R_386_32 00000000 .bss 000004af 00001001 R_386_32 00000000 .debug_str 000004bc 00001701 R_386_32 00000010 test_data 000004c1 00001001 R_386_32 00000000 .debug_str 000004ce 00001001 R_386_32 00000000 .debug_str 000004db 00001001 R_386_32 00000000 .debug_str 000004e8 00001601 R_386_32 00000000 lcc_test Relocation section '.rel.debug_line' at offset 0x1760 contains 1 entries: Offset Info Type Sym.Value Sym. Name 000000f1 00000201 R_386_32 00000000 .text Relocation section '.rel.debug_frame' at offset 0x1768 contains 4 entries: Offset Info Type Sym.Value Sym. Name 00000018 00000c01 R_386_32 00000000 .debug_frame 0000001c 00000201 R_386_32 00000000 .text 00000034 00000c01 R_386_32 00000000 .debug_frame 00000038 00000201 R_386_32 00000000 .text Relocation section '.rel.debug_pubnames' at offset 0x1788 contains 1 entries: Offset Info Type Sym.Value Sym. Name 00000006 00000601 R_386_32 00000000 .debug_info Relocation section '.rel.debug_aranges' at offset 0x1790 contains 2 entries: Offset Info Type Sym.Value Sym. Name 00000006 00000601 R_386_32 00000000 .debug_info 00000010 00000201 R_386_32 00000000 .text There are no unwind sections in this file. Symbol table '.symtab' contains 24 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FILE LOCAL DEFAULT ABS test-component.c 2: 00000000 0 SECTION LOCAL DEFAULT 1 3: 00000000 0 SECTION LOCAL DEFAULT 3 4: 00000000 0 SECTION LOCAL DEFAULT 5 5: 00000000 0 SECTION LOCAL DEFAULT 6 6: 00000000 0 SECTION LOCAL DEFAULT 7 7: 00000000 0 SECTION LOCAL DEFAULT 9 8: 00000000 0 SECTION LOCAL DEFAULT 11 9: 00000000 54 FUNC LOCAL DEFAULT 1 process_thread_lcc_test 10: 00000000 4 OBJECT LOCAL DEFAULT 5 _tmp 11: 00000000 0 SECTION LOCAL DEFAULT 12 12: 00000000 0 SECTION LOCAL DEFAULT 13 13: 00000000 0 SECTION LOCAL DEFAULT 15 14: 00000000 0 SECTION LOCAL DEFAULT 16 15: 00000000 0 SECTION LOCAL DEFAULT 18 16: 00000000 0 SECTION LOCAL DEFAULT 20 17: 00000000 0 SECTION LOCAL DEFAULT 22 18: 00000000 0 SECTION LOCAL DEFAULT 21 19: 00000000 0 NOTYPE GLOBAL DEFAULT UND puts 20: 00000036 32 FUNC GLOBAL DEFAULT 1 test_component_init 21: 00000000 0 NOTYPE GLOBAL DEFAULT UND printf 22: 00000000 16 OBJECT GLOBAL DEFAULT 3 lcc_test 23: 00000010 8 OBJECT GLOBAL DEFAULT 3 test_data No version information found in this file.