aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rwxr-xr-xgas/configure3
-rw-r--r--gas/configure.in3
3 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5b5ded5..4f485fa 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 13 15:31:18 1996 Ian Lance Taylor <ian@cygnus.com>
+
+ * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
+ * configure: Rebuild.
+
Mon Feb 12 15:53:46 1996 Doug Evans <dje@charmed.cygnus.com>
* configure.in: Recognize any sparc* cpu.
diff --git a/gas/configure b/gas/configure
index 80bf9c5..408a202 100755
--- a/gas/configure
+++ b/gas/configure
@@ -2135,6 +2135,9 @@ HLDFLAGS=
# If we have shared libraries, try to set rpath reasonably.
if test "${shared}" = "true"; then
case "${host}" in
+ *-*-hpux*)
+ HLDFLAGS='-Wl,+s,+b,$(libdir)'
+ ;;
*-*-irix5*)
HLDFLAGS='-Wl,-rpath,$(libdir)'
;;
diff --git a/gas/configure.in b/gas/configure.in
index 9d371ef..a8a9676 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -635,6 +635,9 @@ HLDFLAGS=
# If we have shared libraries, try to set rpath reasonably.
if test "${shared}" = "true"; then
case "${host}" in
+ *-*-hpux*)
+ HLDFLAGS='-Wl,+s,+b,$(libdir)'
+ ;;
*-*-irix5*)
HLDFLAGS='-Wl,-rpath,$(libdir)'
;;