From: johanknol Date: Fri, 6 Apr 2001 14:53:35 +0000 (+0000) Subject: Don't use .dw if the port says so X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=6219fa9e8c93d3dbc5242dffd95439b8b9e485da;p=fw%2Fsdcc Don't use .dw if the port says so git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@729 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCglue.c b/src/SDCCglue.c index 460342a0..a1d0f57c 100644 --- a/src/SDCCglue.c +++ b/src/SDCCglue.c @@ -883,7 +883,11 @@ printIvalPtr (symbol * sym, sym_link * type, initList * ilist, FILE * oFile) } else if (size == FPTRSIZE) { - tfprintf (oFile, "\t!dws\n", val->name); + if (port->use_dw_for_init) { + tfprintf (oFile, "\t!dws\n", val->name); + } else { + printPointerType (oFile, val->name); + } } else if (size == GPTRSIZE) {