Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-03-01 22:38:01 +0300
committerH.J. Lu <hjl.tools@gmail.com>2000-03-01 22:38:01 +0300
commit0f04849fd02eaeb31e8ecae3814090dc1ceadf25 (patch)
tree38e6795a7178ee0a65093f86a99e0558207140f1 /include/bfdlink.h
parentb528f6349534c5851ed2f5477cef8d63b4b1dd20 (diff)
2000-03-01 H.J. Lu <hjl@gnu.org>
* bfdlink.h (bfd_link_callbacks): Add a boolean arg to the undefined_symbol callback.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r--include/bfdlink.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index f7f113c37..bb827a35f 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -329,10 +329,13 @@ struct bfd_link_callbacks
/* 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
- reference is made. In some cases SECTION may be NULL. */
+ reference is made. FATAL indicates whether an undefined symbol is
+ a fatal error or not. In some cases SECTION may be NULL. */
boolean (*undefined_symbol) PARAMS ((struct bfd_link_info *,
const char *name, bfd *abfd,
- asection *section, bfd_vma address));
+ asection *section,
+ bfd_vma address,
+ boolean fatal));
/* A function which is called when a reloc overflow occurs. NAME is
the name of the symbol or section the reloc is against,
RELOC_NAME is the name of the relocation, and ADDEND is any