summaryrefslogtreecommitdiff
path: root/arch/v850/kernel/sim.ld
diff options
context:
space:
mode:
Diffstat (limited to 'arch/v850/kernel/sim.ld')
-rw-r--r--arch/v850/kernel/sim.ld13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/v850/kernel/sim.ld b/arch/v850/kernel/sim.ld
new file mode 100644
index 00000000000..101885f3c9f
--- /dev/null
+++ b/arch/v850/kernel/sim.ld
@@ -0,0 +1,13 @@
+/* Linker script for the gdb v850e simulator (CONFIG_V850E_SIM). */
+
+MEMORY {
+ /* Interrupt vectors. */
+ INTV : ORIGIN = 0x0, LENGTH = 0xe0
+ /* Main RAM. */
+ RAM : ORIGIN = RAM_ADDR, LENGTH = RAM_SIZE
+}
+
+SECTIONS {
+ .intv : { INTV_CONTENTS } > INTV
+ .ram : { RAMK_KRAM_CONTENTS } > RAM
+}