Object file dump of 'hello.o' String index: 0x00000210 ELF FILE ELF HEADER: ELF 32bit Data encoding: ELFDATA2LSB (little-endian) Version: header 1 - e_version 1 Machine: ARM Entry: 0 Program header table's file offset: 0 Section header table's file offset: 64 Flags: 0 Elf header size: 52 Size of program header entry: 0 No of entries in program header table: 0 Size of section header entry: 40 No of entries in section header table: 9 Section header table index of string table: 5 SECTION HEADER: 0 File pos 0x00000040 Name: 0 - Type: 0 Flags: 0 Address: 0 Offset: 0x00000000 Size: 0 Link: 0 Info: 0 Align: 0 EntSize: 0 Raw content: SECTION HEADER: 1 File pos 0x00000068 Name: 1 - .text Type: 1 Flags: 6 Address: 0 Offset: 0x000001B0 Size: 36 Link: 0 Info: 0 Align: 4 EntSize: 0 9 instructions: 000000 E1A0C00D MOV ip, sp 000004 E92DD800 STMFD sp!, {r11,ip,lr,pc} 000008 E24CB004 SUB r11, ip, #4 00000C EB000000 BL &00000014 000010 E59F0004 LDR r0, &0000001C 000014 EB000000 BL &0000001C 000018 EA000000 B &00000020 00001C 00000000 ANDEQ r0, r0, r0 000020 E91BA800 LDMDB r11, {r11,sp,pc} Raw content: 0x000001B0 0D C0 A0 E1 00 D8 2D E9 04 B0 4C E2 00 00 00 EB ......-...L..... 0x000001C0 04 00 9F E5 00 00 00 EB 00 00 00 EA 00 00 00 00 ................ 0x000001D0 00 A8 1B E9 -- -- -- -- -- -- -- -- -- -- -- -- ....------------ SECTION HEADER: 2 File pos 0x00000090 Name: 7 - .data Type: 1 Flags: 3 Address: 0 Offset: 0x000001E0 Size: 0 Link: 0 Info: 0 Align: 4 EntSize: 0 Raw content: SECTION HEADER: 3 File pos 0x000000B8 Name: 13 - .rodata Type: 1 Flags: 2 Address: 0 Offset: 0x000001E0 Size: 13 Link: 0 Info: 0 Align: 1 EntSize: 0 Raw content: 0x000001E0 48 65 6C 6C 6F 20 57 6F 72 6C 64 0A 00 -- -- -- Hello.World..--- SECTION HEADER: 4 File pos 0x000000E0 Name: 21 - .comment Type: 1 Flags: 0 Address: 0 Offset: 0x000001F0 Size: 28 Link: 0 Info: 0 Align: 1 EntSize: 0 Raw content: 0x000001F0 00 54 68 65 20 4E 65 74 77 69 64 65 20 41 73 73 .The.Netwide.Ass 0x00000200 65 6D 62 6C 65 72 20 30 2E 31 30 00 -- -- -- -- embler.0.10.---- SECTION HEADER: 5 File pos 0x00000108 Name: 30 - .shstrtab Type: 3 Flags: 0 Address: 0 Offset: 0x00000210 Size: 66 Link: 0 Info: 0 Align: 1 EntSize: 0 9 shstrings: [0] [0] [1] .text [1] [2] .data [7] [3] .rodata [13] [4] .comment [21] [5] .shstrtab [30] [6] .symtab [40] [7] .strtab [48] [8] .rel.text [56] Raw content: 0x00000210 00 2E 74 65 78 74 00 2E 64 61 74 61 00 2E 72 6F ..text..data..ro 0x00000220 64 61 74 61 00 2E 63 6F 6D 6D 65 6E 74 00 2E 73 data..comment..s 0x00000230 68 73 74 72 74 61 62 00 2E 73 79 6D 74 61 62 00 hstrtab..symtab. 0x00000240 2E 73 74 72 74 61 62 00 2E 72 65 6C 2E 74 65 78 .strtab..rel.tex 0x00000250 74 00 -- -- -- -- -- -- -- -- -- -- -- -- -- -- t.-------------- SECTION HEADER: 6 File pos 0x00000130 Name: 40 - .symtab Type: 2 Flags: 0 Address: 0 Offset: 0x00000260 Size: 224 Link: 7 Info: 10 Align: 4 EntSize: 16 14 symbols: Symbol: 00 st_name 00000000 st_value 00000000 st_size 00000000 st_info 00 local st_other 00 st_shndx 0000 -undefined- Symbol: 01 st_name 00000001 hello.s st_value 00000000 st_size 00000000 st_info 04 local st_other 00 st_shndx FFF1 reserved section Symbol: 02 st_name 00000000 st_value 00000000 st_size 00000000 st_info 03 local st_other 00 st_shndx FFF1 reserved section Symbol: 03 st_name 00000000 st_value 00000000 st_size 00000000 st_info 03 local st_other 00 st_shndx 0001 .text Symbol: 04 st_name 00000000 st_value 00000000 st_size 00000000 st_info 03 local st_other 00 st_shndx 0002 .data Symbol: 05 st_name 00000000 st_value 00000000 st_size 00000000 st_info 03 local st_other 00 st_shndx 0003 .rodata Symbol: 06 st_name 0000002D LC0 st_value 00000000 st_size 00000000 st_info 00 local st_other 00 st_shndx 0003 .rodata Symbol: 07 st_name 00000036 L4 st_value 0000001C st_size 00000000 st_info 00 local st_other 00 st_shndx 0001 .text Symbol: 08 st_name 00000039 L3 st_value 00000020 st_size 00000000 st_info 00 local st_other 00 st_shndx 0001 .text Symbol: 09 st_name 0000003C END st_value 00000024 st_size 00000000 st_info 00 local st_other 00 st_shndx 0001 .text Symbol: 0A st_name 00000009 __intrinsic_switch st_value 00000000 st_size 00000000 st_info 10 global st_other 00 st_shndx 0000 -undefined- Symbol: 0B st_name 0000001C __gccmain st_value 00000000 st_size 00000000 st_info 10 global st_other 00 st_shndx 0000 -undefined- Symbol: 0C st_name 00000026 printf st_value 00000000 st_size 00000000 st_info 10 global st_other 00 st_shndx 0000 -undefined- Symbol: 0D st_name 00000031 main st_value 00000000 st_size 00000000 st_info 10 global st_other 00 st_shndx 0001 .text Raw content: 0x00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0x00000270 01 00 00 00 00 00 00 00 00 00 00 00 04 00 F1 FF ................ 0x00000280 00 00 00 00 00 00 00 00 00 00 00 00 03 00 F1 FF ................ 0x00000290 00 00 00 00 00 00 00 00 00 00 00 00 03 00 01 00 ................ 0x000002A0 00 00 00 00 00 00 00 00 00 00 00 00 03 00 02 00 ................ 0x000002B0 00 00 00 00 00 00 00 00 00 00 00 00 03 00 03 00 ................ 0x000002C0 2D 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00 -............... 0x000002D0 36 00 00 00 1C 00 00 00 00 00 00 00 00 00 01 00 6............... 0x000002E0 39 00 00 00 20 00 00 00 00 00 00 00 00 00 01 00 9............... 0x000002F0 3C 00 00 00 24 00 00 00 00 00 00 00 00 00 01 00 <...$........... 0x00000300 09 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 ................ 0x00000310 1C 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 ................ 0x00000320 26 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 &............... 0x00000330 31 00 00 00 00 00 00 00 00 00 00 00 10 00 01 00 1............... SECTION HEADER: 7 File pos 0x00000158 Name: 48 - .strtab Type: 3 Flags: 0 Address: 0 Offset: 0x00000340 Size: 64 Link: 0 Info: 0 Align: 1 EntSize: 0 Raw content: 0x00000340 00 68 65 6C 6C 6F 2E 73 00 5F 5F 69 6E 74 72 69 .hello.s.__intri 0x00000350 6E 73 69 63 5F 73 77 69 74 63 68 00 5F 5F 67 63 nsic_switch.__gc 0x00000360 63 6D 61 69 6E 00 70 72 69 6E 74 66 00 4C 43 30 cmain.printf.LC0 0x00000370 00 6D 61 69 6E 00 4C 34 00 4C 33 00 45 4E 44 00 .main.L4.L3.END. SECTION HEADER: 8 File pos 0x00000180 Name: 56 - .rel.text Type: 9 Flags: 0 Address: 0 Offset: 0x00000380 Size: 24 Link: 6 Info: 1 Align: 4 EntSize: 8 3 relocations: Relocation: r_offset 0000000C r_info 00000B01 symbol 11 __gccmain -undefined- | [R_ARM_PC24] Relocation: r_offset 00000014 r_info 00000C01 symbol 12 printf -undefined- | [R_ARM_PC24] Relocation: r_offset 0000001C r_info 00000502 symbol 5 .rodata | .shstrtab [R_ARM_ABS32] Raw content: 0x00000380 0C 00 00 00 01 0B 00 00 14 00 00 00 01 0C 00 00 ................ 0x00000390 1C 00 00 00 02 05 00 00 -- -- -- -- -- -- -- -- ........-------- END