summaryrefslogtreecommitdiff
path: root/gnu/egcs
diff options
context:
space:
mode:
authorHiroaki Etoh <etoh@cvs.openbsd.org>2003-02-03 09:19:45 +0000
committerHiroaki Etoh <etoh@cvs.openbsd.org>2003-02-03 09:19:45 +0000
commit8bd54d48c0a47c0cda58aa57ceb468155babb67a (patch)
tree7a8951eb42d710621ecd9712ba8902a5ced5687c /gnu/egcs
parentb8ae47edf6930465ec6fa72c80897228b3396c50 (diff)
add contains_fp declaration to examine whether the input contains frame pointer addressing.
Diffstat (limited to 'gnu/egcs')
-rw-r--r--gnu/egcs/gcc/protector.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/protector.h b/gnu/egcs/gcc/protector.h
index 5fcf422b247..710ff2f88c4 100644
--- a/gnu/egcs/gcc/protector.h
+++ b/gnu/egcs/gcc/protector.h
@@ -1,4 +1,4 @@
-/* Top level of GNU C compiler
+/* RTL buffer overflow protection function for GNU C compiler
Copyright (C) 1987, 88, 89, 92-7, 1998 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -36,6 +36,10 @@ extern void prepare_stack_protection PARAMS ((int inlinable));
extern int search_string_def PARAMS ((tree names));
#endif
+/* examine whether the input contains frame pointer addressing */
+
+extern int contains_fp PARAMS ((rtx op));
+
/* allocate a local variable in the stack area before character buffers
to avoid the corruption of it */