aboutsummaryrefslogtreecommitdiff
path: root/bfd/hppa.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-03-08 21:30:29 +0000
committerKen Raeburn <raeburn@cygnus>1993-03-08 21:30:29 +0000
commit0093d9e67fc57f60a2ccd973551093a5de395c12 (patch)
treec1ec3f60450cba2351926f6f5358632172114544 /bfd/hppa.c
parent59415c56b3ba7ac915bf344c9fdb544ec7cf8c79 (diff)
downloadgdb-0093d9e67fc57f60a2ccd973551093a5de395c12.zip
gdb-0093d9e67fc57f60a2ccd973551093a5de395c12.tar.gz
gdb-0093d9e67fc57f60a2ccd973551093a5de395c12.tar.bz2
hppa.c: don't require DL_MAGIC, SHL_MAGIC, if they're not defined (hpux 7.0)
Diffstat (limited to 'bfd/hppa.c')
-rw-r--r--bfd/hppa.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/hppa.c b/bfd/hppa.c
index 19a2370..4a33c48 100644
--- a/bfd/hppa.c
+++ b/bfd/hppa.c
@@ -37,7 +37,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/user.h> /* After a.out.h */
#include <sys/file.h>
#include <errno.h>
-
+
/* Magic not defined in standard HP-UX header files until 8.0 */
#ifndef CPU_PA_RISC1_0
@@ -317,8 +317,12 @@ hppa_object_p (abfd)
case EXEC_MAGIC:
case SHARE_MAGIC:
case DEMAND_MAGIC:
+#ifdef DL_MAGIC
case DL_MAGIC:
+#endif
+#ifdef SHL_MAGIC
case SHL_MAGIC:
+#endif
break;
default:
bfd_error = wrong_format;