Revision: 266
http://ro-oslib.svn.sourceforge.net/ro-oslib/?rev=266&view=rev
Author: jtytgat
Date: 2007-05-06 09:12:16 -0700 (Sun, 06 May 2007)
Log Message:
-----------
ELF fixes: avoid .skip 0 warning; surious wrong label definition fix
Modified Paths:
--------------
branches/simplified-build/!OsLib/Tools/DefMod2/hdr.c
Modified: branches/simplified-build/!OsLib/Tools/DefMod2/hdr.c
===================================================================
--- branches/simplified-build/!OsLib/Tools/DefMod2/hdr.c 2007-05-06 16:02:51 UTC (rev 265)
+++ branches/simplified-build/!OsLib/Tools/DefMod2/hdr.c 2007-05-06 16:12:16 UTC (rev 266)
@@ -49,7 +49,7 @@
#define UNLABELLED_INST_COL 1
#define UNLABELLED_ARG_COL 2
-static const char *Op [] = {":OR:", ":AND:", "+", ":EOR:"};
+static const char * const Op [] = {":OR:", ":AND:", "+", ":EOR:"};
/* This gives the condition when to use the ':' for marking the end of an
ELF label. */
@@ -267,7 +267,7 @@
case def_TYPE_VOID:
if ((rc =
(DoELF) ?
- EmitS (file, v, top_level ? "" : ".skip", "Skip")
+ Emit (file, v, "")
:
EmitS (file, v, top_level ? "*" : "#", "Skip")) < 0)
goto finish;
@@ -357,7 +357,7 @@
if (DoELF)
{
sprintf (v1, "%s_MEMBERS \\label", t->data AS list.base->data AS id);
- Emit (file, "\\label", v1);
+ Emit (file, NULL, v1);
}
else
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|