summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd/nlm32-sparc.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/nlm32-sparc.c
parent467cb0a471d13c5186a6ee166e60b47c30da64e9 (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.c10
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)