From 6219fa9e8c93d3dbc5242dffd95439b8b9e485da Mon Sep 17 00:00:00 2001 From: johanknol Date: Fri, 6 Apr 2001 14:53:35 +0000 Subject: [PATCH] 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 --- src/SDCCglue.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) { -- 2.47.2