busybox: use http URL for download
busybox: add some new aliases
busybox: use http URL for download
busybox: add some new aliases
Thanks for looking at this. On Fedora 26 I have gcc 7.1.1 and glibc 2.25. It's a 64-bit system. I've now built and used the assembler on a 32-bit CentOS 6 system with gcc 4.4.7 and glibc 2.12. In this case my source assembled without incident. Clearly it's system-dependent. On both Fedora and CentOS Valgrind identifies the problem. With my suggested change to the macro Valgrind doesn't report any runtime errors.
Here's a really, really basic source file: FLAG EQU $E084 FIRST EQU $15CF This produces output like: | 15cf:FIRST || 15cf:FIRST || e084:FLAG | | e084:FLAGa | where the second, duplicated symbols have a surplus character appended. Sometimes printable, sometimes not. And sometimes the assembler crashes without any output. This is on Linux: Fedora 26. There's only one use of the macro mystrcpy, in strsave. length+1 bytes are allocated for newword and the macro is invoked as: mystrcpy(newword, oldword,...
Thanks for releasing this assembler. I tried it with some of my 1983-vintage code and found a problem: when the mystrcpy macro pre-terminates the new string it writes beyond the end of the allocated buffer.