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 '\\'.
This commit is contained in:
H.J. Lu 2003-10-24 14:55:14 +00:00
parent 2b7dcf79ae
commit d138220cb0
2 changed files with 7 additions and 2 deletions

View File

@ -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> 2003-10-22 Joseph S. Myers <jsm@polyomino.org.uk>
* obstack.h: Merge the following change from gnulib: * obstack.h: Merge the following change from gnulib:

View File

@ -625,12 +625,12 @@ struct bfd_elf_version_expr
struct bfd_elf_version_expr *next; struct bfd_elf_version_expr *next;
/* Glob pattern. */ /* Glob pattern. */
const char *pattern; const char *pattern;
/* NULL for a glob pattern, otherwise a straight symbol. */
const char *symbol;
/* Defined by ".symver". */ /* Defined by ".symver". */
unsigned int symver : 1; unsigned int symver : 1;
/* Defined by version script. */ /* Defined by version script. */
unsigned int script : 1; unsigned int script : 1;
/* Is this a wildcard?. */
unsigned int wildcard : 1;
/* Pattern type. */ /* Pattern type. */
#define BFD_ELF_VERSION_C_TYPE 1 #define BFD_ELF_VERSION_C_TYPE 1
#define BFD_ELF_VERSION_CXX_TYPE 2 #define BFD_ELF_VERSION_CXX_TYPE 2