From 40ce43b7aec0aaf96770412d041ede6bf0f0573d Mon Sep 17 00:00:00 2001 From: Xavi Del Campo Date: Sun, 10 Nov 2019 20:13:59 +0100 Subject: [PATCH] slabeldef is not needed for C strings in GAS format --- src/SDCCglue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDCCglue.c b/src/SDCCglue.c index d382a4d..7338b44 100644 --- a/src/SDCCglue.c +++ b/src/SDCCglue.c @@ -2007,7 +2007,7 @@ emitStaticSeg (memmap *map, struct dbuf_s *oBuf) else dbuf_tprintf(&code->oBuf, "\t!area\n", options.const_seg); - if (IS_STATIC (sym->etype)) + if (IS_STATIC (sym->etype) && !options.gasOutput) dbuf_tprintf (oBuf, "!slabeldef\n", sym->rname); else dbuf_tprintf (oBuf, "!labeldef\n", sym->rname);