summaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2002-08-08 03:50:17 +0000
committerH.J. Lu <hjl@lucon.org>2002-08-08 03:50:17 +0000
commit0260c6a720a61a1c49af6a032bb013cb0226da48 (patch)
treef9ce257f3de39ac4174cc7ee19f7ad1da6372350 /include/bfdlink.h
parent26ed692b6bec128b2b56e871520535d412b1e499 (diff)
downloadgdb-0260c6a720a61a1c49af6a032bb013cb0226da48.tar.gz
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 c36564f6948..4998fe3dbf7 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. */