summaryrefslogtreecommitdiff
path: root/gnu/egcs
diff options
context:
space:
mode:
authorHiroaki Etoh <etoh@cvs.openbsd.org>2003-02-21 08:05:57 +0000
committerHiroaki Etoh <etoh@cvs.openbsd.org>2003-02-21 08:05:57 +0000
commitd7fcc6b574b330ca8514e65996774f8452aca8d4 (patch)
treee6e71f776d831029f239f111ce81e7a68c1e69e0 /gnu/egcs
parenta3a0bd857d93c9f4892eb526159de8c3f511c932 (diff)
mark the top address of inline function frame with integrated flag for the propolice protection
Diffstat (limited to 'gnu/egcs')
-rw-r--r--gnu/egcs/gcc/integrate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/egcs/gcc/integrate.c b/gnu/egcs/gcc/integrate.c
index d06fa607733..ece4e1aabb6 100644
--- a/gnu/egcs/gcc/integrate.c
+++ b/gnu/egcs/gcc/integrate.c
@@ -2423,6 +2423,10 @@ copy_rtx_and_substitute (orig, map)
seq = gen_sequence ();
end_sequence ();
+#ifdef FRAME_GROWS_DOWNWARD
+ if (flag_propolice_protection && GET_CODE (seq) == SET)
+ RTX_INTEGRATED_P (SET_SRC (seq)) = 1;
+#endif
emit_insn_after (seq, map->insns_at_start);
return temp;
}