projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86a26fb
)
We now support -msoft-float.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Tue, 12 Jul 2011 13:17:24 +0000
(15:17 +0200)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Fri, 12 Aug 2011 09:10:40 +0000
(11:10 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
2fd2f4c
..
c6cabfc
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1390,8
+1390,10
@@
int main(int argc, char **argv)
fprintf(stderr, "error: regparm convention not supported yet\n");
argument_errors = true;
} else if (streq(opt, "soft-float")) {
fprintf(stderr, "error: regparm convention not supported yet\n");
argument_errors = true;
} else if (streq(opt, "soft-float")) {
- fprintf(stderr, "error: software floatingpoint not supported yet\n");
- argument_errors = true;
+ snprintf(arch_opt, sizeof(arch_opt), "%s-fpunit=softfloat", cpu_arch);
+ int res = be_parse_arg(arch_opt);
+ if (res == 0)
+ argument_errors = true;
} else {
long int value = strtol(opt, NULL, 10);
if (value == 0) {
} else {
long int value = strtol(opt, NULL, 10);
if (value == 0) {