+2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
+
+ * src/SDCCmain.c: distinguish between assembler debug and plain options
+
+ * src/avr/main.c: remove standard assembler options
+
+ * src/ds390/main.c: remove standard assembler options
+
+ * src/mcs51/main.c: remove standard assembler options
+
+ * src/port.h: removed "PENDING" comment
+
2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
* src/device/lib/_mulint.c : new, with assember functions
{
if (port->assembler.cmd)
{
- buildCmdLine (buffer, port->assembler.cmd, srcFileName, NULL, NULL, asmOptions);
+ buildCmdLine (buffer, port->assembler.cmd, srcFileName, NULL,
+ options.debug ? port->assembler.debug_opts : port->assembler.plain_opts,
+ asmOptions);
}
else
{
"linkavr", "", "$1", NULL
};
+/* $3 is replaced by assembler.debug_opts resp. port->assembler.plain_opts */
static const char *_asmCmd[] = {
- "asavr", "$l" , "-plosgff", "$1.s", NULL
+ "asavr", "$l" , "$3", "$1.s", NULL
};
/* Globals */
"aslink", "-nf", "$1", NULL
};
-static const char *_asmCmd[] =
+/* $3 is replaced by assembler.debug_opts resp. port->assembler.plain_opts */ static const char *_asmCmd[] =
{
- "asx8051", "$l", "-plosgff", "$1.asm", NULL
+ "asx8051", "$l", "$3", "$1.asm", NULL
};
/* Globals */
"aslink", "-nf", "$1", NULL
};
+/* $3 is replaced by assembler.debug_opts resp. port->assembler.plain_opts */
static const char *_asmCmd[] =
{
- "asx8051", "$l", "-plosgffc", "$1.asm", NULL
+ "asx8051", "$l", "$3", "$1.asm", NULL
};
/* Globals */
const char **cmd;
/** Alternate macro based form. */
const char *mcmd;
- /** Arguments for debug mode. PENDING: ignored */
+ /** Arguments for debug mode. */
const char *debug_opts;
- /** Arguments for normal assembly mode. PENDING: ignored */
+ /** Arguments for normal assembly mode. */
const char *plain_opts;
/* print externs as global */
int externGlobal;