projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Attempt to work around hard-float linking problem
[riscv-tests.git]
/
debug
/
targets.py
diff --git
a/debug/targets.py
b/debug/targets.py
index 3cf972827a148ce62cafa53fdd0a995c8235f437..7496b48d9eb1d4acc9b403f3725c2a0c9d916ddc 100644
(file)
--- a/
debug/targets.py
+++ b/
debug/targets.py
@@
-41,6
+41,7
@@
class Target(object):
testlib.compile(sources +
("programs/entry.S", "programs/init.c",
"-I", "../env",
+ "-march=RV%dIMAFD" % self.xlen,
"-T", "targets/%s/link.lds" % (self.directory or self.name),
"-nostartfiles",
"-mcmodel=medany",