]> Shamusworld >> Repos - rmac/blobdiff - symbol.c
Various small fixes including:
[rmac] / symbol.c
index 80d2b3b52e13048f91f8c6f28cf579629659d95a..c24720f235937134e396ef9cc94f139d5c1c10ee 100644 (file)
--- a/symbol.c
+++ b/symbol.c
@@ -309,7 +309,6 @@ uint32_t sy_assign_ELF(uint8_t * buf, uint8_t *(* construct)())
        // and export all global-referenced labels. Not sure if this is
        // required but it's here nonetheless
 
-       //for(sy=sdecl; sy!=NULL; sy=sy->sorder)
        for(SYM * sy=sdecl; sy!=NULL; sy=sy->sdecl)
        {
                if ((sy->stype == LABEL)
@@ -482,7 +481,7 @@ int symtable(void)
                                        strcpy(ln2, "external");
                                else
                                {
-                                       sprintf(ln2, "%08X", q->svalue);
+                                       sprintf(ln2, "%016lX", q->svalue);
                                        ToUppercase(ln2);
                                }