projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Added support for doing shifts by helper functions
[fw/sdcc]
/
src
/
mcs51
/
main.c
diff --git
a/src/mcs51/main.c
b/src/mcs51/main.c
index 05f50f114be03f54d2dfd0f42cff99cc6903fd7a..68e32ea3f8b77dfaaff991003e0107a1b4d35cc2 100644
(file)
--- a/
src/mcs51/main.c
+++ b/
src/mcs51/main.c
@@
-39,6
+39,7
@@
static char *_mcs51_keywords[] =
"_xdata",
"_pdata",
"_idata",
"_xdata",
"_pdata",
"_idata",
+ "_naked",
NULL
};
NULL
};
@@
-150,7
+151,8
@@
PORT mcs51_port =
_asmCmd,
"-plosgffc", /* Options with debug */
"-plosgff", /* Options without debug */
_asmCmd,
"-plosgffc", /* Options with debug */
"-plosgff", /* Options without debug */
- 0
+ 0,
+ ".asm"
},
{
_linkCmd,
},
{
_linkCmd,
@@
-162,7
+164,7
@@
PORT mcs51_port =
},
{
/* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
},
{
/* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
- 1,
1
, 2, 4, 1, 2, 3, 1, 4, 4
+ 1,
2
, 2, 4, 1, 2, 3, 1, 4, 4
},
{
"XSEG (XDATA)",
},
{
"XSEG (XDATA)",
@@
-186,7
+188,7
@@
PORT mcs51_port =
},
/* mcs51 has an 8 bit mul */
{
},
/* mcs51 has an 8 bit mul */
{
- 1,
0
+ 1,
-1
},
"_",
_mcs51_init,
},
"_",
_mcs51_init,
@@
-201,6
+203,7
@@
PORT mcs51_port =
_mcs51_reset_regparm,
_mcs51_regparm,
NULL,
_mcs51_reset_regparm,
_mcs51_regparm,
NULL,
+ NULL,
FALSE,
0, /* leave lt */
0, /* leave gt */
FALSE,
0, /* leave lt */
0, /* leave gt */