diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-26 22:27:31 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-26 22:27:31 +0000 |
commit | 255b8f3fa861798d484564d5586462b0c2a4a9d5 (patch) | |
tree | a0a5ab7d409b5f49313a069ba391408c5b9a49b2 /gcc/config/svr4.h | |
parent | 3420680b6153c12cfce451f1f36d848e3f9b2f19 (diff) | |
download | gcc-255b8f3fa861798d484564d5586462b0c2a4a9d5.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31635 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/svr4.h')
-rw-r--r-- | gcc/config/svr4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h index a1ebaa6513c..23911d9e6f7 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 |