From: Ian Lance Taylor Date: Wed, 2 Feb 1994 17:36:17 +0000 (+0000) Subject: * coffcode.h (coff_write_relocs): If SELECT_RELOC is defined, pass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=192d8ee84b1bed36267ca6e7483a487d883500d4;p=binutils-gdb.git * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7468b4cf012..ccfbcf2b7ad 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +Wed Feb 2 12:30:13 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * 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. + Tue Feb 1 12:05:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * coffcode.h (bfd_coff_backend_data): Added new arguments to diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 7e50f2aef77..5c9b576218f 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