X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=symbol.c;h=87f90c048d80952a5a0cb18aec48035ae5905c36;hp=80d2b3b52e13048f91f8c6f28cf579629659d95a;hb=9153334781cd2e23750f4dc002e847606c07a1f0;hpb=582df8950c285e1746d0c4a9e3ead6545c962dc8 diff --git a/symbol.c b/symbol.c index 80d2b3b..87f90c0 100644 --- a/symbol.c +++ b/symbol.c @@ -1,7 +1,7 @@ // // RMAC - Reboot's Macro Assembler for all Atari computers // SYMBOL.C - Symbol Handling -// Copyright (C) 199x Landon Dyer, 2011-2017 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2018 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source utilised with the kind permission of Landon Dyer // @@ -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); }