annotate test/bare/test.ld @ 384:94f5b719ad0b

Small refactor
author Windel Bouwman
date Sun, 27 Apr 2014 17:50:25 +0200
parents ed6d0adaa626
children
rev   line source
324
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
1
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
2 ENTRY(_Reset)
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
3 SECTIONS
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
4 {
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
5 . = 0x10000;
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
6 .startup . : {startup.o(.text) }
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
7 .text : { *(.text) }
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
8 .data : { *(.data) }
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
9 .bss : { *(.bss COMMON) }
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
10 . = ALIGN(8);
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
11 . = . + 0x1000;
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
12 stack_top = .;
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
13 }