Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-12 | cc: do not expand function-like macros for non-function invocations | cinap_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-12 | cc: dont export gethunk(), hunk, nhunk and thunk | cinap_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-11 | cc, ?[acl]: fix gethunk() and move common memory allocator code to cc/compat | cinap_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-10 | cc, ?a, ?l: change thunk type to uintptr | Sigrid | |
2016-09-03 | 5a: assemble constant >>0 right shifts as <<0 (no shift), allow >>32 | cinap_lenrek | |
previously, right shift >>0 resulted in >>32 being emited. this is especially problematic when the shift count comes from a macro expansion. we now handle constant shift >>0 as <<0 (no shift) and allow shift by 32 be specified. this applies to logical right shift (>>) arithmetic right shift (->) and right rotate (@>). | |||
2016-07-15 | 5a: ROL instruction | cinap_lenrek | |
2014-08-17 | 5a: revert MOVM .S and .W are exclusive (broke bcm build) | cinap_lenrek | |
2014-08-09 | 5a: MOVM.IA.W.S ..., [R15] is exception return and needs to be allowed ↵ | cinap_lenrek | |
(thanks aiju) | |||
2014-08-09 | 5a: reject MOVM instruction with .S and .W bits both set (aijus idea) | cinap_lenrek | |
2014-08-07 | 5a, 5l: add LDREX/STREX/CLREX instructions | cinap_lenrek | |
2014-05-08 | remove old copies of kernels l.s from cmd/?a | cinap_lenrek | |
2012-07-30 | import updated compilers from sources | cinap_lenrek | |
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |