aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-05-21 12:26:36 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-05-21 12:26:36 -0400
commit6b33ae176077475ad50a324378c1b7ba423e8128 (patch)
tree2ef8894cce6f9a111f37abcb25e636542eda39f4
parent50a1e70580860e89e037ddf596c72a0c864cfcfb (diff)
downloadgcc-6b33ae176077475ad50a324378c1b7ba423e8128.zip
gcc-6b33ae176077475ad50a324378c1b7ba423e8128.tar.gz
gcc-6b33ae176077475ad50a324378c1b7ba423e8128.tar.bz2
(LINK_SPEC): Provide versions for Snake as well.
From-SVN: r12064
-rw-r--r--gcc/config/pa/pa-hpux9.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/pa/pa-hpux9.h b/gcc/config/pa/pa-hpux9.h
index c76e426..67e8d22 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