aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2006-03-21 21:12:00 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2006-03-21 21:12:00 +0000
commitf7da48ef7e3a85c6a16dc378215870f89cf8e4a9 (patch)
tree33d0f5fcc8111799a75c1a62d42e51b86f4fec3a /gcc
parenta3b196e342086293aabbd6f32df9ed95295c83f5 (diff)
downloadgcc-f7da48ef7e3a85c6a16dc378215870f89cf8e4a9.zip
gcc-f7da48ef7e3a85c6a16dc378215870f89cf8e4a9.tar.gz
gcc-f7da48ef7e3a85c6a16dc378215870f89cf8e4a9.tar.bz2
re PR libgomp/26384 (FAIL: libgomp.c/appendix-a/a.18.1.c execution test)
PR libgomp/26384 * config/pa/pa64-hpux.h (LIB_SPEC): Fix for -mt and -pthread options. From-SVN: r112257
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa64-hpux.h12
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0a8feca..fb5f237 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-21 Steve Ellcey <sje@cup.hp.com>
+
+ PR libgomp/26384
+ * config/pa/pa64-hpux.h (LIB_SPEC): Fix for -mt and -pthread options.
+
2006-03-21 Jeff Law <law@redhat.com>
* tree-vrp.c (extract_range_from_unary_expr): Derive ranges for
diff --git a/gcc/config/pa/pa64-hpux.h b/gcc/config/pa/pa64-hpux.h
index 9f51f66..dc58923 100644
--- a/gcc/config/pa/pa64-hpux.h
+++ b/gcc/config/pa/pa64-hpux.h
@@ -56,25 +56,25 @@ Boston, MA 02110-1301, USA. */
#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_GNU_LD)
#define LIB_SPEC \
"%{!shared:\
- %{!p:%{!pg: %{static:-lpthread} -lc\
+ %{!p:%{!pg: %{static|mt|pthread:-lpthread} -lc\
%{static:%{!nolibdld:-a shared -ldld -a archive -lc}}}}\
%{p:%{!pg:%{static:%{!mhp-ld:-a shared}%{mhp-ld:-a archive_shared}}\
- -lprof %{static:-a archive -lpthread} -lc\
+ -lprof %{static:-a archive} %{static|mt|pthread:-lpthread} -lc\
%{static:%{!nolibdld:-a shared -ldld -a archive -lc}}}}\
%{pg:%{static:%{!mhp-ld:-a shared}%{mhp-ld:-a archive_shared}}\
- -lgprof %{static:-a archive -lpthread} -lc\
+ -lgprof %{static:-a archive} %{static|mt|pthread:-lpthread} -lc\
%{static:%{!nolibdld:-a shared -ldld -a archive -lc}}}}\
/usr/lib/pa20_64/milli.a"
#else
#define LIB_SPEC \
"%{!shared:\
- %{!p:%{!pg: %{static:-lpthread} -lc\
+ %{!p:%{!pg: %{static|mt|pthread:-lpthread} -lc\
%{static:%{!nolibdld:-a shared -ldld -a archive -lc}}}}\
%{p:%{!pg:%{static:%{mgnu-ld:-a shared}%{!mgnu-ld:-a archive_shared}}\
- -lprof %{static:-a archive -lpthread} -lc\
+ -lprof %{static:-a archive} %{shatic|mt|pthread:-lpthread} -lc\
%{static:%{!nolibdld:-a shared -ldld -a archive -lc}}}}\
%{pg:%{static:%{mgnu-ld:-a shared}%{!mgnu-ld:-a archive_shared}}\
- -lgprof %{static:-a archive -lpthread} -lc\
+ -lgprof %{static:-a archive} %{static|mt|pthread:-lpthread} -lc\
%{static:%{!nolibdld:-a shared -ldld -a archive -lc}}}}\
/usr/lib/pa20_64/milli.a"
#endif