]> git.pld-linux.org Git - packages/sdcc.git/blob - sdcc-mcs51-pcall.patch
- pdfopt is long dead and gone, fool configure with cp
[packages/sdcc.git] / sdcc-mcs51-pcall.patch
1 diff -urN sdcc.orig/src/SDCCast.c sdcc/src/SDCCast.c
2 --- sdcc.orig/src/SDCCast.c     2008-09-07 14:50:06.000000000 +0200
3 +++ sdcc/src/SDCCast.c  2008-11-06 09:46:22.000000000 +0100
4 @@ -783,8 +783,8 @@
5    /* if the function is being called via a pointer &  */
6    /* it has not been defined reentrant then we cannot */
7    /* have parameters                                  */
8 -  /* PIC16 port can... */
9 -  if (!TARGET_IS_PIC16)
10 +  /* PIC16 and MCS51 port can... */
11 +  if (!TARGET_IS_PIC16 && !TARGET_IS_MCS51)
12      {
13        if (func->type != EX_VALUE && !IFFUNC_ISREENT (functype) && !options.stackAuto)
14          {
This page took 0.075576 seconds and 3 git commands to generate.