aboutsummaryrefslogtreecommitdiff
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
commit94883c63a8425e74a6d080763ed59e9ff9f748a0 (patch)
tree4c108cb5701569300540f1441b6d9dc990371fa5
parent40b10cc76fac9d126c09ae1fe16021ddd8555bee (diff)
downloadgdb-94883c63a8425e74a6d080763ed59e9ff9f748a0.zip
gdb-94883c63a8425e74a6d080763ed59e9ff9f748a0.tar.gz
gdb-94883c63a8425e74a6d080763ed59e9ff9f748a0.tar.bz2
* bfdlink.h (struct bfd_link_hash_entry): Add init_function and
fini_function.
-rw-r--r--include/ChangeLog5
-rw-r--r--include/bfdlink.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index aa7bdb0..ea0bb3c 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+1999-06-22 Mark Mitchell <mark@codesourcery.com>
+
+ * bfdlink.h (struct bfd_link_hash_entry): Add init_function and
+ fini_function.
+
1999-06-20 Mark Mitchell <mark@codesourcery.com>
* mips.h (Elf32_Internal_Msym): New structure.
diff --git a/include/bfdlink.h b/include/bfdlink.h
index a055fa0..f7f113c 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