From: sandeep Date: Mon, 24 Dec 2001 03:46:33 +0000 (+0000) Subject: updated to reflect changes in the port structure X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=56d0ea9144facb91da4bf0c6da418b80f2632bcd;p=fw%2Fsdcc updated to reflect changes in the port structure git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1732 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/avr/main.c b/src/avr/main.c index 93a1342b..d073f507 100644 --- a/src/avr/main.c +++ b/src/avr/main.c @@ -161,7 +161,9 @@ PORT avr_port = { "-plosgff", /* Options with debug */ "-plosgff", /* Options without debug */ 0, - ".s"}, + ".s", + NULL, /* no do_assemble */ + }, { _linkCmd, NULL, @@ -206,6 +208,7 @@ PORT avr_port = { _avr_getRegName, _avr_keywords, _avr_genAssemblerPreamble, + NULL, /* no genAssemblerEnd */ _avr_genIVT, NULL, // _avr_genXINIT _avr_reset_regparm, diff --git a/src/izt/i186.c b/src/izt/i186.c index 34cb44c0..e01ebe4d 100644 --- a/src/izt/i186.c +++ b/src/izt/i186.c @@ -147,7 +147,8 @@ PORT i186_port = { NULL, NULL, 0, - ".s" + ".s", + NULL /* no do_assemble function */ }, { _linkCmd, @@ -197,6 +198,7 @@ PORT i186_port = { _i186_getRegName , _i186_keywords, _i186_genAssemblerPreamble, + NULL, /* no genAssemblerEnd */ _i186_genIVT , NULL, // _i186_genXINIT _i186_reset_regparm, diff --git a/src/izt/tlcs900h.c b/src/izt/tlcs900h.c index 9122bff4..48a854f1 100644 --- a/src/izt/tlcs900h.c +++ b/src/izt/tlcs900h.c @@ -146,7 +146,8 @@ PORT tlcs900h_port = NULL, NULL, 0, - NULL + NULL, + NULL /* no do_assemble function */ }, { _linkCmd, @@ -196,6 +197,7 @@ PORT tlcs900h_port = _tlcs900h_getRegName, _tlcs900h_keywords, _tlcs900h_genAssemblerPreamble, + NULL, /* no genAssemblerEnd */ _tlcs900h_genIVT, 0, // _tlcs900h_genXINIT _tlcs900h_reset_regparm, diff --git a/src/mcs51/main.c b/src/mcs51/main.c index 5aaa53ec..b91a622c 100644 --- a/src/mcs51/main.c +++ b/src/mcs51/main.c @@ -209,7 +209,8 @@ PORT mcs51_port = "-plosgffc", /* Options with debug */ "-plosgff", /* Options without debug */ 0, - ".asm" + ".asm", + NULL /* no do_assemble function */ }, { _linkCmd, @@ -259,6 +260,7 @@ PORT mcs51_port = _mcs51_getRegName, _mcs51_keywords, _mcs51_genAssemblerPreamble, + NULL, /* no genAssemblerEnd */ _mcs51_genIVT, _mcs51_genXINIT, _mcs51_reset_regparm, diff --git a/src/pic/main.c b/src/pic/main.c index 01b92363..346ffa98 100644 --- a/src/pic/main.c +++ b/src/pic/main.c @@ -233,7 +233,8 @@ PORT pic_port = //"-plosgffc", /* Options with debug */ //"-plosgff", /* Options without debug */ 0, - ".asm" + ".asm", + NULL /* no do_assemble function */ }, { _linkCmd, @@ -287,6 +288,7 @@ PORT pic_port = _pic14_getRegName, _pic14_keywords, _pic14_genAssemblerPreamble, + NULL, /* no genAssemblerEnd */ _pic14_genIVT, NULL, // _pic14_genXINIT _pic14_reset_regparm, diff --git a/src/z80/main.c b/src/z80/main.c index 8336b055..06cc6c1f 100644 --- a/src/z80/main.c +++ b/src/z80/main.c @@ -516,6 +516,7 @@ PORT z80_port = _getRegName, _keywords, 0, /* no assembler preamble */ + NULL, /* no genAssemblerEnd */ 0, /* no local IVT generation code */ 0, /* no genXINIT code */ _reset_regparm, @@ -556,7 +557,8 @@ PORT gbz80_port = "-plosgff", /* Options with debug */ "-plosgff", /* Options without debug */ 0, - ".asm" + ".asm", + NULL /* no do_assemble function */ }, { NULL, @@ -606,6 +608,7 @@ PORT gbz80_port = _getRegName, _keywords, 0, /* no assembler preamble */ + NULL, /* no genAssemblerEnd */ 0, /* no local IVT generation code */ 0, /* no genXINIT code */ _reset_regparm,