summaryrefslogtreecommitdiff
path: root/sys/src/cmd/8a
AgeCommit message (Collapse)Author
2021-10-12cc: do not expand function-like macros for non-function invocationscinap_lenrek
It is a bit of a annoyance that kenc will try to expand function like macros on any symbol with the same name and then complain when it doesnt see the '(' in the invocation. test case below: void foo(int) { } struct Bar { int baz; /* <- should not conflict */ }; void main(void) { baz(123); }
2020-05-12cc: dont export gethunk(), hunk, nhunk and thunkcinap_lenrek
2020-04-19?a, cc: fix buffer overflows in built-in preprocessor (macbody)cinap_lenrek
add a buffer size argument to macexpand() and check for overflow. check for overflow when parsing #include directives.
2020-04-19?a: catch symb[NSYMB] buffer overflow in lexer, cleanup, assume thechar is a ↵cinap_lenrek
rune
2020-04-11cc, ?[acl]: fix gethunk() and move common memory allocator code to cc/compatcinap_lenrek
for gethunk() to work, all allocators have to use it, including allocations done by libc thru malloc(), so the fake allocation functions are mandatory for everyone. to avoid duplication the code is moved to cc/compat and prototypes provided in new cc/compat.h header.
2020-04-10cc, ?a, ?l: change thunk type to uintptrSigrid
2014-05-08remove old copies of kernels l.s from cmd/?acinap_lenrek
2013-05-21add 6(a|l) sse support to 8(a|l)jpathy
2012-07-30import updated compilers from sourcescinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen