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-sparc.c | |
parent | 467cb0a471d13c5186a6ee166e60b47c30da64e9 (diff) |
Bring Cygnus versions into the trunk, keeping our local patches
Diffstat (limited to 'gnu/usr.bin/binutils/bfd/nlm32-sparc.c')
-rw-r--r-- | gnu/usr.bin/binutils/bfd/nlm32-sparc.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/usr.bin/binutils/bfd/nlm32-sparc.c b/gnu/usr.bin/binutils/bfd/nlm32-sparc.c index 54eb316f1b0..5963adbc70b 100644 --- a/gnu/usr.bin/binutils/bfd/nlm32-sparc.c +++ b/gnu/usr.bin/binutils/bfd/nlm32-sparc.c @@ -272,10 +272,7 @@ nlm_sparc_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; /* * Then read in the symbol @@ -296,10 +293,7 @@ nlm_sparc_read_import (abfd, sym) nlm_relocs = ((struct nlm_relent *) bfd_alloc (abfd, rcount * sizeof (struct nlm_relent))); if (!nlm_relocs) - { - bfd_set_error (bfd_error_no_memory); - return false; - } + return false; sym -> relocs = nlm_relocs; sym -> rcnt = 0; while (sym -> rcnt < rcount) |