From: Steve Ellcey Date: Tue, 21 Mar 2006 21:12:00 +0000 (+0000) Subject: re PR libgomp/26384 (FAIL: libgomp.c/appendix-a/a.18.1.c execution test) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7da48ef7e3a85c6a16dc378215870f89cf8e4a9;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0a8feca8275..fb5f2377c2f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-03-21 Steve Ellcey + + PR libgomp/26384 + * config/pa/pa64-hpux.h (LIB_SPEC): Fix for -mt and -pthread options. + 2006-03-21 Jeff Law * 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 9f51f66ae31..dc589230bf8 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