Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHere is the output from nios2-elf-readelf -S cpuload.elf
I see that the .text section has a size of 0x0af0 and is at offset 0x38. That's about all that I can relate to the error. It would appear that this fits in without overlapping anything. Any idea what the error might be related to? <div class='quotetop'>QUOTE </div> --- Quote Start --- There are 27 section headers, starting at offset 0x54d8: 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 000038 000af0 00 AX 0 0 8 [ 2] .rela.text RELA 00000000 005910 000318 0c 25 1 4 [ 3] .rodata PROGBITS 00000000 000b28 000010 00 A 0 0 4 [ 4] .data PROGBITS 00000000 000b38 000018 00 WA 0 0 4 [ 5] .sdata PROGBITS 00000000 000b50 000018 00 WAp 0 0 4 [ 6] .sbss NOBITS 00000000 000b68 000004 00 WAp 0 0 4 [ 7] .bss NOBITS 00000000 000b68 000000 00 WA 0 0 1 [ 8] .comment PROGBITS 00000000 000b68 000160 00 0 0 1 [ 9] .debug_aranges PROGBITS 00000000 000cc8 0000c0 00 0 0 1 [10] .rela.debug_arang RELA 00000000 005c28 000090 0c 25 9 4 [11] .debug_pubnames PROGBITS 00000000 000d88 0000ee 00 0 0 1 [12] .rela.debug_pubna RELA 00000000 005cb8 000054 0c 25 b 4 [13] .debug_info PROGBITS 00000000 000e76 0017ca 00 0 0 1 [14] .rela.debug_info RELA 00000000 005d0c 001758 0c 25 d 4 [15] .debug_abbrev PROGBITS 00000000 002640 000a9d 00 0 0 1 [16] .debug_line PROGBITS 00000000 0030dd 000d15 00 0 0 1 [17] .rela.debug_line RELA 00000000 007464 000cc0 0c 25 10 4 [18] .debug_frame PROGBITS 00000000 003df4 0001ec 00 0 0 4 [19] .rela.debug_frame RELA 00000000 008124 0000c0 0c 25 12 4 [20] .debug_str PROGBITS 00000000 003fe0 001322 01 MS 0 0 1 [21] .ctors PROGBITS 00001324 005304 000014 00 WAX 0 0 4 [22] .dtors PROGBITS 00001338 005318 000014 00 WAX 0 0 4 [23] .debug_ranges PROGBITS 0000134c 00532c 0000c8 00 0 0 1 [24] .shstrtab STRTAB 00000000 0053f4 0000e1 00 0 0 1 [25] .symtab SYMTAB 00000000 0081e4 000860 10 26 39 4 [26] .strtab STRTAB 00000000 008a44 0005e1 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)[/b] --- Quote End ---