/usr/local/h8-elf/bin/h8300-elf-readelf -a kozos.elf ELF Header: Magic: 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, big endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: Renesas H8/300 Version: 0x1 Entry point address: 0xffc020 Start of program headers: 52 (bytes into file) Start of section headers: 1220 (bytes into file) Flags: 0x810000 Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 3 Size of section headers: 40 (bytes) Number of section headers: 8 Section header string table index: 5 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 00ffc020 000094 0003a2 00 AX 0 0 2 [ 2] .rodata PROGBITS 00ffc3c4 000438 000042 00 A 0 0 4 [ 3] .bss NOBITS 00ffc406 00047a 000020 00 WA 0 0 1 [ 4] .comment PROGBITS 00000000 00047a 000011 01 MS 0 0 1 [ 5] .shstrtab STRTAB 00000000 00048b 000037 00 0 0 1 [ 6] .symtab SYMTAB 00000000 000604 0004f0 10 7 50 4 [ 7] .strtab STRTAB 00000000 000af4 0001fa 00 0 0 1 Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings) I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown) O (extra OS processing required) o (OS specific), p (processor specific) There are no section groups in this file. Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x000000 0x00ffbf8c 0x00ffbf8c 0x00436 0x00436 R E 0x1 LOAD 0x000438 0x00ffc3c4 0x00ffc3c4 0x00042 0x00042 R 0x1 LOAD 0x00047a 0x00ffc406 0x00ffc406 0x00000 0x00020 RW 0x1 Section to Segment mapping: Segment Sections... 00 .text 01 .rodata 02 .bss There is no dynamic section in this file. There are no relocations in this file. There are no unwind sections in this file. Symbol table '.symtab' contains 79 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00ffc020 0 SECTION LOCAL DEFAULT 1 2: 00ffc3c4 0 SECTION LOCAL DEFAULT 2 3: 00ffc406 0 SECTION LOCAL DEFAULT 3 4: 00000000 0 SECTION LOCAL DEFAULT 4 5: 00ffc02a 0 NOTYPE LOCAL DEFAULT 1 .L1^B1 6: 00000000 0 FILE LOCAL DEFAULT ABS main.c 7: 00ffc406 32 OBJECT LOCAL DEFAULT 3 _buf___820 8: 00ffc07a 0 NOTYPE LOCAL DEFAULT 1 .L3 9: 00ffc038 0 NOTYPE LOCAL DEFAULT 1 .L7 10: 00ffc096 0 NOTYPE LOCAL DEFAULT 1 .L5 11: 00000000 0 FILE LOCAL DEFAULT ABS lib.c 12: 00ffc0ae 0 NOTYPE LOCAL DEFAULT 1 .L2 13: 00ffc0a8 0 NOTYPE LOCAL DEFAULT 1 .L3 14: 00ffc0ce 0 NOTYPE LOCAL DEFAULT 1 .L5 15: 00ffc0c6 0 NOTYPE LOCAL DEFAULT 1 .L6 16: 00ffc0fe 0 NOTYPE LOCAL DEFAULT 1 .L8 17: 00ffc0f8 0 NOTYPE LOCAL DEFAULT 1 .L9 18: 00ffc106 0 NOTYPE LOCAL DEFAULT 1 .L12 19: 00ffc10a 0 NOTYPE LOCAL DEFAULT 1 .L10 20: 00ffc0e8 0 NOTYPE LOCAL DEFAULT 1 .L11 21: 00ffc122 0 NOTYPE LOCAL DEFAULT 1 .L14 22: 00ffc120 0 NOTYPE LOCAL DEFAULT 1 .L15 23: 00ffc146 0 NOTYPE LOCAL DEFAULT 1 .L17 24: 00ffc138 0 NOTYPE LOCAL DEFAULT 1 .L18 25: 00ffc166 0 NOTYPE LOCAL DEFAULT 1 .L20 26: 00ffc162 0 NOTYPE LOCAL DEFAULT 1 .L21 27: 00ffc172 0 NOTYPE LOCAL DEFAULT 1 .L24 28: 00ffc176 0 NOTYPE LOCAL DEFAULT 1 .L22 29: 00ffc154 0 NOTYPE LOCAL DEFAULT 1 .L23 30: 00ffc19c 0 NOTYPE LOCAL DEFAULT 1 .L26 31: 00ffc196 0 NOTYPE LOCAL DEFAULT 1 .L27 32: 00ffc1aa 0 NOTYPE LOCAL DEFAULT 1 .L31 33: 00ffc1b2 0 NOTYPE LOCAL DEFAULT 1 .L28 34: 00ffc1a4 0 NOTYPE LOCAL DEFAULT 1 .L29 35: 00ffc1b0 0 NOTYPE LOCAL DEFAULT 1 .L32 36: 00ffc188 0 NOTYPE LOCAL DEFAULT 1 .L30 37: 00ffc1d6 0 NOTYPE LOCAL DEFAULT 1 .L34 38: 00ffc204 0 NOTYPE LOCAL DEFAULT 1 .L36 39: 00ffc22a 0 NOTYPE LOCAL DEFAULT 1 .L38 40: 00ffc224 0 NOTYPE LOCAL DEFAULT 1 .L39 41: 00ffc268 0 NOTYPE LOCAL DEFAULT 1 .L41 42: 00ffc24e 0 NOTYPE LOCAL DEFAULT 1 .L42 43: 00ffc29c 0 NOTYPE LOCAL DEFAULT 1 .L46 44: 00ffc2c2 0 NOTYPE LOCAL DEFAULT 1 .L52 45: 00ffc2a2 0 NOTYPE LOCAL DEFAULT 1 .L49 46: 00000000 0 FILE LOCAL DEFAULT ABS serial.c 47: 00ffc3c4 12 OBJECT LOCAL DEFAULT 2 _regs 48: 00ffc350 0 NOTYPE LOCAL DEFAULT 1 .L4 49: 00ffc3a6 0 NOTYPE LOCAL DEFAULT 1 .L8 50: 00ffc14c 48 NOTYPE GLOBAL DEFAULT 1 _strcmp 51: 00ffc1bc 46 NOTYPE GLOBAL DEFAULT 1 _putc 52: 00ffc3c2 0 NOTYPE GLOBAL DEFAULT 1 _etext 53: 00ffc1ea 44 NOTYPE GLOBAL DEFAULT 1 _getc 54: 00ffc216 36 NOTYPE GLOBAL DEFAULT 1 _puts 55: 00ffc406 0 NOTYPE GLOBAL DEFAULT 3 _bss_start 56: 00ffc020 0 NOTYPE GLOBAL DEFAULT 1 _text_start 57: 00ffc316 36 NOTYPE GLOBAL DEFAULT 1 _serial_is_send_enable 58: 00ffc390 50 NOTYPE GLOBAL DEFAULT 1 _serial_recv_byte 59: 00ffc23a 70 NOTYPE GLOBAL DEFAULT 1 _gets 60: 00ffc426 0 NOTYPE GLOBAL DEFAULT 3 _ebss 61: 00ffc0b8 36 NOTYPE GLOBAL DEFAULT 1 _memcpy 62: 00ffc09e 26 NOTYPE GLOBAL DEFAULT 1 _memset 63: 00ffc020 0 FUNC GLOBAL DEFAULT 1 _start 64: 00ffc406 0 NOTYPE GLOBAL DEFAULT 2 _data_start 65: 00ffc2e0 54 NOTYPE GLOBAL DEFAULT 1 _serial_init 66: 00ffc280 96 NOTYPE GLOBAL DEFAULT 1 _putxval 67: 00ffc130 28 NOTYPE GLOBAL DEFAULT 1 _strcpy 68: 00ffc0dc 56 NOTYPE GLOBAL DEFAULT 1 _memcmp 69: 00ffc17c 64 NOTYPE GLOBAL DEFAULT 1 _strncmp 70: 00ffc3c4 0 NOTYPE GLOBAL DEFAULT 2 _rodata_start 71: 00ffc406 0 NOTYPE GLOBAL DEFAULT 2 _edata 72: 00ffc428 0 NOTYPE GLOBAL DEFAULT ABS _end 73: 00ffc36c 36 NOTYPE GLOBAL DEFAULT 1 _serial_is_recv_enable 74: 00ffc114 28 NOTYPE GLOBAL DEFAULT 1 _strlen 75: 00ffc33a 50 NOTYPE GLOBAL DEFAULT 1 _serial_send_byte 76: 00ffff00 0 NOTYPE GLOBAL DEFAULT 4 _stack 77: 00ffc02c 114 NOTYPE GLOBAL DEFAULT 1 _main 78: 00ffc406 0 NOTYPE GLOBAL DEFAULT 2 _erodata No version information found in this file.