Add chibicc
This program popped up on Hacker News recently. It's the only modern compiler I've ever seen that doesn't have dependencies and is easily modified. So I added all of the missing GNU extensions I like to use which means it might be possible soon to build on non-Linux and have third party not vendor gcc binaries.
This commit is contained in:
@ -425,9 +425,9 @@ static void xnussefpustate2linux(struct FpuState *fs,
|
||||
memcpy(fs->st, &xnufs->__fpu_stmm0, (8 + 16) * sizeof(uint128_t));
|
||||
}
|
||||
|
||||
noreturn void xnutrampoline(void *fn, int infostyle, int sig,
|
||||
const struct __darwin_siginfo *xnuinfo,
|
||||
const struct __darwin_ucontext *xnuctx) {
|
||||
wontreturn void xnutrampoline(void *fn, int infostyle, int sig,
|
||||
const struct __darwin_siginfo *xnuinfo,
|
||||
const struct __darwin_ucontext *xnuctx) {
|
||||
/* note: this function impl can't access static memory */
|
||||
intptr_t ax;
|
||||
struct Goodies {
|
||||
|
||||
Reference in New Issue
Block a user