diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-08-26 06:58:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-08-26 06:58:35 +0000 |
commit | 17bd8ff08e5e00d7917c47bfa976575060e6166e (patch) | |
tree | 96fecf726e77a760eade9d14d6721337268d036d /4.1.1 | |
parent | fix from upstream (diff) | |
download | gcc-patches-17bd8ff08e5e00d7917c47bfa976575060e6166e.tar.gz gcc-patches-17bd8ff08e5e00d7917c47bfa976575060e6166e.tar.bz2 gcc-patches-17bd8ff08e5e00d7917c47bfa976575060e6166e.zip |
tweak patch to apply to 4.1.1
Diffstat (limited to '4.1.1')
-rw-r--r-- | 4.1.1/gentoo/15_all_gcc42-builtin-frame-address.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/4.1.1/gentoo/15_all_gcc42-builtin-frame-address.patch b/4.1.1/gentoo/15_all_gcc42-builtin-frame-address.patch index 52426de..bbfd17c 100644 --- a/4.1.1/gentoo/15_all_gcc42-builtin-frame-address.patch +++ b/4.1.1/gentoo/15_all_gcc42-builtin-frame-address.patch @@ -16,7 +16,7 @@ Index: trunk/gcc/builtins.c - /* For a zero count, we don't care what frame address we return, so frame - pointer elimination is OK, and using the soft frame pointer is OK. -- For a nonzero count, we require a stable offset from the current frame +- For a non-zero count, we require a stable offset from the current frame - pointer to the previous one, so we must use the hard frame pointer, and + /* For a zero count with __builtin_return_address, we don't care what + frame address we return, because target-specific definitions will @@ -30,5 +30,5 @@ Index: trunk/gcc/builtins.c - if (count == 0) + if (count == 0 && fndecl_code == BUILT_IN_RETURN_ADDRESS) tem = frame_pointer_rtx; - else + else { |