diff options
author | Paul Brook <paul@codesourcery.com> | 2009-12-22 12:24:32 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2009-12-22 12:24:32 +0000 |
commit | d17c29c35fc100402cbfedb0c663eb8e5ffc4b96 (patch) | |
tree | cd8771b1e0228f70a0a775d3d24200fb3cc66d8a /gcc/defaults.h | |
parent | ac2e5c890aa795612105a0c4d4ab48a57e5c60fd (diff) | |
download | gcc-d17c29c35fc100402cbfedb0c663eb8e5ffc4b96.tar.gz |
tm.texi (ARG_POINTER_CFA_OFFSET): Document new default.
2009-12-22 Paul Brook <paul@codesourcery.com>
gcc/
* doc/tm.texi (ARG_POINTER_CFA_OFFSET): Document new default.
* defaults.h (ARG_POINTER_CFA_OFFSET): Add pretend_args_size.
* config/spu/spu.h (ARG_POINTER_CFA_OFFSET): Add pretend_args_size.
From-SVN: r155396
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index 0363a460e06..8ca88968494 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -1086,7 +1086,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see /* On most machines, the CFA coincides with the first incoming parm. */ #ifndef ARG_POINTER_CFA_OFFSET -#define ARG_POINTER_CFA_OFFSET(FNDECL) FIRST_PARM_OFFSET (FNDECL) +#define ARG_POINTER_CFA_OFFSET(FNDECL) \ + (FIRST_PARM_OFFSET (FNDECL) + crtl->args.pretend_args_size) #endif /* On most machines, we use the CFA as DW_AT_frame_base. */ |