calls.c (special_function_p): New argument fork_or_exec.
authorJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 26 Jan 2000 23:38:20 +0000 (23:38 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 26 Jan 2000 23:38:20 +0000 (23:38 +0000)
commitfa76d9e04ebf753eee8e6dffb45430579c31ebf3
tree8b4db574b812ef5991986ffdcd38e0b493de8a3e
parente09d24ffb12aff104ba1f584c420445aac4c1873
calls.c (special_function_p): New argument fork_or_exec.

* 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.

From-SVN: r31636
gcc/calls.c