diff options
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index ace39e1..ca1d522 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -2268,7 +2268,11 @@ coff_write_relocs (abfd, first_undef) #endif if (q->sym_ptr_ptr) { +#ifdef SECTION_RELATIVE_ABSOLUTE_SYMBOL_P + if (SECTION_RELATIVE_ABSOLUTE_SYMBOL_P (q,s)) +#else if (q->sym_ptr_ptr == bfd_abs_section_ptr->symbol_ptr_ptr) +#endif /* This is a relocation relative to the absolute symbol. */ n.r_symndx = -1; else |