summaryrefslogtreecommitdiff
path: root/sim/m32r/sim-main.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-12-19 11:44:00 +0000
committerNick Clifton <nickc@redhat.com>2003-12-19 11:44:00 +0000
commit444cc5745cf01bb012a460d7eb7953c0fbf4e17b (patch)
tree1231efa119a3ada0fb32c9ceb947f598fb73d541 /sim/m32r/sim-main.h
parent23e0c381fa0aeac917554697e45a029cd86eda0d (diff)
downloadgdb-444cc5745cf01bb012a460d7eb7953c0fbf4e17b.tar.gz
Add support for m32r-linux target, including a RELA ABI and PIC.
Diffstat (limited to 'sim/m32r/sim-main.h')
-rw-r--r--sim/m32r/sim-main.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/m32r/sim-main.h b/sim/m32r/sim-main.h
index becfb62841a..2cbb40b99b4 100644
--- a/sim/m32r/sim-main.h
+++ b/sim/m32r/sim-main.h
@@ -85,6 +85,10 @@ m32r_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), \
(TRANSFER), (ERROR))
/* Default memory size. */
+#ifdef M32R_LINUX
+#define M32R_DEFAULT_MEM_SIZE 0x2000000 /* 32M */
+#else
#define M32R_DEFAULT_MEM_SIZE 0x800000 /* 8M */
+#endif
#endif /* SIM_MAIN_H */