aboutsummaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-08-08 03:50:18 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-08-08 03:50:18 +0000
commit3194163592008a9e575d577921647ab91b09c77b (patch)
tree4c4fa4fb54d632b2db20f90e84d881f337cc66c3 /include/bfdlink.h
parentcb811fe799b18a559b53b719e40dd65504db57c0 (diff)
downloadgdb-3194163592008a9e575d577921647ab91b09c77b.zip
gdb-3194163592008a9e575d577921647ab91b09c77b.tar.gz
gdb-3194163592008a9e575d577921647ab91b09c77b.tar.bz2
Check symbols with undefine version.
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 c36564f..4998fe3 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -262,6 +262,9 @@ struct bfd_link_info
/* true if ok to have multiple definition. */
boolean allow_multiple_definition;
+ /* true if ok to have version with no definition. */
+ boolean allow_undefined_version;
+
/* Which symbols to strip. */
enum bfd_link_strip strip;
@@ -602,6 +605,10 @@ struct bfd_elf_version_expr
const char *pattern;
/* Matching function. */
int (*match) PARAMS((struct bfd_elf_version_expr *, const char *));
+ /* Defined by ".symver". */
+ unsigned int symver: 1;
+ /* Defined by version script. */
+ unsigned int script : 1;
};
/* Version dependencies. */