scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit e7bca85de158f639a36b103140e5a7ed9c8cc7f8
parent 18e63ac4d4a253869e5543a84dc115b95b0d72ef
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 19 Jan 2025 10:03:39 +0100

as: Update architecture name

As is still a work in progress, and it forces the output to be coff-z80
independently of the architecture used. As the architecture names  were
modifided after the commit 1c65e2d4 then as failed to initialized the
output object.

Diffstat:
Msrc/cmd/scc-as/symbol.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/scc-as/symbol.c b/src/cmd/scc-as/symbol.c @@ -371,7 +371,7 @@ ibinfmt(void) { int t; - if ((t = objtype("coff32-z80")) < 0) { + if ((t = objtype("coff-z80")) < 0) { fprintf(stderr, "as: invalid binary format %s\n", "coff32-z80"); exit(EXIT_FAILURE);