projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/port.h (struct PORT): added field gp_tags, to hold the tag
[fw/sdcc]
/
src
/
izt
/
tlcs900h.c
diff --git
a/src/izt/tlcs900h.c
b/src/izt/tlcs900h.c
index 02b37b38b9b020ea415ec034a54653f08369a6c9..f3b42af648791e5ab61e6e868a4a68406648ee59 100644
(file)
--- a/
src/izt/tlcs900h.c
+++ b/
src/izt/tlcs900h.c
@@
-135,7
+135,9
@@
PORT tlcs900h_port =
TARGET_ID_TLCS900H,
"tlcs900h",
"Toshiba TLCS-900H", /* Target name */
TARGET_ID_TLCS900H,
"tlcs900h",
"Toshiba TLCS-900H", /* Target name */
+ NULL,
{
{
+ glue,
TRUE, /* Emit glue around main */
MODEL_SMALL,
MODEL_SMALL
TRUE, /* Emit glue around main */
MODEL_SMALL,
MODEL_SMALL
@@
-146,7
+148,8
@@
PORT tlcs900h_port =
NULL,
NULL,
0,
NULL,
NULL,
0,
- NULL
+ NULL,
+ NULL /* no do_assemble function */
},
{
_linkCmd,
},
{
_linkCmd,
@@
-161,6
+164,8
@@
PORT tlcs900h_port =
/* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
1, 2, 2, 4, 2, 2, 2, 1, 4, 4
},
/* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
1, 2, 2, 4, 2, 2, 2, 1, 4, 4
},
+ /* tags for generic pointers */
+ { 0x00, 0x40, 0x60, 0x80 }, /* far, near, xstack, code */
{
"XSEG (XDATA)",
"STACK (DATA)",
{
"XSEG (XDATA)",
"STACK (DATA)",
@@
-190,12
+195,14
@@
PORT tlcs900h_port =
"_",
_tlcs900h_init,
_tlcs900h_parseOptions,
"_",
_tlcs900h_init,
_tlcs900h_parseOptions,
+ NULL,
_tlcs900h_finaliseOptions,
_tlcs900h_setDefaultOptions,
tlcs900h_assignRegisters,
_tlcs900h_getRegName,
_tlcs900h_keywords,
_tlcs900h_genAssemblerPreamble,
_tlcs900h_finaliseOptions,
_tlcs900h_setDefaultOptions,
tlcs900h_assignRegisters,
_tlcs900h_getRegName,
_tlcs900h_keywords,
_tlcs900h_genAssemblerPreamble,
+ NULL, /* no genAssemblerEnd */
_tlcs900h_genIVT,
0, // _tlcs900h_genXINIT
_tlcs900h_reset_regparm,
_tlcs900h_genIVT,
0, // _tlcs900h_genXINIT
_tlcs900h_reset_regparm,
@@
-213,5
+220,8
@@
PORT tlcs900h_port =
FALSE, /* No array initializer support. */
0, /* no CSE cost estimation yet */
NULL, /* no builtin functions */
FALSE, /* No array initializer support. */
0, /* no CSE cost estimation yet */
NULL, /* no builtin functions */
+ GPOINTER, /* treat unqualified pointers as "generic" pointers */
+ 1, /* reset labelKey to 1 */
+ 1, /* globals & local static allowed */
PORT_MAGIC
};
PORT_MAGIC
};