aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-10-24 14:55:14 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-10-24 14:55:14 +0000
commit5e35cbc224bd9b78e4547073ca92b1fd85ad9301 (patch)
tree16a5eea127a4bcbfa97821d1a3e802a38fcdd1ae /include
parent383b84283aeda5986ed67e66e2ca8788f8cff1f5 (diff)
downloadfsf-binutils-gdb-5e35cbc224bd9b78e4547073ca92b1fd85ad9301.zip
fsf-binutils-gdb-5e35cbc224bd9b78e4547073ca92b1fd85ad9301.tar.gz
fsf-binutils-gdb-5e35cbc224bd9b78e4547073ca92b1fd85ad9301.tar.bz2
bfd/
2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up hash table for real symbols. include/ 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove "wildcard". ld/ 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * ldlang.c (lang_vers_match): Check "symbol" instead of "wildcard" and "pattern". Fix a typo. (lang_finalize_version_expr_head): Likewise. (lang_register_vers_node): Likewise. (realsymbol): New function. (lang_new_vers_pattern): Set "symbol" and remove "wildcard". * ldlex.l (V_IDENTIFIER): Allow '\\'.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/bfdlink.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index cae7505..d523637 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove
+ "wildcard".
+
2003-10-22 Joseph S. Myers <jsm@polyomino.org.uk>
* obstack.h: Merge the following change from gnulib:
diff --git a/include/bfdlink.h b/include/bfdlink.h
index fd77c29..75ea39d 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -625,12 +625,12 @@ struct bfd_elf_version_expr
struct bfd_elf_version_expr *next;
/* Glob pattern. */
const char *pattern;
+ /* NULL for a glob pattern, otherwise a straight symbol. */
+ const char *symbol;
/* Defined by ".symver". */
unsigned int symver : 1;
/* Defined by version script. */
unsigned int script : 1;
- /* Is this a wildcard?. */
- unsigned int wildcard : 1;
/* Pattern type. */
#define BFD_ELF_VERSION_C_TYPE 1
#define BFD_ELF_VERSION_CXX_TYPE 2