From: sandeep Date: Tue, 18 Dec 2001 04:32:27 +0000 (+0000) Subject: updated to reflect the changes in port structure X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=5597e0621319d4bdce785c951ce8d035776ba377;p=fw%2Fsdcc updated to reflect the changes in port structure git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1705 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/avr/main.c b/src/avr/main.c index 01095753..93a1342b 100644 --- a/src/avr/main.c +++ b/src/avr/main.c @@ -223,5 +223,8 @@ PORT avr_port = { 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 }; diff --git a/src/izt/i186.c b/src/izt/i186.c index 8ee41fb2..34cb44c0 100644 --- a/src/izt/i186.c +++ b/src/izt/i186.c @@ -214,5 +214,8 @@ PORT i186_port = { 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 }; diff --git a/src/izt/tlcs900h.c b/src/izt/tlcs900h.c index 02b37b38..9122bff4 100644 --- a/src/izt/tlcs900h.c +++ b/src/izt/tlcs900h.c @@ -213,5 +213,8 @@ PORT tlcs900h_port = 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 }; diff --git a/src/mcs51/main.c b/src/mcs51/main.c index 29373d19..5aaa53ec 100644 --- a/src/mcs51/main.c +++ b/src/mcs51/main.c @@ -40,6 +40,7 @@ static char *_mcs51_keywords[] = "_pdata", "_idata", "_naked", + "_overlay", NULL }; @@ -275,5 +276,8 @@ PORT mcs51_port = FALSE, /* No array initializer support. */ cseCostEstimation, NULL, /* no builtin functions */ + GPOINTER, /* treat unqualified pointers as "generic" pointers */ + 1, /* reset labelKey to 1 */ + 1, /* globals & local static allowed */ PORT_MAGIC }; diff --git a/src/pic/main.c b/src/pic/main.c index d88ae7e2..01b92363 100644 --- a/src/pic/main.c +++ b/src/pic/main.c @@ -304,5 +304,8 @@ PORT pic_port = 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 }; diff --git a/src/z80/main.c b/src/z80/main.c index 9c961879..2c172e5c 100644 --- a/src/z80/main.c +++ b/src/z80/main.c @@ -525,6 +525,9 @@ PORT z80_port = TRUE, /* Array initializer support. */ 0, /* no CSE cost estimation yet */ _z80_builtins, /* no builtin functions */ + GPOINTER, /* treat unqualified pointers as "generic" pointers */ + 1, /* reset labelKey to 1 */ + 1, /* globals & local static allowed */ PORT_MAGIC }; @@ -611,6 +614,9 @@ PORT gbz80_port = 0, /* leave == */ TRUE, /* Array initializer support. */ 0, /* no CSE cost estimation yet */ - NULL, /* no builtin functions */ + NULL, /* no builtin functions */ + GPOINTER, /* treat unqualified pointers as "generic" pointers */ + 1, /* reset labelKey to 1 */ + 1, /* globals & local static allowed */ PORT_MAGIC };