slabeldef is not needed for C strings in GAS format
This commit is contained in:
parent
a13561bc9a
commit
40ce43b7ae
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue