OSDN Git Service

(LINK_SPEC): Provide versions for Snake as well.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 1996 16:26:36 +0000 (16:26 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 1996 16:26:36 +0000 (16:26 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12064 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/pa/pa-hpux9.h

index c76e426..67e8d22 100644 (file)
@@ -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