aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-02-23 00:18:53 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2004-02-23 00:18:53 +0100
commitc2cd64b5a9c4f557553b00482216117d05200a93 (patch)
tree6c2966c9e874f2bcf465ee81f2abd1e32d6b4d12 /gcc/config
parentfcfcb20e67503c4eaaefa6b75efb99f88b827d93 (diff)
downloadgcc-c2cd64b5a9c4f557553b00482216117d05200a93.zip
gcc-c2cd64b5a9c4f557553b00482216117d05200a93.tar.gz
gcc-c2cd64b5a9c4f557553b00482216117d05200a93.tar.bz2
gcov-io.c (gcov_open): Use open + fdopen instead of fopen.
* gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of fopen. * libgcov.c: Include sys/stat.h. * config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define. * config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define. * config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define. * config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define. From-SVN: r78281
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/linux.h2
-rw-r--r--gcc/config/rs6000/linux64.h2
-rw-r--r--gcc/config/sparc/linux.h2
-rw-r--r--gcc/config/sparc/linux64.h2
4 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
index 1ef484e..8fe3e3e 100644
--- a/gcc/config/rs6000/linux.h
+++ b/gcc/config/rs6000/linux.h
@@ -91,6 +91,8 @@
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+#define TARGET_HAS_F_SETLKW
+
/* Do code reading to identify a signal frame, and set the frame
state data appropriately. See unwind-dw2.c for the structs. */
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
index 44f7cb7..ee38185 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
@@ -543,6 +543,8 @@ while (0)
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+#define TARGET_HAS_F_SETLKW
+
#define LINK_GCC_C_SEQUENCE_SPEC \
"%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"
diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h
index afec8aa..187dff6 100644
--- a/gcc/config/sparc/linux.h
+++ b/gcc/config/sparc/linux.h
@@ -247,6 +247,8 @@ do { \
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+#define TARGET_HAS_F_SETLKW
+
#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC \
"%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"
diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h
index 9bfb946..5cb84e5 100644
--- a/gcc/config/sparc/linux64.h
+++ b/gcc/config/sparc/linux64.h
@@ -325,6 +325,8 @@ do { \
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+#define TARGET_HAS_F_SETLKW
+
#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC \
"%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"