From: vrokas Date: Mon, 28 Jun 2004 20:17:24 +0000 (+0000) Subject: * src/pic16/glue.c (pic16createInterruptVect): function now emits X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f108d9a878a9106453626f68975e2a3ffcb6a809;p=fw%2Fsdcc * src/pic16/glue.c (pic16createInterruptVect): function now emits correctly the IVT even if it is relocated to some other location git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3369 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index e9d4a05c..68a5eafa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-06-28 Vangelis Rokas + + * src/pic16/glue.c (pic16createInterruptVect): function now emits + correctly the IVT even if it is relocated to some other location + 2004-06-28 Vangelis Rokas * device/include/pic16/pic18fregs.h: added case for pic18f2220.h diff --git a/src/pic16/glue.c b/src/pic16/glue.c index 99f0c302..0792e8ca 100644 --- a/src/pic16/glue.c +++ b/src/pic16/glue.c @@ -1284,7 +1284,7 @@ pic16createInterruptVect (FILE * vFile) if((!pic16_options.omit_ivt) || (pic16_options.omit_ivt && pic16_options.leave_reset)) { fprintf (vFile, ";\t.area\t%s\n", CODE_NAME); - fprintf(vFile, ".intvecs\tcode\t0x0000\n"); + fprintf(vFile, ".intvecs\tcode\t0x%06x\n", pic16_options.ivt_loc); fprintf (vFile, "__interrupt_vect:\n"); /* this is an overkill since WE are the port,