diff options
Diffstat (limited to 'gdb/linker.cfg')
-rw-r--r-- | gdb/linker.cfg | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/linker.cfg b/gdb/linker.cfg index 2cc6a0e9b4..46ec779817 100644 --- a/gdb/linker.cfg +++ b/gdb/linker.cfg | |||
@@ -13,7 +13,8 @@ OUTPUT_FORMAT(elf32-sh) | |||
13 | MEMORY | 13 | MEMORY |
14 | { | 14 | { |
15 | IRAM : ORIGIN = 0, LENGTH = 0x10000 | 15 | IRAM : ORIGIN = 0, LENGTH = 0x10000 |
16 | DRAM : ORIGIN = 0x24000000, LENGTH = 0x8000 | 16 | DRAM : ORIGIN = 0x24000000, LENGTH = 0x6000 |
17 | DRAM_API : ORIGIN = 0x24006000, LENGTH = 0x100 | ||
17 | } | 18 | } |
18 | 19 | ||
19 | SECTIONS | 20 | SECTIONS |
@@ -29,6 +30,11 @@ SECTIONS | |||
29 | *(.glue_7t) | 30 | *(.glue_7t) |
30 | } >DRAM | 31 | } >DRAM |
31 | 32 | ||
33 | .gdbapi : | ||
34 | { | ||
35 | *(.gdbapi) | ||
36 | } >DRAM_API | ||
37 | |||
32 | .data : | 38 | .data : |
33 | { | 39 | { |
34 | *(.data) | 40 | *(.data) |