From: Spencer O. <nt...@us...> - 2009-10-26 23:43:58
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 8f3b28ff4199a64d6f7aff1584a48f18661969ae (commit) from d87ee640c7a8e77a34d2d72185be157a97b39061 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8f3b28ff4199a64d6f7aff1584a48f18661969ae Author: Spencer Oliver <nt...@us...> Date: Mon Oct 26 22:39:24 2009 +0000 Fix incorrect line endings Signed-off-by: Spencer Oliver <nt...@us...> diff --git a/tcl/test/selftest.cfg b/tcl/test/selftest.cfg old mode 100644 new mode 100755 index d1a00ae..912d1c0 --- a/tcl/test/selftest.cfg +++ b/tcl/test/selftest.cfg @@ -1,17 +1,17 @@ - -add_help_text selftest "run selftest using working ram <tmpfile> <address> <size>" - -proc selftest {tmpfile address size} { - - for {set i 0} {$i < $size } {set i [expr $i+4]} { - mww [expr $address+$i] $i - } - - for {set i 0} {$i < 10 } {set i [expr $i+1]} { - puts "Test iteration $i" - dump_image $tmpfile $address $size - verify_image $tmpfile $address bin - load_image $tmpfile $address bin - } - -} \ No newline at end of file + +add_help_text selftest "run selftest using working ram <tmpfile> <address> <size>" + +proc selftest {tmpfile address size} { + + for {set i 0} {$i < $size } {set i [expr $i+4]} { + mww [expr $address+$i] $i + } + + for {set i 0} {$i < 10 } {set i [expr $i+1]} { + puts "Test iteration $i" + dump_image $tmpfile $address $size + verify_image $tmpfile $address bin + load_image $tmpfile $address bin + } + +} diff --git a/testing/examples/AT91R40008Test/test_ram.hex b/testing/examples/AT91R40008Test/test_ram.hex index f3e72d9..28a1f40 100644 --- a/testing/examples/AT91R40008Test/test_ram.hex +++ b/testing/examples/AT91R40008Test/test_ram.hex @@ -1,23 +1,23 @@ -:1000000018F09FE518F09FE518F09FE518F09FE5C0 -:1000100018F09FE518F09FE518F09FE518F09FE5B0 -:1000200040000000B0000000B4000000B800000074 -:10003000BC00000000000000C0000000C400000080 -:10004000DBF021E37CD09FE5D7F021E378D09FE57A -:10005000D1F021E374D09FE5D2F021E370D09FE589 -:10006000D3F021E36CD09FE56C109FE56C209FE5F9 -:100070000030A0E3020051E104308114FCFFFF1ABC -:1000800000000FE1C000C0E300F029E10000A0E3A0 -:100090000010A0E348209FE50FE0A0E112FF2FE150 -:1000A0000000A0E10000A0E10000A0E1FBFFFFEAEA -:1000B000FEFFFFEAFEFFFFEAFEFFFFEAFEFFFFEAA8 -:1000C000FEFFFFEAFEFFFFEA000600000005000059 -:1000D0000003000000040000000A00004C010000C2 -:1000E0004C010000E80000000CD04DE20130A0E31C -:1000F00000308DE50230A0E304308DE50030A0E350 -:1001000008308DE538309FE5002093E500309DE50F -:10011000023083E000308DE500309DE5013083E260 -:1001200000308DE504309DE5013083E204308DE53B -:1001300000209DE504309DE5033082E008308DE528 -:0C014000F4FFFFEA480100000700000087 -:0400000300000040B9 -:00000001FF +:1000000018F09FE518F09FE518F09FE518F09FE5C0 +:1000100018F09FE518F09FE518F09FE518F09FE5B0 +:1000200040000000B0000000B4000000B800000074 +:10003000BC00000000000000C0000000C400000080 +:10004000DBF021E37CD09FE5D7F021E378D09FE57A +:10005000D1F021E374D09FE5D2F021E370D09FE589 +:10006000D3F021E36CD09FE56C109FE56C209FE5F9 +:100070000030A0E3020051E104308114FCFFFF1ABC +:1000800000000FE1C000C0E300F029E10000A0E3A0 +:100090000010A0E348209FE50FE0A0E112FF2FE150 +:1000A0000000A0E10000A0E10000A0E1FBFFFFEAEA +:1000B000FEFFFFEAFEFFFFEAFEFFFFEAFEFFFFEAA8 +:1000C000FEFFFFEAFEFFFFEA000600000005000059 +:1000D0000003000000040000000A00004C010000C2 +:1000E0004C010000E80000000CD04DE20130A0E31C +:1000F00000308DE50230A0E304308DE50030A0E350 +:1001000008308DE538309FE5002093E500309DE50F +:10011000023083E000308DE500309DE5013083E260 +:1001200000308DE504309DE5013083E204308DE53B +:1001300000209DE504309DE5033082E008308DE528 +:0C014000F4FFFFEA480100000700000087 +:0400000300000040B9 +:00000001FF diff --git a/testing/examples/AT91R40008Test/test_ram.map b/testing/examples/AT91R40008Test/test_ram.map index 5377a5d..1df9053 100644 --- a/testing/examples/AT91R40008Test/test_ram.map +++ b/testing/examples/AT91R40008Test/test_ram.map @@ -1,170 +1,170 @@ - -Memory Configuration - -Name Origin Length Attributes -ram 0x00000000 0x00040000 -*default* 0x00000000 0xffffffff - -Linker script and memory map - -LOAD ./src/crt.o -LOAD ./src/main.o -START GROUP -LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a -LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a -END GROUP - 0x00000100 FIQ_STACK_SIZE = 0x100 - 0x00000100 IRQ_STACK_SIZE = 0x100 - 0x00000100 ABT_STACK_SIZE = 0x100 - 0x00000100 UND_STACK_SIZE = 0x100 - 0x00000400 SVC_STACK_SIZE = 0x400 - -.text 0x00000000 0x14c - *(.vectors) - .vectors 0x00000000 0x40 ./src/crt.o - 0x00000040 . = ALIGN (0x4) - *(.init) - .init 0x00000040 0xa8 ./src/crt.o - 0x000000c4 FIQHandler - 0x000000b8 PAbortHandler - 0x000000a0 ExitFunction - 0x00000040 ResetHandler - 0x000000bc DAbortHandler - 0x000000c0 IRQHandler - 0x000000b0 UndefHandler - 0x000000e8 . = ALIGN (0x4) - *(.text) - .text 0x000000e8 0x0 ./src/crt.o - .text 0x000000e8 0x60 ./src/main.o - 0x000000e8 main - 0x00000148 . = ALIGN (0x4) - *(.rodata) - .rodata 0x00000148 0x4 ./src/main.o - 0x0000014c . = ALIGN (0x4) - *(.rodata*) - 0x0000014c . = ALIGN (0x4) - *(.glue_7t) - .glue_7t 0x0000014c 0x0 ./src/crt.o - .glue_7t 0x0000014c 0x0 ./src/main.o - 0x0000014c . = ALIGN (0x4) - *(.glue_7) - .glue_7 0x0000014c 0x0 ./src/crt.o - .glue_7 0x0000014c 0x0 ./src/main.o - 0x0000014c . = ALIGN (0x4) - 0x0000014c etext = . - -.vfp11_veneer 0x00000000 0x0 - .vfp11_veneer 0x00000000 0x0 ./src/crt.o - .vfp11_veneer 0x00000000 0x0 ./src/main.o - -.data 0x0000014c 0x0 - 0x0000014c PROVIDE (__data_start, .) - *(.data) - .data 0x0000014c 0x0 ./src/crt.o - .data 0x0000014c 0x0 ./src/main.o - 0x0000014c . = ALIGN (0x4) - 0x0000014c edata = . - 0x0000014c _edata = . - 0x0000014c PROVIDE (__data_end, .) - -.bss 0x0000014c 0x8b4 - 0x0000014c PROVIDE (__bss_start, .) - *(.bss) - .bss 0x0000014c 0x0 ./src/crt.o - .bss 0x0000014c 0x0 ./src/main.o - *(COMMON) - 0x0000014c . = ALIGN (0x4) - 0x0000014c PROVIDE (__bss_end, .) - 0x00000200 . = ALIGN (0x100) - *fill* 0x0000014c 0xb4 00 - 0x00000200 PROVIDE (__stack_start, .) - 0x00000200 PROVIDE (__stack_fiq_start, .) - 0x00000300 . = (. + FIQ_STACK_SIZE) - *fill* 0x00000200 0x100 00 - 0x00000300 . = ALIGN (0x4) - 0x00000300 PROVIDE (__stack_fiq_end, .) - 0x00000300 PROVIDE (__stack_irq_start, .) - 0x00000400 . = (. + IRQ_STACK_SIZE) - *fill* 0x00000300 0x100 00 - 0x00000400 . = ALIGN (0x4) - 0x00000400 PROVIDE (__stack_irq_end, .) - 0x00000400 PROVIDE (__stack_abt_start, .) - 0x00000500 . = (. + ABT_STACK_SIZE) - *fill* 0x00000400 0x100 00 - 0x00000500 . = ALIGN (0x4) - 0x00000500 PROVIDE (__stack_abt_end, .) - 0x00000500 PROVIDE (__stack_und_start, .) - 0x00000600 . = (. + UND_STACK_SIZE) - *fill* 0x00000500 0x100 00 - 0x00000600 . = ALIGN (0x4) - 0x00000600 PROVIDE (__stack_und_end, .) - 0x00000600 PROVIDE (__stack_svc_start, .) - 0x00000a00 . = (. + SVC_STACK_SIZE) - *fill* 0x00000600 0x400 00 - 0x00000a00 . = ALIGN (0x4) - 0x00000a00 PROVIDE (__stack_svc_end, .) - 0x00000a00 PROVIDE (__stack_end, .) - 0x00000a00 PROVIDE (__heap_start, .) -OUTPUT(test_ram.elf elf32-littlearm) - -.ARM.attributes - 0x00000000 0x10 - .ARM.attributes - 0x00000000 0x10 ./src/crt.o - .ARM.attributes - 0x00000010 0x10 ./src/main.o - -.debug_line 0x00000000 0xc8 - .debug_line 0x00000000 0x71 ./src/crt.o - .debug_line 0x00000071 0x57 ./src/main.o - -.debug_info 0x00000000 0x208 - .debug_info 0x00000000 0x77 ./src/crt.o - .debug_info 0x00000077 0x191 ./src/main.o - -.debug_abbrev 0x00000000 0x76 - .debug_abbrev 0x00000000 0x12 ./src/crt.o - .debug_abbrev 0x00000012 0x64 ./src/main.o - -.debug_aranges 0x00000000 0x48 - .debug_aranges - 0x00000000 0x28 ./src/crt.o - .debug_aranges - 0x00000028 0x20 ./src/main.o - -.debug_ranges 0x00000000 0x20 - .debug_ranges 0x00000000 0x20 ./src/crt.o - -.debug_frame 0x00000000 0x24 - .debug_frame 0x00000000 0x24 ./src/main.o - -.debug_loc 0x00000000 0x1f - .debug_loc 0x00000000 0x1f ./src/main.o - -.debug_pubnames - 0x00000000 0x1b - .debug_pubnames - 0x00000000 0x1b ./src/main.o - -.comment 0x00000000 0x12 - .comment 0x00000000 0x12 ./src/main.o - -Cross Reference Table - -Symbol File -DAbortHandler ./src/crt.o -ExitFunction ./src/crt.o -FIQHandler ./src/crt.o -IRQHandler ./src/crt.o -PAbortHandler ./src/crt.o -ResetHandler ./src/crt.o -UndefHandler ./src/crt.o -__bss_end ./src/crt.o -__bss_start ./src/crt.o -__stack_abt_end ./src/crt.o -__stack_fiq_end ./src/crt.o -__stack_irq_end ./src/crt.o -__stack_svc_end ./src/crt.o -__stack_und_end ./src/crt.o -main ./src/main.o - ./src/crt.o + +Memory Configuration + +Name Origin Length Attributes +ram 0x00000000 0x00040000 +*default* 0x00000000 0xffffffff + +Linker script and memory map + +LOAD ./src/crt.o +LOAD ./src/main.o +START GROUP +LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a +LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a +END GROUP + 0x00000100 FIQ_STACK_SIZE = 0x100 + 0x00000100 IRQ_STACK_SIZE = 0x100 + 0x00000100 ABT_STACK_SIZE = 0x100 + 0x00000100 UND_STACK_SIZE = 0x100 + 0x00000400 SVC_STACK_SIZE = 0x400 + +.text 0x00000000 0x14c + *(.vectors) + .vectors 0x00000000 0x40 ./src/crt.o + 0x00000040 . = ALIGN (0x4) + *(.init) + .init 0x00000040 0xa8 ./src/crt.o + 0x000000c4 FIQHandler + 0x000000b8 PAbortHandler + 0x000000a0 ExitFunction + 0x00000040 ResetHandler + 0x000000bc DAbortHandler + 0x000000c0 IRQHandler + 0x000000b0 UndefHandler + 0x000000e8 . = ALIGN (0x4) + *(.text) + .text 0x000000e8 0x0 ./src/crt.o + .text 0x000000e8 0x60 ./src/main.o + 0x000000e8 main + 0x00000148 . = ALIGN (0x4) + *(.rodata) + .rodata 0x00000148 0x4 ./src/main.o + 0x0000014c . = ALIGN (0x4) + *(.rodata*) + 0x0000014c . = ALIGN (0x4) + *(.glue_7t) + .glue_7t 0x0000014c 0x0 ./src/crt.o + .glue_7t 0x0000014c 0x0 ./src/main.o + 0x0000014c . = ALIGN (0x4) + *(.glue_7) + .glue_7 0x0000014c 0x0 ./src/crt.o + .glue_7 0x0000014c 0x0 ./src/main.o + 0x0000014c . = ALIGN (0x4) + 0x0000014c etext = . + +.vfp11_veneer 0x00000000 0x0 + .vfp11_veneer 0x00000000 0x0 ./src/crt.o + .vfp11_veneer 0x00000000 0x0 ./src/main.o + +.data 0x0000014c 0x0 + 0x0000014c PROVIDE (__data_start, .) + *(.data) + .data 0x0000014c 0x0 ./src/crt.o + .data 0x0000014c 0x0 ./src/main.o + 0x0000014c . = ALIGN (0x4) + 0x0000014c edata = . + 0x0000014c _edata = . + 0x0000014c PROVIDE (__data_end, .) + +.bss 0x0000014c 0x8b4 + 0x0000014c PROVIDE (__bss_start, .) + *(.bss) + .bss 0x0000014c 0x0 ./src/crt.o + .bss 0x0000014c 0x0 ./src/main.o + *(COMMON) + 0x0000014c . = ALIGN (0x4) + 0x0000014c PROVIDE (__bss_end, .) + 0x00000200 . = ALIGN (0x100) + *fill* 0x0000014c 0xb4 00 + 0x00000200 PROVIDE (__stack_start, .) + 0x00000200 PROVIDE (__stack_fiq_start, .) + 0x00000300 . = (. + FIQ_STACK_SIZE) + *fill* 0x00000200 0x100 00 + 0x00000300 . = ALIGN (0x4) + 0x00000300 PROVIDE (__stack_fiq_end, .) + 0x00000300 PROVIDE (__stack_irq_start, .) + 0x00000400 . = (. + IRQ_STACK_SIZE) + *fill* 0x00000300 0x100 00 + 0x00000400 . = ALIGN (0x4) + 0x00000400 PROVIDE (__stack_irq_end, .) + 0x00000400 PROVIDE (__stack_abt_start, .) + 0x00000500 . = (. + ABT_STACK_SIZE) + *fill* 0x00000400 0x100 00 + 0x00000500 . = ALIGN (0x4) + 0x00000500 PROVIDE (__stack_abt_end, .) + 0x00000500 PROVIDE (__stack_und_start, .) + 0x00000600 . = (. + UND_STACK_SIZE) + *fill* 0x00000500 0x100 00 + 0x00000600 . = ALIGN (0x4) + 0x00000600 PROVIDE (__stack_und_end, .) + 0x00000600 PROVIDE (__stack_svc_start, .) + 0x00000a00 . = (. + SVC_STACK_SIZE) + *fill* 0x00000600 0x400 00 + 0x00000a00 . = ALIGN (0x4) + 0x00000a00 PROVIDE (__stack_svc_end, .) + 0x00000a00 PROVIDE (__stack_end, .) + 0x00000a00 PROVIDE (__heap_start, .) +OUTPUT(test_ram.elf elf32-littlearm) + +.ARM.attributes + 0x00000000 0x10 + .ARM.attributes + 0x00000000 0x10 ./src/crt.o + .ARM.attributes + 0x00000010 0x10 ./src/main.o + +.debug_line 0x00000000 0xc8 + .debug_line 0x00000000 0x71 ./src/crt.o + .debug_line 0x00000071 0x57 ./src/main.o + +.debug_info 0x00000000 0x208 + .debug_info 0x00000000 0x77 ./src/crt.o + .debug_info 0x00000077 0x191 ./src/main.o + +.debug_abbrev 0x00000000 0x76 + .debug_abbrev 0x00000000 0x12 ./src/crt.o + .debug_abbrev 0x00000012 0x64 ./src/main.o + +.debug_aranges 0x00000000 0x48 + .debug_aranges + 0x00000000 0x28 ./src/crt.o + .debug_aranges + 0x00000028 0x20 ./src/main.o + +.debug_ranges 0x00000000 0x20 + .debug_ranges 0x00000000 0x20 ./src/crt.o + +.debug_frame 0x00000000 0x24 + .debug_frame 0x00000000 0x24 ./src/main.o + +.debug_loc 0x00000000 0x1f + .debug_loc 0x00000000 0x1f ./src/main.o + +.debug_pubnames + 0x00000000 0x1b + .debug_pubnames + 0x00000000 0x1b ./src/main.o + +.comment 0x00000000 0x12 + .comment 0x00000000 0x12 ./src/main.o + +Cross Reference Table + +Symbol File +DAbortHandler ./src/crt.o +ExitFunction ./src/crt.o +FIQHandler ./src/crt.o +IRQHandler ./src/crt.o +PAbortHandler ./src/crt.o +ResetHandler ./src/crt.o +UndefHandler ./src/crt.o +__bss_end ./src/crt.o +__bss_start ./src/crt.o +__stack_abt_end ./src/crt.o +__stack_fiq_end ./src/crt.o +__stack_irq_end ./src/crt.o +__stack_svc_end ./src/crt.o +__stack_und_end ./src/crt.o +main ./src/main.o + ./src/crt.o diff --git a/testing/examples/LPC2148Test/test_ram.hex b/testing/examples/LPC2148Test/test_ram.hex index 109ebc5..6caf035 100644 --- a/testing/examples/LPC2148Test/test_ram.hex +++ b/testing/examples/LPC2148Test/test_ram.hex @@ -1,26 +1,26 @@ -:020000044000BA -:1000000018F09FE518F09FE518F09FE518F09FE5C0 -:1000100018F09FE5606FA0B818F09FE518F09FE515 -:1000200040000040D0000040D4000040D800004014 -:10003000DC00004000000000E0000040E400004060 -:100040000000A0E10000A0E10000A0E10000A0E1AC -:100050000000A0E10000A0E10000A0E10000A0E19C -:10006000DBF021E37CD09FE5D7F021E378D09FE55A -:10007000D1F021E374D09FE5D2F021E370D09FE569 -:10008000D3F021E36CD09FE56C109FE56C209FE5D9 -:100090000030A0E3020051E104308114FCFFFF1A9C -:1000A00000000FE1C000C0E300F029E10000A0E380 -:1000B0000010A0E348209FE50FE0A0E112FF2FE130 -:1000C0000000A0E10000A0E10000A0E1FBFFFFEACA -:1000D000FEFFFFEAFEFFFFEAFEFFFFEAFEFFFFEA88 -:1000E000FEFFFFEAFEFFFFEA0006004000050040B9 -:1000F0000003004000040040000A00406C01004082 -:100100006C010040080100400CD04DE20130A0E33A -:1001100000308DE50230A0E304308DE50030A0E32F -:1001200008308DE538309FE5002093E500309DE5EF -:10013000023083E000308DE500309DE5013083E240 -:1001400000308DE504309DE5013083E204308DE51B -:1001500000209DE504309DE5033082E008308DE508 -:0C016000F4FFFFEA680100400700000007 -:040000054000004077 -:00000001FF +:020000044000BA +:1000000018F09FE518F09FE518F09FE518F09FE5C0 +:1000100018F09FE5606FA0B818F09FE518F09FE515 +:1000200040000040D0000040D4000040D800004014 +:10003000DC00004000000000E0000040E400004060 +:100040000000A0E10000A0E10000A0E10000A0E1AC +:100050000000A0E10000A0E10000A0E10000A0E19C +:10006000DBF021E37CD09FE5D7F021E378D09FE55A +:10007000D1F021E374D09FE5D2F021E370D09FE569 +:10008000D3F021E36CD09FE56C109FE56C209FE5D9 +:100090000030A0E3020051E104308114FCFFFF1A9C +:1000A00000000FE1C000C0E300F029E10000A0E380 +:1000B0000010A0E348209FE50FE0A0E112FF2FE130 +:1000C0000000A0E10000A0E10000A0E1FBFFFFEACA +:1000D000FEFFFFEAFEFFFFEAFEFFFFEAFEFFFFEA88 +:1000E000FEFFFFEAFEFFFFEA0006004000050040B9 +:1000F0000003004000040040000A00406C01004082 +:100100006C010040080100400CD04DE20130A0E33A +:1001100000308DE50230A0E304308DE50030A0E32F +:1001200008308DE538309FE5002093E500309DE5EF +:10013000023083E000308DE500309DE5013083E240 +:1001400000308DE504309DE5013083E204308DE51B +:1001500000209DE504309DE5033082E008308DE508 +:0C016000F4FFFFEA680100400700000007 +:040000054000004077 +:00000001FF diff --git a/testing/examples/LPC2148Test/test_ram.map b/testing/examples/LPC2148Test/test_ram.map index 20baad2..73d4e72 100644 --- a/testing/examples/LPC2148Test/test_ram.map +++ b/testing/examples/LPC2148Test/test_ram.map @@ -1,170 +1,170 @@ - -Memory Configuration - -Name Origin Length Attributes -ram 0x40000000 0x00008000 -*default* 0x00000000 0xffffffff - -Linker script and memory map - -LOAD ./src/crt.o -LOAD ./src/main.o -START GROUP -LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a -LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a -END GROUP - 0x00000100 FIQ_STACK_SIZE = 0x100 - 0x00000100 IRQ_STACK_SIZE = 0x100 - 0x00000100 ABT_STACK_SIZE = 0x100 - 0x00000100 UND_STACK_SIZE = 0x100 - 0x00000400 SVC_STACK_SIZE = 0x400 - -.text 0x40000000 0x16c - *(.vectors) - .vectors 0x40000000 0x40 ./src/crt.o - 0x40000040 . = ALIGN (0x4) - *(.init) - .init 0x40000040 0xc8 ./src/crt.o - 0x400000e4 FIQHandler - 0x400000d8 PAbortHandler - 0x400000c0 ExitFunction - 0x40000040 ResetHandler - 0x400000dc DAbortHandler - 0x400000e0 IRQHandler - 0x400000d0 UndefHandler - 0x40000108 . = ALIGN (0x4) - *(.text) - .text 0x40000108 0x0 ./src/crt.o - .text 0x40000108 0x60 ./src/main.o - 0x40000108 main - 0x40000168 . = ALIGN (0x4) - *(.rodata) - .rodata 0x40000168 0x4 ./src/main.o - 0x4000016c . = ALIGN (0x4) - *(.rodata*) - 0x4000016c . = ALIGN (0x4) - *(.glue_7t) - .glue_7t 0x4000016c 0x0 ./src/crt.o - .glue_7t 0x4000016c 0x0 ./src/main.o - 0x4000016c . = ALIGN (0x4) - *(.glue_7) - .glue_7 0x4000016c 0x0 ./src/crt.o - .glue_7 0x4000016c 0x0 ./src/main.o - 0x4000016c . = ALIGN (0x4) - 0x4000016c etext = . - -.vfp11_veneer 0x00000000 0x0 - .vfp11_veneer 0x00000000 0x0 ./src/crt.o - .vfp11_veneer 0x00000000 0x0 ./src/main.o - -.data 0x4000016c 0x0 - 0x4000016c PROVIDE (__data_start, .) - *(.data) - .data 0x4000016c 0x0 ./src/crt.o - .data 0x4000016c 0x0 ./src/main.o - 0x4000016c . = ALIGN (0x4) - 0x4000016c edata = . - 0x4000016c _edata = . - 0x4000016c PROVIDE (__data_end, .) - -.bss 0x4000016c 0x894 - 0x4000016c PROVIDE (__bss_start, .) - *(.bss) - .bss 0x4000016c 0x0 ./src/crt.o - .bss 0x4000016c 0x0 ./src/main.o - *(COMMON) - 0x4000016c . = ALIGN (0x4) - 0x4000016c PROVIDE (__bss_end, .) - 0x40000200 . = ALIGN (0x100) - *fill* 0x4000016c 0x94 00 - 0x40000200 PROVIDE (__stack_start, .) - 0x40000200 PROVIDE (__stack_fiq_start, .) - 0x40000300 . = (. + FIQ_STACK_SIZE) - *fill* 0x40000200 0x100 00 - 0x40000300 . = ALIGN (0x4) - 0x40000300 PROVIDE (__stack_fiq_end, .) - 0x40000300 PROVIDE (__stack_irq_start, .) - 0x40000400 . = (. + IRQ_STACK_SIZE) - *fill* 0x40000300 0x100 00 - 0x40000400 . = ALIGN (0x4) - 0x40000400 PROVIDE (__stack_irq_end, .) - 0x40000400 PROVIDE (__stack_abt_start, .) - 0x40000500 . = (. + ABT_STACK_SIZE) - *fill* 0x40000400 0x100 00 - 0x40000500 . = ALIGN (0x4) - 0x40000500 PROVIDE (__stack_abt_end, .) - 0x40000500 PROVIDE (__stack_und_start, .) - 0x40000600 . = (. + UND_STACK_SIZE) - *fill* 0x40000500 0x100 00 - 0x40000600 . = ALIGN (0x4) - 0x40000600 PROVIDE (__stack_und_end, .) - 0x40000600 PROVIDE (__stack_svc_start, .) - 0x40000a00 . = (. + SVC_STACK_SIZE) - *fill* 0x40000600 0x400 00 - 0x40000a00 . = ALIGN (0x4) - 0x40000a00 PROVIDE (__stack_svc_end, .) - 0x40000a00 PROVIDE (__stack_end, .) - 0x40000a00 PROVIDE (__heap_start, .) -OUTPUT(test_ram.elf elf32-littlearm) - -.ARM.attributes - 0x00000000 0x10 - .ARM.attributes - 0x00000000 0x10 ./src/crt.o - .ARM.attributes - 0x00000010 0x10 ./src/main.o - -.debug_line 0x00000000 0xd0 - .debug_line 0x00000000 0x79 ./src/crt.o - .debug_line 0x00000079 0x57 ./src/main.o - -.debug_info 0x00000000 0x202 - .debug_info 0x00000000 0x74 ./src/crt.o - .debug_info 0x00000074 0x18e ./src/main.o - -.debug_abbrev 0x00000000 0x76 - .debug_abbrev 0x00000000 0x12 ./src/crt.o - .debug_abbrev 0x00000012 0x64 ./src/main.o - -.debug_aranges 0x00000000 0x48 - .debug_aranges - 0x00000000 0x28 ./src/crt.o - .debug_aranges - 0x00000028 0x20 ./src/main.o - -.debug_ranges 0x00000000 0x20 - .debug_ranges 0x00000000 0x20 ./src/crt.o - -.debug_frame 0x00000000 0x24 - .debug_frame 0x00000000 0x24 ./src/main.o - -.debug_loc 0x00000000 0x1f - .debug_loc 0x00000000 0x1f ./src/main.o - -.debug_pubnames - 0x00000000 0x1b - .debug_pubnames - 0x00000000 0x1b ./src/main.o - -.comment 0x00000000 0x12 - .comment 0x00000000 0x12 ./src/main.o - -Cross Reference Table - -Symbol File -DAbortHandler ./src/crt.o -ExitFunction ./src/crt.o -FIQHandler ./src/crt.o -IRQHandler ./src/crt.o -PAbortHandler ./src/crt.o -ResetHandler ./src/crt.o -UndefHandler ./src/crt.o -__bss_end ./src/crt.o -__bss_start ./src/crt.o -__stack_abt_end ./src/crt.o -__stack_fiq_end ./src/crt.o -__stack_irq_end ./src/crt.o -__stack_svc_end ./src/crt.o -__stack_und_end ./src/crt.o -main ./src/main.o - ./src/crt.o + +Memory Configuration + +Name Origin Length Attributes +ram 0x40000000 0x00008000 +*default* 0x00000000 0xffffffff + +Linker script and memory map + +LOAD ./src/crt.o +LOAD ./src/main.o +START GROUP +LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a +LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a +END GROUP + 0x00000100 FIQ_STACK_SIZE = 0x100 + 0x00000100 IRQ_STACK_SIZE = 0x100 + 0x00000100 ABT_STACK_SIZE = 0x100 + 0x00000100 UND_STACK_SIZE = 0x100 + 0x00000400 SVC_STACK_SIZE = 0x400 + +.text 0x40000000 0x16c + *(.vectors) + .vectors 0x40000000 0x40 ./src/crt.o + 0x40000040 . = ALIGN (0x4) + *(.init) + .init 0x40000040 0xc8 ./src/crt.o + 0x400000e4 FIQHandler + 0x400000d8 PAbortHandler + 0x400000c0 ExitFunction + 0x40000040 ResetHandler + 0x400000dc DAbortHandler + 0x400000e0 IRQHandler + 0x400000d0 UndefHandler + 0x40000108 . = ALIGN (0x4) + *(.text) + .text 0x40000108 0x0 ./src/crt.o + .text 0x40000108 0x60 ./src/main.o + 0x40000108 main + 0x40000168 . = ALIGN (0x4) + *(.rodata) + .rodata 0x40000168 0x4 ./src/main.o + 0x4000016c . = ALIGN (0x4) + *(.rodata*) + 0x4000016c . = ALIGN (0x4) + *(.glue_7t) + .glue_7t 0x4000016c 0x0 ./src/crt.o + .glue_7t 0x4000016c 0x0 ./src/main.o + 0x4000016c . = ALIGN (0x4) + *(.glue_7) + .glue_7 0x4000016c 0x0 ./src/crt.o + .glue_7 0x4000016c 0x0 ./src/main.o + 0x4000016c . = ALIGN (0x4) + 0x4000016c etext = . + +.vfp11_veneer 0x00000000 0x0 + .vfp11_veneer 0x00000000 0x0 ./src/crt.o + .vfp11_veneer 0x00000000 0x0 ./src/main.o + +.data 0x4000016c 0x0 + 0x4000016c PROVIDE (__data_start, .) + *(.data) + .data 0x4000016c 0x0 ./src/crt.o + .data 0x4000016c 0x0 ./src/main.o + 0x4000016c . = ALIGN (0x4) + 0x4000016c edata = . + 0x4000016c _edata = . + 0x4000016c PROVIDE (__data_end, .) + +.bss 0x4000016c 0x894 + 0x4000016c PROVIDE (__bss_start, .) + *(.bss) + .bss 0x4000016c 0x0 ./src/crt.o + .bss 0x4000016c 0x0 ./src/main.o + *(COMMON) + 0x4000016c . = ALIGN (0x4) + 0x4000016c PROVIDE (__bss_end, .) + 0x40000200 . = ALIGN (0x100) + *fill* 0x4000016c 0x94 00 + 0x40000200 PROVIDE (__stack_start, .) + 0x40000200 PROVIDE (__stack_fiq_start, .) + 0x40000300 . = (. + FIQ_STACK_SIZE) + *fill* 0x40000200 0x100 00 + 0x40000300 . = ALIGN (0x4) + 0x40000300 PROVIDE (__stack_fiq_end, .) + 0x40000300 PROVIDE (__stack_irq_start, .) + 0x40000400 . = (. + IRQ_STACK_SIZE) + *fill* 0x40000300 0x100 00 + 0x40000400 . = ALIGN (0x4) + 0x40000400 PROVIDE (__stack_irq_end, .) + 0x40000400 PROVIDE (__stack_abt_start, .) + 0x40000500 . = (. + ABT_STACK_SIZE) + *fill* 0x40000400 0x100 00 + 0x40000500 . = ALIGN (0x4) + 0x40000500 PROVIDE (__stack_abt_end, .) + 0x40000500 PROVIDE (__stack_und_start, .) + 0x40000600 . = (. + UND_STACK_SIZE) + *fill* 0x40000500 0x100 00 + 0x40000600 . = ALIGN (0x4) + 0x40000600 PROVIDE (__stack_und_end, .) + 0x40000600 PROVIDE (__stack_svc_start, .) + 0x40000a00 . = (. + SVC_STACK_SIZE) + *fill* 0x40000600 0x400 00 + 0x40000a00 . = ALIGN (0x4) + 0x40000a00 PROVIDE (__stack_svc_end, .) + 0x40000a00 PROVIDE (__stack_end, .) + 0x40000a00 PROVIDE (__heap_start, .) +OUTPUT(test_ram.elf elf32-littlearm) + +.ARM.attributes + 0x00000000 0x10 + .ARM.attributes + 0x00000000 0x10 ./src/crt.o + .ARM.attributes + 0x00000010 0x10 ./src/main.o + +.debug_line 0x00000000 0xd0 + .debug_line 0x00000000 0x79 ./src/crt.o + .debug_line 0x00000079 0x57 ./src/main.o + +.debug_info 0x00000000 0x202 + .debug_info 0x00000000 0x74 ./src/crt.o + .debug_info 0x00000074 0x18e ./src/main.o + +.debug_abbrev 0x00000000 0x76 + .debug_abbrev 0x00000000 0x12 ./src/crt.o + .debug_abbrev 0x00000012 0x64 ./src/main.o + +.debug_aranges 0x00000000 0x48 + .debug_aranges + 0x00000000 0x28 ./src/crt.o + .debug_aranges + 0x00000028 0x20 ./src/main.o + +.debug_ranges 0x00000000 0x20 + .debug_ranges 0x00000000 0x20 ./src/crt.o + +.debug_frame 0x00000000 0x24 + .debug_frame 0x00000000 0x24 ./src/main.o + +.debug_loc 0x00000000 0x1f + .debug_loc 0x00000000 0x1f ./src/main.o + +.debug_pubnames + 0x00000000 0x1b + .debug_pubnames + 0x00000000 0x1b ./src/main.o + +.comment 0x00000000 0x12 + .comment 0x00000000 0x12 ./src/main.o + +Cross Reference Table + +Symbol File +DAbortHandler ./src/crt.o +ExitFunction ./src/crt.o +FIQHandler ./src/crt.o +IRQHandler ./src/crt.o +PAbortHandler ./src/crt.o +ResetHandler ./src/crt.o +UndefHandler ./src/crt.o +__bss_end ./src/crt.o +__bss_start ./src/crt.o +__stack_abt_end ./src/crt.o +__stack_fiq_end ./src/crt.o +__stack_irq_end ./src/crt.o +__stack_svc_end ./src/crt.o +__stack_und_end ./src/crt.o +main ./src/main.o + ./src/crt.o diff --git a/testing/examples/LPC2148Test/test_rom.hex b/testing/examples/LPC2148Test/test_rom.hex index 48f6aa9..3ee04ee 100644 --- a/testing/examples/LPC2148Test/test_rom.hex +++ b/testing/examples/LPC2148Test/test_rom.hex @@ -1,25 +1,25 @@ -:1000000018F09FE518F09FE518F09FE518F09FE5C0 -:1000100018F09FE5606FA0B818F09FE518F09FE515 -:1000200040000000D0000000D4000000D800000014 -:10003000DC00000000000000E0000000E400000020 -:100040000000A0E10000A0E10000A0E10000A0E1AC -:100050000000A0E10000A0E10000A0E10000A0E19C -:10006000DBF021E37CD09FE5D7F021E378D09FE55A -:10007000D1F021E374D09FE5D2F021E370D09FE569 -:10008000D3F021E36CD09FE56C109FE56C209FE5D9 -:100090000030A0E3020051E104308114FCFFFF1A9C -:1000A00000000FE1C000C0E300F029E10000A0E380 -:1000B0000010A0E348209FE50FE0A0E112FF2FE130 -:1000C0000000A0E10000A0E10000A0E1FBFFFFEACA -:1000D000FEFFFFEAFEFFFFEAFEFFFFEAFEFFFFEA88 -:1000E000FEFFFFEAFEFFFFEA0004004000030040BD -:1000F00000010040000200400008004000000040F5 -:1001000000000040080100000CD04DE20130A0E3E7 -:1001100000308DE50230A0E304308DE50030A0E32F -:1001200008308DE538309FE5002093E500309DE5EF -:10013000023083E000308DE500309DE5013083E240 -:1001400000308DE504309DE5013083E204308DE51B -:1001500000209DE504309DE5033082E008308DE508 -:0C016000F4FFFFEA680100000700000047 -:0400000300000040B9 -:00000001FF +:1000000018F09FE518F09FE518F09FE518F09FE5C0 +:1000100018F09FE5606FA0B818F09FE518F09FE515 +:1000200040000000D0000000D4000000D800000014 +:10003000DC00000000000000E0000000E400000020 +:100040000000A0E10000A0E10000A0E10000A0E1AC +:100050000000A0E10000A0E10000A0E10000A0E19C +:10006000DBF021E37CD09FE5D7F021E378D09FE55A +:10007000D1F021E374D09FE5D2F021E370D09FE569 +:10008000D3F021E36CD09FE56C109FE56C209FE5D9 +:100090000030A0E3020051E104308114FCFFFF1A9C +:1000A00000000FE1C000C0E300F029E10000A0E380 +:1000B0000010A0E348209FE50FE0A0E112FF2FE130 +:1000C0000000A0E10000A0E10000A0E1FBFFFFEACA +:1000D000FEFFFFEAFEFFFFEAFEFFFFEAFEFFFFEA88 +:1000E000FEFFFFEAFEFFFFEA0004004000030040BD +:1000F00000010040000200400008004000000040F5 +:1001000000000040080100000CD04DE20130A0E3E7 +:1001100000308DE50230A0E304308DE50030A0E32F +:1001200008308DE538309FE5002093E500309DE5EF +:10013000023083E000308DE500309DE5013083E240 +:1001400000308DE504309DE5013083E204308DE51B +:1001500000209DE504309DE5033082E008308DE508 +:0C016000F4FFFFEA680100000700000047 +:0400000300000040B9 +:00000001FF diff --git a/testing/examples/LPC2148Test/test_rom.map b/testing/examples/LPC2148Test/test_rom.map index 1b7c73a..b737e20 100644 --- a/testing/examples/LPC2148Test/test_rom.map +++ b/testing/examples/LPC2148Test/test_rom.map @@ -1,170 +1,170 @@ - -Memory Configuration - -Name Origin Length Attributes -rom 0x00000000 0x00080000 -ram 0x40000000 0x00008000 -*default* 0x00000000 0xffffffff - -Linker script and memory map - -LOAD ./src/crt.o -LOAD ./src/main.o -START GROUP -LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a -LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a -END GROUP - 0x00000100 FIQ_STACK_SIZE = 0x100 - 0x00000100 IRQ_STACK_SIZE = 0x100 - 0x00000100 ABT_STACK_SIZE = 0x100 - 0x00000100 UND_STACK_SIZE = 0x100 - 0x00000400 SVC_STACK_SIZE = 0x400 - -.text 0x00000000 0x16c - *(.vectors) - .vectors 0x00000000 0x40 ./src/crt.o - 0x00000040 . = ALIGN (0x4) - *(.init) - .init 0x00000040 0xc8 ./src/crt.o - 0x000000e4 FIQHandler - 0x000000d8 PAbortHandler - 0x000000c0 ExitFunction - 0x00000040 ResetHandler - 0x000000dc DAbortHandler - 0x000000e0 IRQHandler - 0x000000d0 UndefHandler - 0x00000108 . = ALIGN (0x4) - *(.text) - .text 0x00000108 0x0 ./src/crt.o - .text 0x00000108 0x60 ./src/main.o - 0x00000108 main - 0x00000168 . = ALIGN (0x4) - *(.rodata) - .rodata 0x00000168 0x4 ./src/main.o - 0x0000016c . = ALIGN (0x4) - *(.rodata*) - 0x0000016c . = ALIGN (0x4) - *(.glue_7t) - .glue_7t 0x0000016c 0x0 ./src/crt.o - .glue_7t 0x0000016c 0x0 ./src/main.o - 0x0000016c . = ALIGN (0x4) - *(.glue_7) - .glue_7 0x0000016c 0x0 ./src/crt.o - .glue_7 0x0000016c 0x0 ./src/main.o - 0x0000016c . = ALIGN (0x4) - 0x0000016c etext = . - -.vfp11_veneer 0x00000000 0x0 - .vfp11_veneer 0x00000000 0x0 ./src/crt.o - .vfp11_veneer 0x00000000 0x0 ./src/main.o - -.data 0x40000000 0x0 - 0x40000000 PROVIDE (__data_start, .) - *(.data) - .data 0x40000000 0x0 ./src/crt.o - .data 0x40000000 0x0 ./src/main.o - 0x40000000 . = ALIGN (0x4) - 0x40000000 edata = . - 0x40000000 _edata = . - 0x40000000 PROVIDE (__data_end, .) - -.bss 0x40000000 0x800 - 0x40000000 PROVIDE (__bss_start, .) - *(.bss) - .bss 0x40000000 0x0 ./src/crt.o - .bss 0x40000000 0x0 ./src/main.o - *(COMMON) - 0x40000000 . = ALIGN (0x4) - 0x40000000 PROVIDE (__bss_end, .) - 0x40000000 . = ALIGN (0x100) - 0x40000000 PROVIDE (__stack_start, .) - 0x40000000 PROVIDE (__stack_fiq_start, .) - 0x40000100 . = (. + FIQ_STACK_SIZE) - *fill* 0x40000000 0x100 00 - 0x40000100 . = ALIGN (0x4) - 0x40000100 PROVIDE (__stack_fiq_end, .) - 0x40000100 PROVIDE (__stack_irq_start, .) - 0x40000200 . = (. + IRQ_STACK_SIZE) - *fill* 0x40000100 0x100 00 - 0x40000200 . = ALIGN (0x4) - 0x40000200 PROVIDE (__stack_irq_end, .) - 0x40000200 PROVIDE (__stack_abt_start, .) - 0x40000300 . = (. + ABT_STACK_SIZE) - *fill* 0x40000200 0x100 00 - 0x40000300 . = ALIGN (0x4) - 0x40000300 PROVIDE (__stack_abt_end, .) - 0x40000300 PROVIDE (__stack_und_start, .) - 0x40000400 . = (. + UND_STACK_SIZE) - *fill* 0x40000300 0x100 00 - 0x40000400 . = ALIGN (0x4) - 0x40000400 PROVIDE (__stack_und_end, .) - 0x40000400 PROVIDE (__stack_svc_start, .) - 0x40000800 . = (. + SVC_STACK_SIZE) - *fill* 0x40000400 0x400 00 - 0x40000800 . = ALIGN (0x4) - 0x40000800 PROVIDE (__stack_svc_end, .) - 0x40000800 PROVIDE (__stack_end, .) - 0x40000800 PROVIDE (__heap_start, .) -OUTPUT(test_rom.elf elf32-littlearm) - -.ARM.attributes - 0x00000000 0x10 - .ARM.attributes - 0x00000000 0x10 ./src/crt.o - .ARM.attributes - 0x00000010 0x10 ./src/main.o - -.debug_line 0x00000000 0xd0 - .debug_line 0x00000000 0x79 ./src/crt.o - .debug_line 0x00000079 0x57 ./src/main.o - -.debug_info 0x00000000 0x202 - .debug_info 0x00000000 0x74 ./src/crt.o - .debug_info 0x00000074 0x18e ./src/main.o - -.debug_abbrev 0x00000000 0x76 - .debug_abbrev 0x00000000 0x12 ./src/crt.o - .debug_abbrev 0x00000012 0x64 ./src/main.o - -.debug_aranges 0x00000000 0x48 - .debug_aranges - 0x00000000 0x28 ./src/crt.o - .debug_aranges - 0x00000028 0x20 ./src/main.o - -.debug_ranges 0x00000000 0x20 - .debug_ranges 0x00000000 0x20 ./src/crt.o - -.debug_frame 0x00000000 0x24 - .debug_frame 0x00000000 0x24 ./src/main.o - -.debug_loc 0x00000000 0x1f - .debug_loc 0x00000000 0x1f ./src/main.o - -.debug_pubnames - 0x00000000 0x1b - .debug_pubnames - 0x00000000 0x1b ./src/main.o - -.comment 0x00000000 0x12 - .comment 0x00000000 0x12 ./src/main.o - -Cross Reference Table - -Symbol File -DAbortHandler ./src/crt.o -ExitFunction ./src/crt.o -FIQHandler ./src/crt.o -IRQHandler ./src/crt.o -PAbortHandler ./src/crt.o -ResetHandler ./src/crt.o -UndefHandler ./src/crt.o -__bss_end ./src/crt.o -__bss_start ./src/crt.o -__stack_abt_end ./src/crt.o -__stack_fiq_end ./src/crt.o -__stack_irq_end ./src/crt.o -__stack_svc_end ./src/crt.o -__stack_und_end ./src/crt.o -main ./src/main.o - ./src/crt.o + +Memory Configuration + +Name Origin Length Attributes +rom 0x00000000 0x00080000 +ram 0x40000000 0x00008000 +*default* 0x00000000 0xffffffff + +Linker script and memory map + +LOAD ./src/crt.o +LOAD ./src/main.o +START GROUP +LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a +LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a +END GROUP + 0x00000100 FIQ_STACK_SIZE = 0x100 + 0x00000100 IRQ_STACK_SIZE = 0x100 + 0x00000100 ABT_STACK_SIZE = 0x100 + 0x00000100 UND_STACK_SIZE = 0x100 + 0x00000400 SVC_STACK_SIZE = 0x400 + +.text 0x00000000 0x16c + *(.vectors) + .vectors 0x00000000 0x40 ./src/crt.o + 0x00000040 . = ALIGN (0x4) + *(.init) + .init 0x00000040 0xc8 ./src/crt.o + 0x000000e4 FIQHandler + 0x000000d8 PAbortHandler + 0x000000c0 ExitFunction + 0x00000040 ResetHandler + 0x000000dc DAbortHandler + 0x000000e0 IRQHandler + 0x000000d0 UndefHandler + 0x00000108 . = ALIGN (0x4) + *(.text) + .text 0x00000108 0x0 ./src/crt.o + .text 0x00000108 0x60 ./src/main.o + 0x00000108 main + 0x00000168 . = ALIGN (0x4) + *(.rodata) + .rodata 0x00000168 0x4 ./src/main.o + 0x0000016c . = ALIGN (0x4) + *(.rodata*) + 0x0000016c . = ALIGN (0x4) + *(.glue_7t) + .glue_7t 0x0000016c 0x0 ./src/crt.o + .glue_7t 0x0000016c 0x0 ./src/main.o + 0x0000016c . = ALIGN (0x4) + *(.glue_7) + .glue_7 0x0000016c 0x0 ./src/crt.o + .glue_7 0x0000016c 0x0 ./src/main.o + 0x0000016c . = ALIGN (0x4) + 0x0000016c etext = . + +.vfp11_veneer 0x00000000 0x0 + .vfp11_veneer 0x00000000 0x0 ./src/crt.o + .vfp11_veneer 0x00000000 0x0 ./src/main.o + +.data 0x40000000 0x0 + 0x40000000 PROVIDE (__data_start, .) + *(.data) + .data 0x40000000 0x0 ./src/crt.o + .data 0x40000000 0x0 ./src/main.o + 0x40000000 . = ALIGN (0x4) + 0x40000000 edata = . + 0x40000000 _edata = . + 0x40000000 PROVIDE (__data_end, .) + +.bss 0x40000000 0x800 + 0x40000000 PROVIDE (__bss_start, .) + *(.bss) + .bss 0x40000000 0x0 ./src/crt.o + .bss 0x40000000 0x0 ./src/main.o + *(COMMON) + 0x40000000 . = ALIGN (0x4) + 0x40000000 PROVIDE (__bss_end, .) + 0x40000000 . = ALIGN (0x100) + 0x40000000 PROVIDE (__stack_start, .) + 0x40000000 PROVIDE (__stack_fiq_start, .) + 0x40000100 . = (. + FIQ_STACK_SIZE) + *fill* 0x40000000 0x100 00 + 0x40000100 . = ALIGN (0x4) + 0x40000100 PROVIDE (__stack_fiq_end, .) + 0x40000100 PROVIDE (__stack_irq_start, .) + 0x40000200 . = (. + IRQ_STACK_SIZE) + *fill* 0x40000100 0x100 00 + 0x40000200 . = ALIGN (0x4) + 0x40000200 PROVIDE (__stack_irq_end, .) + 0x40000200 PROVIDE (__stack_abt_start, .) + 0x40000300 . = (. + ABT_STACK_SIZE) + *fill* 0x40000200 0x100 00 + 0x40000300 . = ALIGN (0x4) + 0x40000300 PROVIDE (__stack_abt_end, .) + 0x40000300 PROVIDE (__stack_und_start, .) + 0x40000400 . = (. + UND_STACK_SIZE) + *fill* 0x40000300 0x100 00 + 0x40000400 . = ALIGN (0x4) + 0x40000400 PROVIDE (__stack_und_end, .) + 0x40000400 PROVIDE (__stack_svc_start, .) + 0x40000800 . = (. + SVC_STACK_SIZE) + *fill* 0x40000400 0x400 00 + 0x40000800 . = ALIGN (0x4) + 0x40000800 PROVIDE (__stack_svc_end, .) + 0x40000800 PROVIDE (__stack_end, .) + 0x40000800 PROVIDE (__heap_start, .) +OUTPUT(test_rom.elf elf32-littlearm) + +.ARM.attributes + 0x00000000 0x10 + .ARM.attributes + 0x00000000 0x10 ./src/crt.o + .ARM.attributes + 0x00000010 0x10 ./src/main.o + +.debug_line 0x00000000 0xd0 + .debug_line 0x00000000 0x79 ./src/crt.o + .debug_line 0x00000079 0x57 ./src/main.o + +.debug_info 0x00000000 0x202 + .debug_info 0x00000000 0x74 ./src/crt.o + .debug_info 0x00000074 0x18e ./src/main.o + +.debug_abbrev 0x00000000 0x76 + .debug_abbrev 0x00000000 0x12 ./src/crt.o + .debug_abbrev 0x00000012 0x64 ./src/main.o + +.debug_aranges 0x00000000 0x48 + .debug_aranges + 0x00000000 0x28 ./src/crt.o + .debug_aranges + 0x00000028 0x20 ./src/main.o + +.debug_ranges 0x00000000 0x20 + .debug_ranges 0x00000000 0x20 ./src/crt.o + +.debug_frame 0x00000000 0x24 + .debug_frame 0x00000000 0x24 ./src/main.o + +.debug_loc 0x00000000 0x1f + .debug_loc 0x00000000 0x1f ./src/main.o + +.debug_pubnames + 0x00000000 0x1b + .debug_pubnames + 0x00000000 0x1b ./src/main.o + +.comment 0x00000000 0x12 + .comment 0x00000000 0x12 ./src/main.o + +Cross Reference Table + +Symbol File +DAbortHandler ./src/crt.o +ExitFunction ./src/crt.o +FIQHandler ./src/crt.o +IRQHandler ./src/crt.o +PAbortHandler ./src/crt.o +ResetHandler ./src/crt.o +UndefHandler ./src/crt.o +__bss_end ./src/crt.o +__bss_start ./src/crt.o +__stack_abt_end ./src/crt.o +__stack_fiq_end ./src/crt.o +__stack_irq_end ./src/crt.o +__stack_svc_end ./src/crt.o +__stack_und_end ./src/crt.o +main ./src/main.o + ./src/crt.o diff --git a/testing/examples/LPC2294Test/test_ram.hex b/testing/examples/LPC2294Test/test_ram.hex index 1a922b1..e54b9e3 100644 --- a/testing/examples/LPC2294Test/test_ram.hex +++ b/testing/examples/LPC2294Test/test_ram.hex @@ -1,26 +1,26 @@ -:020000044000BA -:1000000018F09FE518F09FE518F09FE518F09FE5C0 -:1000100018F09FE518F09FE518F09FE518F09FE5B0 -:1000200040000040D0000040D4000040D800004014 -:10003000DC00004000000000E0000040E400004060 -:100040000000A0E10000A0E10000A0E10000A0E1AC -:100050000000A0E10000A0E10000A0E10000A0E19C -:10006000DBF021E37CD09FE5D7F021E378D09FE55A -:10007000D1F021E374D09FE5D2F021E370D09FE569 -:10008000D3F021E36CD09FE56C109FE56C209FE5D9 -:100090000030A0E3020051E104308114FCFFFF1A9C -:1000A00000000FE1C000C0E300F029E10000A0E380 -:1000B0000010A0E348209FE50FE0A0E112FF2FE130 -:1000C0000000A0E10000A0E10000A0E1FBFFFFEACA -:1000D000FEFFFFEAFEFFFFEAFEFFFFEAFEFFFFEA88 -:1000E000FEFFFFEAFEFFFFEA0006004000050040B9 -:1000F0000003004000040040000A00406C01004082 -:100100006C010040080100400CD04DE20130A0E33A -:1001100000308DE50230A0E304308DE50030A0E32F -:1001200008308DE538309FE5002093E500309DE5EF -:10013000023083E000308DE500309DE5013083E240 -:1001400000308DE504309DE5013083E204308DE51B -:1001500000209DE504309DE5033082E008308DE508 -:0C016000F4FFFFEA680100400700000007 -:040000054000004077 -:00000001FF +:020000044000BA +:1000000018F09FE518F09FE518F09FE518F09FE5C0 +:1000100018F09FE518F09FE518F09FE518F09FE5B0 +:1000200040000040D0000040D4000040D800004014 +:10003000DC00004000000000E0000040E400004060 +:100040000000A0E10000A0E10000A0E10000A0E1AC +:100050000000A0E10000A0E10000A0E10000A0E19C +:10006000DBF021E37CD09FE5D7F021E378D09FE55A +:10007000D1F021E374D09FE5D2F021E370D09FE569 +:10008000D3F021E36CD09FE56C109FE56C209FE5D9 +:100090000030A0E3020051E104308114FCFFFF1A9C +:1000A00000000FE1C000C0E300F029E10000A0E380 +:1000B0000010A0E348209FE50FE0A0E112FF2FE130 +:1000C0000000A0E10000A0E10000A0E1FBFFFFEACA +:1000D000FEFFFFEAFEFFFFEAFEFFFFEAFEFFFFEA88 +:1000E000FEFFFFEAFEFFFFEA0006004000050040B9 +:1000F0000003004000040040000A00406C01004082 +:100100006C010040080100400CD04DE20130A0E33A +:1001100000308DE50230A0E304308DE50030A0E32F +:1001200008308DE538309FE5002093E500309DE5EF +:10013000023083E000308DE500309DE5013083E240 +:1001400000308DE504309DE5013083E204308DE51B +:1001500000209DE504309DE5033082E008308DE508 +:0C016000F4FFFFEA680100400700000007 +:040000054000004077 +:00000001FF diff --git a/testing/examples/LPC2294Test/test_ram.map b/testing/examples/LPC2294Test/test_ram.map index c92c5e2..20b9c68 100644 --- a/testing/examples/LPC2294Test/test_ram.map +++ b/testing/examples/LPC2294Test/test_ram.map @@ -1,170 +1,170 @@ - -Memory Configuration - -Name Origin Length Attributes -ram 0x40000000 0x00004000 -*default* 0x00000000 0xffffffff - -Linker script and memory map - -LOAD ./src/crt.o -LOAD ./src/main.o -START GROUP -LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a -LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a -END GROUP - 0x00000100 FIQ_STACK_SIZE = 0x100 - 0x00000100 IRQ_STACK_SIZE = 0x100 - 0x00000100 ABT_STACK_SIZE = 0x100 - 0x00000100 UND_STACK_SIZE = 0x100 - 0x00000400 SVC_STACK_SIZE = 0x400 - -.text 0x40000000 0x16c - *(.vectors) - .vectors 0x40000000 0x40 ./src/crt.o - 0x40000040 . = ALIGN (0x4) - *(.init) - .init 0x40000040 0xc8 ./src/crt.o - 0x400000e4 FIQHandler - 0x400000d8 PAbortHandler - 0x400000c0 ExitFunction - 0x40000040 ResetHandler - 0x400000dc DAbortHandler - 0x400000e0 IRQHandler - 0x400000d0 UndefHandler - 0x40000108 . = ALIGN (0x4) - *(.text) - .text 0x40000108 0x0 ./src/crt.o - .text 0x40000108 0x60 ./src/main.o - 0x40000108 main - 0x40000168 . = ALIGN (0x4) - *(.rodata) - .rodata 0x40000168 0x4 ./src/main.o - 0x4000016c . = ALIGN (0x4) - *(.rodata*) - 0x4000016c . = ALIGN (0x4) - *(.glue_7t) - .glue_7t 0x4000016c 0x0 ./src/crt.o - .glue_7t 0x4000016c 0x0 ./src/main.o - 0x4000016c . = ALIGN (0x4) - *(.glue_7) - .glue_7 0x4000016c 0x0 ./src/crt.o - .glue_7 0x4000016c 0x0 ./src/main.o - 0x4000016c . = ALIGN (0x4) - 0x4000016c etext = . - -.vfp11_veneer 0x00000000 0x0 - .vfp11_veneer 0x00000000 0x0 ./src/crt.o - .vfp11_veneer 0x00000000 0x0 ./src/main.o - -.data 0x4000016c 0x0 - 0x4000016c PROVIDE (__data_start, .) ... [truncated message content] |