aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/svr4.h
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@cygnus.co.uk>2000-01-26 22:27:31 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2000-01-26 22:27:31 +0000
commite09d24ffb12aff104ba1f584c420445aac4c1873 (patch)
treea0a5ab7d409b5f49313a069ba391408c5b9a49b2 /gcc/config/svr4.h
parent628d74de0e60a79f0b0e745a790c573663315f9e (diff)
downloadgcc-e09d24ffb12aff104ba1f584c420445aac4c1873.zip
gcc-e09d24ffb12aff104ba1f584c420445aac4c1873.tar.gz
gcc-e09d24ffb12aff104ba1f584c420445aac4c1873.tar.bz2
calls.c (special_function_p): New argument fork_or_exec.
gcc: * calls.c (special_function_p): New argument fork_or_exec. (expand_call): When profile_arc_flag is set and the function is in the fork_or_exec group, call __bb_fork_func first. * libgcc2.c, _bb module (__bb_fork_func): New function. (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock output file. * config/svr4.h (TARGET_HAS_F_SETLKW): Define. * tree.h (special_function_p): Update prototype. gcc/cp: * cp/optimize.c (calls_setjmp_r): Supply new argument to special_function_p. From-SVN: r31635
Diffstat (limited to 'gcc/config/svr4.h')
-rw-r--r--gcc/config/svr4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h
index a1ebaa6..23911d9 100644
--- a/gcc/config/svr4.h
+++ b/gcc/config/svr4.h
@@ -235,3 +235,4 @@ Boston, MA 02111-1307, USA.
to support ANSI C. */
/* #define MULTIBYTE_CHARS */
+#define TARGET_HAS_F_SETLKW