From: Sandeep D. <sa...@wi...> - 2001-11-21 17:21:39
|
a) Added extension __typeof , works like sizeof but returns a number depending on the type of the expression. The numbers are enumerated in device/include/typeof.h ... this allows the following types of macros. #define MEMCPY(a,b,c) (__typeof(a)==TYPEOF_FPOINTER ? \ (__typeof(b)==TYPEOF_FPOINTER ? __builtin_memcpy_x2x(a,b,c) : \ (__typeof(b)==TYPEOF_CPOINTER ? __builtin_memcpy_c2x(a,b,c) : \ (void) memcpy(a,b,c))) : (void) memcpy(a,b,c)) b) Added option --stack-probe , this will insert a call to a (USER DEFINED) function named "__stack_probe" at the entry of each function (except _naked).. currently implemented only in ds390... but should be easy enough to add to others, useful for checking stack over flows or traces etc etc. Which Doc are we currently maintaining is .lyx still the master document ? Sandeep |