summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-05-31 11:20:19 -0700
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-05-31 11:20:21 -0700
commitfaf96e8d8236c12853b2088300924d4e6d0ba910 (patch)
tree7c28e6d00e6cdd42c778bbd26fdec0fd020f7c8b
parent4aa97062fb30b239e97ba6b50f35cf8e8d251469 (diff)
Disable ramrodata for dhrystone on boards with 16k RAM
Putting rodata in RAM for targets with less than 16 overflows Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
-rw-r--r--scripts/standalone.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/standalone.mk b/scripts/standalone.mk
index 6b83a29..6f87950 100644
--- a/scripts/standalone.mk
+++ b/scripts/standalone.mk
@@ -39,7 +39,13 @@ endif
ifeq ($(PROGRAM),dhrystone)
ifeq ($(LINK_TARGET),)
-LINK_TARGET = ramrodata
+ ifneq ($(TARGET),freedom-e310-arty)
+ ifneq ($(TARGET),sifive-hifive1)
+ ifneq ($(TARGET),sifive-hifive1-revb)
+ LINK_TARGET = ramrodata
+ endif
+ endif
+ endif
endif
endif