From 6b33ae176077475ad50a324378c1b7ba423e8128 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 21 May 1996 12:26:36 -0400 Subject: [PATCH] (LINK_SPEC): Provide versions for Snake as well. From-SVN: r12064 --- gcc/config/pa/pa-hpux9.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/config/pa/pa-hpux9.h b/gcc/config/pa/pa-hpux9.h index c76e426e517..67e8d2289f7 100644 --- a/gcc/config/pa/pa-hpux9.h +++ b/gcc/config/pa/pa-hpux9.h @@ -20,7 +20,12 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* We can debug dynamically linked executables on hpux9; we also want - dereferecing of a NULL pointer to cause a SEGV. */ + derefercing of a NULL pointer to cause a SEGV. */ #undef LINK_SPEC +#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1) +#define LINK_SPEC \ + "%{!mpa-risc-1-0:-L/lib/pa1.1 -L/usr/lib/pa1.1} -z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}" +#else #define LINK_SPEC \ "-z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}" +#endif