diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2002-08-08 03:50:18 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2002-08-08 03:50:18 +0000 |
commit | 3194163592008a9e575d577921647ab91b09c77b (patch) | |
tree | 4c4fa4fb54d632b2db20f90e84d881f337cc66c3 /include | |
parent | cb811fe799b18a559b53b719e40dd65504db57c0 (diff) | |
download | gdb-3194163592008a9e575d577921647ab91b09c77b.zip gdb-3194163592008a9e575d577921647ab91b09c77b.tar.gz gdb-3194163592008a9e575d577921647ab91b09c77b.tar.bz2 |
Check symbols with undefine version.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/bfdlink.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index ea51a95..39f1874 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2002-08-07 H.J. Lu <hjl@gnu.org> + + * bfdlink.h (bfd_link_info): Add allow_undefined_version. + (bfd_elf_version_expr): Add symver and script. + 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au> * bfdlink.h (bfd_link_common_skip_ar_symbols): New enum. 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. */ |