scc

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

commit ac2f5317032fd3212fc445545720ce03e2cde309
parent 160edb9d551eb16f47c04ba87b0e0a30abc2cfeb
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 25 Nov 2024 16:07:00 +0100

as: Add TODOs

Diffstat:
Msrc/cmd/scc-as/symbol.c | 3+++
Msrc/libmach/coff32/coff32setsec.c | 1+
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/cmd/scc-as/symbol.c b/src/cmd/scc-as/symbol.c @@ -256,6 +256,9 @@ secflags(char *attr) case 'a': flags |= SABS; break; + /* TODO: What happens with SRELOC ? */ + default: + abort(); } } diff --git a/src/libmach/coff32/coff32setsec.c b/src/libmach/coff32/coff32setsec.c @@ -16,6 +16,7 @@ coff32setsec(Obj *obj, int *idx, Section *sec) Coff32 *coff = obj->data; FILHDR *hdr = &coff->hdr; + /* TODO: what happens with SABS? */ switch (sec->type) { case 'D': switch (sec->flags) {