aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-03-12 17:30:44 +0000
committerIan Lance Taylor <ian@airs.com>1996-03-12 17:30:44 +0000
commit1e9e7ce0bb17e954de56a1f7c151677ec66727aa (patch)
treea39c55a7fe27d94bf620bde290e6ff2a0e5688a3
parent7826d7e117269033559420ac085095f39e336496 (diff)
downloadgdb-1e9e7ce0bb17e954de56a1f7c151677ec66727aa.zip
gdb-1e9e7ce0bb17e954de56a1f7c151677ec66727aa.tar.gz
gdb-1e9e7ce0bb17e954de56a1f7c151677ec66727aa.tar.bz2
comment change
-rw-r--r--include/bfdlink.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index 97969dd..8cf3ac0 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -175,6 +175,8 @@ struct bfd_link_info
boolean shared;
/* true if BFD should pre-bind symbols in a shared object. */
boolean symbolic;
+ /* true if shared objects should be linked directly, not shared. */
+ boolean static_link;
/* Which symbols to strip. */
enum bfd_link_strip strip;
/* Which local symbols to discard. */
@@ -276,10 +278,17 @@ struct bfd_link_callbacks
boolean constructor,
const char *name, bfd *abfd, asection *sec,
bfd_vma value));
- /* A function which is called when there is a reference to a warning
- symbol. WARNING is the warning to be issued. */
+ /* A function which is called to issue a linker warning. For
+ example, this is called when there is a reference to a warning
+ symbol. WARNING is the warning to be issued. SYMBOL is the name
+ of the symbol which triggered the warning; it may be NULL if
+ there is none. ABFD, SECTION and ADDRESS identify the location
+ which trigerred the warning; either ABFD or SECTION or both may
+ be NULL if the location is not known. */
boolean (*warning) PARAMS ((struct bfd_link_info *,
- const char *warning));
+ const char *warning, const char *symbol,
+ bfd *abfd, asection *section,
+ bfd_vma address));
/* A function which is called when a relocation is attempted against
an undefined symbol. NAME is the symbol which is undefined.
ABFD, SECTION and ADDRESS identify the location from which the