aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffswap.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/coffswap.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/coffswap.h')
-rw-r--r--bfd/coffswap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/coffswap.h b/bfd/coffswap.h
index bb94384..d7d090f 100644
--- a/bfd/coffswap.h
+++ b/bfd/coffswap.h
@@ -357,6 +357,9 @@ coff_swap_sym_in (abfd, ext1, in1)
}
in->n_sclass = bfd_h_get_8(abfd, ext->e_sclass);
in->n_numaux = bfd_h_get_8(abfd, ext->e_numaux);
+#ifdef COFF_ADJUST_SYM_IN_POST
+ COFF_ADJUST_SYM_IN_POST (abfd, ext1, in1);
+#endif
}
static unsigned int
@@ -390,6 +393,9 @@ coff_swap_sym_out (abfd, inp, extp)
}
bfd_h_put_8(abfd, in->n_sclass , ext->e_sclass);
bfd_h_put_8(abfd, in->n_numaux , ext->e_numaux);
+#ifdef COFF_ADJUST_SYM_OUT_POST
+ COFF_ADJUST_SYM_OUT_POST (abfd, inp, extp);
+#endif
return SYMESZ;
}