aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/linux.h
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/rs6000/linux.h
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/rs6000/linux.h')
-rw-r--r--gcc/config/rs6000/linux.h2
1 files changed, 2 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. */