mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
hppa.c: don't require DL_MAGIC, SHL_MAGIC, if they're not defined (hpux 7.0)
This commit is contained in:
@ -2,6 +2,8 @@ Mon Mar 8 14:55:13 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
|||||||
|
|
||||||
* hppa.c (_PA_RISC_ID): Defined if not already defined (e.g., for
|
* hppa.c (_PA_RISC_ID): Defined if not already defined (e.g., for
|
||||||
hpux 7). Patch from friedman@gnu.ai.mit.edu.
|
hpux 7). Patch from friedman@gnu.ai.mit.edu.
|
||||||
|
(hppa_object_p): Only check for DL_MAGIC and SHL_MAGIC if they're
|
||||||
|
defined, which they aren't in hpux 7.0.
|
||||||
|
|
||||||
* aix386-core.c: Include uinfo.h and coredump.h. Patch from Minh
|
* aix386-core.c: Include uinfo.h and coredump.h. Patch from Minh
|
||||||
Tran-Le, tranle@intellicorp.com.
|
Tran-Le, tranle@intellicorp.com.
|
||||||
|
@ -317,8 +317,12 @@ hppa_object_p (abfd)
|
|||||||
case EXEC_MAGIC:
|
case EXEC_MAGIC:
|
||||||
case SHARE_MAGIC:
|
case SHARE_MAGIC:
|
||||||
case DEMAND_MAGIC:
|
case DEMAND_MAGIC:
|
||||||
|
#ifdef DL_MAGIC
|
||||||
case DL_MAGIC:
|
case DL_MAGIC:
|
||||||
|
#endif
|
||||||
|
#ifdef SHL_MAGIC
|
||||||
case SHL_MAGIC:
|
case SHL_MAGIC:
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
bfd_error = wrong_format;
|
bfd_error = wrong_format;
|
||||||
|
Reference in New Issue
Block a user