summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix41.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/aix41.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/aix41.h')
-rw-r--r--gcc/config/rs6000/aix41.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/gcc/config/rs6000/aix41.h b/gcc/config/rs6000/aix41.h
index b28d2439956..a884c7e0b6c 100644
--- a/gcc/config/rs6000/aix41.h
+++ b/gcc/config/rs6000/aix41.h
@@ -27,9 +27,7 @@ Boston, MA 02111-1307, USA. */
#undef SUBSUBTARGET_SWITCHES
#define SUBSUBTARGET_SWITCHES \
- {"threads", 0, \
- "Use the thread library and reentrant C library" }, \
- {"pe", 0, \
+ {"pe", 0, \
"Support message passing with the Parallel Environment" },
#undef ASM_SPEC
@@ -46,7 +44,7 @@ Boston, MA 02111-1307, USA. */
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\
%{ansi: -D_ANSI_C_SOURCE}\
%{mpe: -I/usr/lpp/ppe.poe/include}\
- %{mthreads: -D_THREAD_SAFE}\
+ %{pthread: -D_THREAD_SAFE}\
%(cpp_cpu)"
#undef CPP_DEFAULT_SPEC
@@ -74,8 +72,8 @@ Boston, MA 02111-1307, USA. */
#define LIB_SPEC "%{pg:-L/lib/profiled -L/usr/lib/profiled}\
%{p:-L/lib/profiled -L/usr/lib/profiled} %{!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\
@@ -88,8 +86,8 @@ Boston, MA 02111-1307, USA. */
%{!pg:%{p:/usr/lpp/ppe.poe/lib/mcrt0.o}\
%{!p:/usr/lpp/ppe.poe/lib/crt0.o}}}\
%{!mpe:\
- %{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 uses PowerPC nop (ori 0,0,0) instruction as call glue for PowerPC
and "cror 31,31,31" for POWER architecture. */