diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-06-10 10:55:58 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-06-10 10:55:58 +0000 |
commit | a7e831079363e3bb45f3172f6e59ba48e335682b (patch) | |
tree | ee4324eac9a9d66f189fab60498ec42b8226b7fc /gnu/usr.bin/binutils/bfd/nlm32-ppc.c | |
parent | 467cb0a471d13c5186a6ee166e60b47c30da64e9 (diff) |
Bring Cygnus versions into the trunk, keeping our local patches
Diffstat (limited to 'gnu/usr.bin/binutils/bfd/nlm32-ppc.c')
-rw-r--r-- | gnu/usr.bin/binutils/bfd/nlm32-ppc.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/usr.bin/binutils/bfd/nlm32-ppc.c b/gnu/usr.bin/binutils/bfd/nlm32-ppc.c index 64a047c6dc7..ecf2de8f10b 100644 --- a/gnu/usr.bin/binutils/bfd/nlm32-ppc.c +++ b/gnu/usr.bin/binutils/bfd/nlm32-ppc.c @@ -667,10 +667,7 @@ nlm_powerpc_read_import (abfd, sym) sym -> symbol.the_bfd = abfd; name = bfd_alloc (abfd, symlength + 1); if (name == NULL) - { - bfd_set_error (bfd_error_no_memory); - return false; - } + return false; if (bfd_read (name, symlength, 1, abfd) != symlength) return (false); name[symlength] = '\0'; @@ -684,10 +681,7 @@ nlm_powerpc_read_import (abfd, sym) nlm_relocs = ((struct nlm_relent *) bfd_alloc (abfd, rcount * sizeof (struct nlm_relent))); if (nlm_relocs == (struct nlm_relent *) NULL) - { - bfd_set_error (bfd_error_no_memory); - return false; - } + return false; sym -> relocs = nlm_relocs; sym -> rcnt = 0; while (sym -> rcnt < rcount) |