summaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-06-23 11:03:45 +0000
committerMark Mitchell <mark@codesourcery.com>1999-06-23 11:03:45 +0000
commitcc425e965b1da07ccd1fac8636c78692788fcf5a (patch)
tree1f21196d0ab52b7bc363269356d26c09422f11e9 /include/bfdlink.h
parent17d0d78435ef2066bd81afe24c86d8dbcfe878d2 (diff)
downloadgdb-cc425e965b1da07ccd1fac8636c78692788fcf5a.tar.gz
* bfdlink.h (struct bfd_link_hash_entry): Add init_function and
fini_function.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r--include/bfdlink.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index a055fa082da..f7f113c37e3 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -237,6 +237,13 @@ struct bfd_link_info
MPC860 C0 (or earlier) should be checked for and modified. It gives the
number of bytes that should be checked at the end of each text page. */
int mpc860c0;
+
+ /* The function to call when the executable or shared object is
+ loaded. */
+ const char *init_function;
+ /* The function to call when the executable or shared object is
+ unloaded. */
+ const char *fini_function;
};
/* This structures holds a set of callback functions. These are