* .version: changed to version 2.5.3
[fw/sdcc] / src / pic / main.c
index 34784358ab3bb82c94491b2d9ffb8847a0eb2acb..7ff316565e1eebe43d8effb9f3952269c232ebda 100644 (file)
@@ -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