I need to forward modified arguments, but I have know idea how the data returned by __builtin_apply_args() function is organized so that I can do this. I took a look at the builtins.c file, and it was nothing but Greek to me (way beyond my level!). If anyone could help me to modify the variables, especially the first one, I would greatly appreciate it.
I figure this dependent upon the architecture. I have a PowerPC G4 running Mac OS X.
Herr Witten
PS
I noticed that the builtin.c file contains a function for returning the size of the data returned by __builtin_apply_args(), yet it is declared static. Why is this function not global? Thanks
I am speaking of apply_args_size (void).
Also, this seems like it would be helpful, but it is not public:
/* For each register that may be used for calling a function, this
gives the offset of that register into the block returned by
__builtin_apply_args. 0 indicates that the register is not
used for calling a function. */
static int apply_args_reg_offset[FIRST_PSEUDO_REGISTER];