summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd/aix386-core.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-06-10 10:55:58 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-06-10 10:55:58 +0000
commita7e831079363e3bb45f3172f6e59ba48e335682b (patch)
treeee4324eac9a9d66f189fab60498ec42b8226b7fc /gnu/usr.bin/binutils/bfd/aix386-core.c
parent467cb0a471d13c5186a6ee166e60b47c30da64e9 (diff)
Bring Cygnus versions into the trunk, keeping our local patches
Diffstat (limited to 'gnu/usr.bin/binutils/bfd/aix386-core.c')
-rw-r--r--gnu/usr.bin/binutils/bfd/aix386-core.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gnu/usr.bin/binutils/bfd/aix386-core.c b/gnu/usr.bin/binutils/bfd/aix386-core.c
index 480d50fa7ef..21ec9a6d431 100644
--- a/gnu/usr.bin/binutils/bfd/aix386-core.c
+++ b/gnu/usr.bin/binutils/bfd/aix386-core.c
@@ -94,10 +94,7 @@ aix386_core_file_p (abfd)
mergem = (struct mergem *)bfd_zalloc (abfd, sizeof (struct mergem));
if (mergem == NULL)
- {
- bfd_set_error (bfd_error_no_memory);
- return 0;
- }
+ return 0;
core = &mergem->internal_core;
@@ -118,7 +115,6 @@ aix386_core_file_p (abfd)
if (core_regsec (abfd) == NULL)
{
loser:
- bfd_set_error (bfd_error_no_memory);
bfd_release (abfd, (char *)mergem);
return 0;
}
@@ -251,8 +247,8 @@ const bfd_target aix386_core_vec =
{
"aix386-core",
bfd_target_unknown_flavour,
- true, /* target byte order */
- true, /* target headers byte order */
+ BFD_ENDIAN_BIG, /* target byte order */
+ BFD_ENDIANG_BIG, /* target headers byte order */
(HAS_RELOC | EXEC_P | /* object flags */
HAS_LINENO | HAS_DEBUG |
HAS_SYMS | HAS_LOCALS | WP_TEXT),