aboutsummaryrefslogtreecommitdiff
path: root/bfd/ctor.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/ctor.c')
-rw-r--r--bfd/ctor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/ctor.c b/bfd/ctor.c
index 7c21b74..5c965a0 100644
--- a/bfd/ctor.c
+++ b/bfd/ctor.c
@@ -135,7 +135,7 @@ DEFUN(bfd_constructor_entry,(abfd, symbol_ptr_ptr, type),
sizeof(arelent_chain));
if (!reloc)
{
- bfd_error = no_memory;
+ bfd_set_error (bfd_error_no_memory);
return false;
}