barectf-tracepoint: add QEMU ARM target example
[barectf.git] / doc / examples / barectf-tracepoint / barectf-platform-qemu-arm-uart.ld
1 MEMORY {
2 SDRAM (XRW) : ORIGIN = 0x00000000, LENGTH = 0x08000000
3 }
4
5 /* heap size */
6 heap_size = 0x10000;
7
8 /* define stack base (grows downwards), used in newlib's crt0.S */
9 __stack = ORIGIN(SDRAM) + LENGTH(SDRAM);
10
11 /* libc's entry point */
12 ENTRY(_mainCRTStartup);
13
14 SECTIONS {
15 /* QEMU starts executing at 0x10000 */
16 . = 0x10000;
17
18 .text : {
19 *(.text)
20 *(.text.*)
21 } > SDRAM
22
23 .data : {
24 *(.data)
25 *(.data.*)
26 } > SDRAM
27
28 .bss : {
29 __bss_start__ = .;
30 *(.bss)
31 *(.bss.*)
32 *(COMMON)
33 __bss_end__ = .;
34 } > SDRAM
35
36 /* "end" symbol needed by newlib's _sbrk */
37 end = .;
38 }
This page took 0.038686 seconds and 4 git commands to generate.