summaryrefslogtreecommitdiff
path: root/gcc/gthr-aix.h
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-19 20:30:27 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-19 20:30:27 +0000
commit0a3e56df6f256b32788dac52c3a1c52481f2fe62 (patch)
tree285f359c4c9f4712d91c58b696071358cbe64e06 /gcc/gthr-aix.h
parent3311f67b1478c82ebeb5690a96bbfe3205b36d0d (diff)
downloadgcc-0a3e56df6f256b32788dac52c3a1c52481f2fe62.tar.gz
* configure.in: Allow enable_threads_flag value of "aix". Define
thread_file as "aix" for AIX 4.3 and above.. * configure: Regenerated. * gthr-aix.h: New file. * rs6000/t-aix43: Replace soft-float multilib with pthread. Remove 403 processor multilib match. Fix rios2 processor multilib match. * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section to return to appropriate csect. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36541 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gthr-aix.h')
-rw-r--r--gcc/gthr-aix.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/gcc/gthr-aix.h b/gcc/gthr-aix.h
new file mode 100644
index 00000000000..0bc1dbe5b7f
--- /dev/null
+++ b/gcc/gthr-aix.h
@@ -0,0 +1,38 @@
+/* Threads compatibility routines for libgcc2 and libobjc. */
+/* Compile this one with gcc. */
+/* Copyright (C) 2000 Free Software Foundation, Inc.
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU CC; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+/* As a special exception, if you link this library with other files,
+ some of which are compiled with GCC, to produce an executable,
+ this library does not by itself cause the resulting executable
+ to be covered by the GNU General Public License.
+ This exception does not however invalidate any other reasons why
+ the executable file might be covered by the GNU General Public License. */
+
+#ifndef __gthr_aix_h
+#define __gthr_aix_h
+
+#ifdef _THREAD_SAFE
+#include "gthr-posix.h"
+#else
+#include "gthr-single.h"
+#endif
+
+#endif /* __gthr_aix_h */