summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix43.h
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-12 19:58:57 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-12 19:58:57 +0000
commit7802daa533ae1475fc87af47dd3f93f43ba942c5 (patch)
tree90052b5c81f337c468e03a0b53b51b527364fb53 /gcc/config/rs6000/aix43.h
parent31a4781550225681f63a08b50cdfc6ada25e6027 (diff)
downloadgcc-7802daa533ae1475fc87af47dd3f93f43ba942c5.tar.gz
* aix41.h (SUBTARGET_SWITCHES): Delete threads.
(CPP_SPEC): Change mthreads to pthread. (LIB_SPEC): Likewise. (STARTFILE_SPEC): Likewise. * aix43.h (SUBTARGET_SWITCHES): Delete thread. (CPP_SPEC): Change mthreads to pthread. (LIB_SPEC): Likewise. (STARTFILE_SPEC): Likewise. * rs6000-protos.h (reg_or_arith_cint_operand): New. * rs6000.c (reg_or_arith_cint_operand): New. (num_insns_constant_wide): Decorate unsigned constant. * rs6000.h (PREDICATE_CODES): Add reg_or_arith_cint_operand. * rs6000.md (addsi3): Use new predicate. (subsi3, adddi3, subdi3): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34502 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/aix43.h')
-rw-r--r--gcc/config/rs6000/aix43.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h
index c6a8d8df953..b939bed0a6d 100644
--- a/gcc/config/rs6000/aix43.h
+++ b/gcc/config/rs6000/aix43.h
@@ -31,8 +31,6 @@ Boston, MA 02111-1307, USA. */
"Compile for 64-bit pointers" }, \
{"aix32", - (MASK_64BIT | MASK_POWERPC64), \
"Compile for 32-bit pointers" }, \
- {"threads", 0, \
- "Use the thread library and reentrant C library" }, \
{"pe", 0, \
"Support message passing with the Parallel Environment" },
@@ -112,7 +110,7 @@ do { \
%{ansi: -D_ANSI_C_SOURCE}\
%{maix64: -D__64BIT__ -D_ARCH_PPC}\
%{mpe: -I/usr/lpp/ppe.poe/include}\
- %{mthreads: -D_THREAD_SAFE}\
+ %{pthread: -D_THREAD_SAFE}\
%(cpp_cpu)"
/* Common CPP definitions used by CPP_SPEC among the various targets
@@ -172,8 +170,8 @@ do { \
%{p:-L/lib/profiled -L/usr/lib/profiled}\
%{!maix64:%{!shared:%{g*:-lg}}}\
%{mpe:-L/usr/lpp/ppe.poe/lib -lmpi -lvtd}\
- %{mthreads:-L/usr/lib/threads -lpthreads -lc_r /usr/lib/libc.a}\
- %{!mthreads:-lc}"
+ %{pthread:-L/usr/lib/threads -lpthreads -lc_r /usr/lib/libc.a}\
+ %{!pthread:-lc}"
#undef LINK_SPEC
#define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\
@@ -188,8 +186,8 @@ do { \
%{!mpe:\
%{maix64:%{pg:gcrt0_64%O%s}%{!pg:%{p:mcrt0_64%O%s}%{!p:crt0_64%O%s}}}\
%{!maix64:\
- %{mthreads:%{pg:gcrt0_r%O%s}%{!pg:%{p:mcrt0_r%O%s}%{!p:crt0_r%O%s}}}\
- %{!mthreads:%{pg:gcrt0%O%s}%{!pg:%{p:mcrt0%O%s}%{!p:crt0%O%s}}}}}}"
+ %{pthread:%{pg:gcrt0_r%O%s}%{!pg:%{p:mcrt0_r%O%s}%{!p:crt0_r%O%s}}}\
+ %{!pthread:%{pg:gcrt0%O%s}%{!pg:%{p:mcrt0%O%s}%{!p:crt0%O%s}}}}}}"
/* AIX 4.3 typedefs ptrdiff_t as "long" while earlier releases used "int". */