aboutsummaryrefslogtreecommitdiff
path: root/fetch.c
AgeCommit message (Collapse)Author
2012-12-17struct Process becomes struct processPetr Machata
This is for consistency with other structures, and ultimately with Linux coding style. The typedef ("Process") was dropped as well for this reason. This opportunity was used to fix coding style around the impacted lines.
2012-09-22Introduce parameter pack flavors and parameter pack backend callbacksPetr Machata
The issue this is trying to solve is that some backends (Itanium in particular) change the parameter passing convention depending on whether given parameter is part of varargs parameter or not. Therefore the backend needs to know a) that any give argument is part of parameter pack, and b) if it is, whether it's a varargs-type pack, or something else. Backends that wish to use this should add #define ARCH_HAVE_FETCH_PACK and define functions arch_fetch_param_pack_{start,end} (with the same interface as fetch_param_pack_{start,end} from fetch.h).
2012-09-21Don't include arch.h, include sysdep.h insteadPetr Machata
arch.h is supposed to be a simple configuration file and few have inclusion guards. sysdep.h is the proper interface to use.
2012-08-29Fix includes in PPC back endPetr Machata
2012-08-29Rename value_set_long to value_set_wordPetr Machata
For consistency with value_extract_word
2012-08-29Add fetch.c/fetch.h, a module for fetching function argumentsPetr Machata
- this is now a thin wrapper over gimme_arg, ideally the backends will eventually use this right interface - in display_args.c, strip one layer of pointer wrapping, which is now done in output.c