summaryrefslogtreecommitdiff
path: root/bfd/coff-i860.c
diff options
context:
space:
mode:
authorJason Eckhardt <jle@rice.edu>2003-08-24 20:54:05 +0000
committerJason Eckhardt <jle@rice.edu>2003-08-24 20:54:05 +0000
commitfe7301342cc6277f3f16830e563b17576fb2fddf (patch)
tree8a6f34077de946d66b01054bdf545bf2a485952a /bfd/coff-i860.c
parent6c735457b7ab2fd9e2243c3d7e2a9f8e9f0dee58 (diff)
downloadbinutils-redhat-fe7301342cc6277f3f16830e563b17576fb2fddf.tar.gz
2003-08-24 Jason Eckhardt <jle@rice.edu>
* coff-i860.c (CALC_ADDEND): Define to be a no-op.
Diffstat (limited to 'bfd/coff-i860.c')
-rw-r--r--bfd/coff-i860.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/coff-i860.c b/bfd/coff-i860.c
index 0d642ab77b..74b599c91d 100644
--- a/bfd/coff-i860.c
+++ b/bfd/coff-i860.c
@@ -462,6 +462,9 @@ static reloc_howto_type howto_table[] =
FIXME: This macro refers to symbols and asect; these are from the
calling function, not the macro arguments. */
+/* FIXME: This was copied from the i386 version originally but
+ appears to be wrong for i860. For now we'll do nothing. */
+#if 0
#define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \
{ \
coff_symbol_type *coffsym = (coff_symbol_type *) NULL; \
@@ -481,6 +484,9 @@ static reloc_howto_type howto_table[] =
if (ptr && howto_table[reloc.r_type].pc_relative) \
cache_ptr->addend += asect->vma; \
}
+#else
+#define CALC_ADDEND(abfd, ptr, reloc, cache_ptr)
+#endif
/* We use the special COFF backend linker. */
#define coff_relocate_section _bfd_coff_generic_relocate_section