d943b13b3e2df657e22bd019bbfc2da5359d77a2
[fw/openocd] / contrib / loaders / debug / xscale / debug_handler.ld
1 /* identify the Entry Point  */
2 ENTRY(reset_handler)
3
4 /* specify the mini-ICache memory areas  */
5 MEMORY
6 {
7         mini_icache_0 (x)                               : ORIGIN = 0x0, LENGTH = 1024   /* first part of mini icache (sets 0-31) */
8         mini_icache_1 (x)                               : ORIGIN = 0x400, LENGTH = 1024 /* second part of mini icache (sets 0-31) */
9 }
10
11 /* now define the output sections  */
12 SECTIONS
13 {
14         .part1 :
15         {
16                 LONG(0)
17                 LONG(0)
18                 LONG(0)
19                 LONG(0)
20                 LONG(0)
21                 LONG(0)
22                 LONG(0)
23                 LONG(0)
24                 *(.part1)
25         } >mini_icache_0
26
27         .part2 :
28         {
29                 LONG(0)
30                 LONG(0)
31                 LONG(0)
32                 LONG(0)
33                 LONG(0)
34                 LONG(0)
35                 LONG(0)
36                 LONG(0)
37                 *(.part2)
38                 FILL(0x0)
39         } >mini_icache_1
40
41         /DISCARD/ :
42         {
43                 *(.text)
44                 *(.glue_7)
45                 *(.glue_7t)
46                 *(.data)
47                 *(.bss)
48         }
49 }