aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-02-10 21:21:55 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-02-10 21:21:55 +0000
commit6c784c9aab8eac345e61467a9d0b0478ed21e7da (patch)
treec5ebe46af185b4be229ae35654703113ac675b1e /bfd/coffcode.h
parenta25c045a58c5e368fc1c8cddc03447e14e236238 (diff)
downloadgdb-6c784c9aab8eac345e61467a9d0b0478ed21e7da.zip
gdb-6c784c9aab8eac345e61467a9d0b0478ed21e7da.tar.gz
gdb-6c784c9aab8eac345e61467a9d0b0478ed21e7da.tar.bz2
Add hooks to support TI COFF handling.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h4
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