aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-02 17:36:17 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-02 17:36:17 +0000
commit192d8ee84b1bed36267ca6e7483a487d883500d4 (patch)
treef564ae703d483d25555292a71a19ccf16aaf2afd /bfd/coffcode.h
parent61932a8ee900c0368eef3b101fa9a04050aa7c56 (diff)
downloadgdb-192d8ee84b1bed36267ca6e7483a487d883500d4.zip
gdb-192d8ee84b1bed36267ca6e7483a487d883500d4.tar.gz
gdb-192d8ee84b1bed36267ca6e7483a487d883500d4.tar.bz2
* coffcode.h (coff_write_relocs): If SELECT_RELOC is defined, pass
in the internal_reloc itself, not the type. * coff-apollo.c, coff-h8300.c, coff-h8500.c, coff-i386.c, coff-m68k.c, coff-sh.c, coff-we32k.c, coff-z8k.c: Changed definition of SELECT_RELOC accordingly.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 7e50f2a..5c9b576 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -1,5 +1,5 @@
/* Support for the generic parts of most COFF variants, for BFD.
- Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
+ Copyright 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@ -1079,7 +1079,7 @@ DEFUN(coff_write_relocs,(abfd),
#ifdef SELECT_RELOC
/* Work out reloc type from what is required */
- SELECT_RELOC(n.r_type, q->howto);
+ SELECT_RELOC(n, q->howto);
#else
n.r_type = q->howto->type;
#endif