OSDN Git Service

* calls.c (special_function_p): New argument fork_or_exec.
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Jan 2000 23:38:20 +0000 (23:38 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Jan 2000 23:38:20 +0000 (23:38 +0000)
commit2f921ec9b3b0c251c055068251d7b4bdd0ca1865
tree8b4db574b812ef5991986ffdcd38e0b493de8a3e
parent255b8f3fa861798d484564d5586462b0c2a4a9d5
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31636 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/calls.c