diff options
author | Jason Eckhardt <jle@rice.edu> | 2003-08-24 20:54:05 +0000 |
---|---|---|
committer | Jason Eckhardt <jle@rice.edu> | 2003-08-24 20:54:05 +0000 |
commit | d2c53db34a1386774cde10ba92deca7a12505b27 (patch) | |
tree | 297832a05dde8d0fe33ad3a76ee2813def47d1a9 /bfd | |
parent | 443c4a82cb3b6c61511b7fe1bdd251a44d9cbf7c (diff) | |
download | gdb-d2c53db34a1386774cde10ba92deca7a12505b27.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')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/coff-i860.c | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6fe12d577d5..3d9995c77d9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 2003-08-24 Jason Eckhardt <jle@rice.edu> + * coff-i860.c (CALC_ADDEND): Define to be a no-op. + +2003-08-24 Jason Eckhardt <jle@rice.edu> + * elf32-i860.c (elf32_i860_relocate_pc16): Subtract 4 and shift by 2 before storing the relocated value. diff --git a/bfd/coff-i860.c b/bfd/coff-i860.c index 0d642ab77b0..74b599c91da 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 |