aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-alpha.c
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1994-02-17 18:08:41 +0000
committerDavid MacKenzie <djm@cygnus>1994-02-17 18:08:41 +0000
commitd1ad85a6e6eead5ba7a2950c3d63f39924397353 (patch)
tree4fb18639d4c1f179c4b1dbcd837525829da1575a /bfd/coff-alpha.c
parent166557e7b19db0013a7ab307a08f2c78cd243144 (diff)
downloadgdb-d1ad85a6e6eead5ba7a2950c3d63f39924397353.zip
gdb-d1ad85a6e6eead5ba7a2950c3d63f39924397353.tar.gz
gdb-d1ad85a6e6eead5ba7a2950c3d63f39924397353.tar.bz2
* bfd.c (bfd_get_error, bfd_set_error): New functions.
(bfd_error): Make static. (bfd_error_type): Renamed from bfd_ec. Prepend "bfd_error_" to all values. * bfd-in2.h: Regenerated. * aix386-core.c, aout-adobe.c, aout-encap.c, aout-target.h, aoutf1.h, aoutx.h, archive.c, archures.c, bfd.c, bout.c, cache.c, coff-alpha.c, coff-mips.c, coff-rs6000.c, coffcode.h, coffgen.c, core.c, ctor.c, ecoff.c, ecofflink.c, elf.c, elf32-hppa.c, elf32-mips.c, elfcode.h, format.c, hash.c, hp300hpux.c, hppabsd-core.c, i386lynx.c, ieee.c, libbfd.c, libelf.h, linker.c, lynx-core.c, nlm.c, nlm32-alpha.c, nlm32-i386.c, nlm32-sparc.c, nlmcode.h, oasys.c, opncls.c, osf-core.c, ptrace-core.c, reloc16.c, rs6000-core.c, section.c, som.c, srec.c, sunos.c, syms.c, targets.c, tekhex.c, trad-core.c: Change callers.
Diffstat (limited to 'bfd/coff-alpha.c')
-rw-r--r--bfd/coff-alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-alpha.c b/bfd/coff-alpha.c
index 2d3ce21..349c24e 100644
--- a/bfd/coff-alpha.c
+++ b/bfd/coff-alpha.c
@@ -1325,7 +1325,7 @@ alpha_relocate_section (output_bfd, info, input_bfd, input_section,
* sizeof (asection *))));
if (!symndx_to_section)
{
- bfd_error = no_memory;
+ bfd_set_error (bfd_error_no_memory);
return false;
}