X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fpic%2Fmain.c;h=7ff316565e1eebe43d8effb9f3952269c232ebda;hb=116a1bfc169e441ed10267f1b0fe8a2336b6dc78;hp=e8eaaacbf1ccb85906b25cfcf0bf7109d36726f1;hpb=d2da99feec099aa224e1db53bc5a1ed42ed51ec9;p=fw%2Fsdcc diff --git a/src/pic/main.c b/src/pic/main.c index e8eaaacb..7ff31656 100644 --- a/src/pic/main.c +++ b/src/pic/main.c @@ -49,7 +49,7 @@ static char *_pic14_keywords[] = void pCodeInitRegisters(void); -void pic14_assignRegisters (eBBlock ** ebbs, int count); +void pic14_assignRegisters (ebbIndex *); /* Also defined in gen.h, but the #include is commented out */ /* for an unknowned reason. - EEP */ @@ -71,7 +71,7 @@ _pic14_reset_regparm (void) } static int -_pic14_regparm (sym_link * l) +_pic14_regparm (sym_link * l, bool reentrant) { /* for this processor it is simple can pass only the first parameter in a register */ @@ -379,7 +379,7 @@ MUST be terminated with a NULL. */ static const char *_linkCmd[] = { - "gplink", "-o $2", "\"$1.o\"", "$l", NULL + "gplink", "$l", "-o \"$2\"", "\"$1\"", "$3", NULL }; static const char *_asmCmd[] = @@ -446,6 +446,7 @@ PORT pic_port = "HOME (CODE)", NULL, // xidata NULL, // xinit + "CONST (CODE)", // const_name - const data (code or not) NULL, NULL, 1 // code is read only