aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-02-24 23:23:31 +0000
committerIan Lance Taylor <ian@airs.com>1997-02-24 23:23:31 +0000
commitdc25aca06820aa9b7505b1540af8a4f41574371f (patch)
tree2ee3af040966ab341448467e2d65f120a411ff6e /ld
parent4d3410fd991e8837d9a07db993e0ad47e3df5397 (diff)
downloadbinutils-dc25aca06820aa9b7505b1540af8a4f41574371f.zip
binutils-dc25aca06820aa9b7505b1540af8a4f41574371f.tar.gz
binutils-dc25aca06820aa9b7505b1540af8a4f41574371f.tar.bz2
From Eric Youngdale <eric@andante.jic.com>:
* ldlex.l (V_TAG, V_IDENTIFIER): New macros. (VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version information. (ldlex_version_script, ldlex_version_file): New functions. * ldlex.h (enum input_enum): Add input_version_script. (ldlex_version_script): Declare. (ldlex_version_file): Declare. * ldgram.y (%union): Add deflist, versyms, and versnode. (VERS_TAG, VERS_IDENTIFIER): New terminals. (GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals. (file): Accept INPUT_VERSION_SCRIPT. (ifile_p1): Accept version. (version_script_file): New nonterminal. (version, vers_nodes, vers_node): Likewise. (verdep, vers_tag, ver_defns): Likewise. * ldlang.c (lang_elf_version_info): New global variable. (lang_new_vers_regex): New function. (lang_new_vers_node): New function. (version_index): New static variable. (lang_register_vers_node): New function. (lang_add_vers_depend): New function. * ldlang.h (lang_elf_version_info): Declare. (lang_new_vers_regex, lang_new_vers_node): Declare. (lang_add_vers_depend, lang_register_vers_node): Declare. * lexsup.c (OPTION_VERSION_SCRIPT): Define. (ld_options): Add "version-script". (parse_args): Handle OPTION_VERSION_SCRIPT. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Pass lang_elf_version_info to size_dynamic_sections. * scripttempl/elf.sc: Add .gnu.version sections.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog34
1 files changed, 34 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 836bfce..0dd8ff5 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,37 @@
+Mon Feb 24 18:16:09 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ From Eric Youngdale <eric@andante.jic.com>:
+ * ldlex.l (V_TAG, V_IDENTIFIER): New macros.
+ (VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version
+ information.
+ (ldlex_version_script, ldlex_version_file): New functions.
+ * ldlex.h (enum input_enum): Add input_version_script.
+ (ldlex_version_script): Declare.
+ (ldlex_version_file): Declare.
+ * ldgram.y (%union): Add deflist, versyms, and versnode.
+ (VERS_TAG, VERS_IDENTIFIER): New terminals.
+ (GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals.
+ (file): Accept INPUT_VERSION_SCRIPT.
+ (ifile_p1): Accept version.
+ (version_script_file): New nonterminal.
+ (version, vers_nodes, vers_node): Likewise.
+ (verdep, vers_tag, ver_defns): Likewise.
+ * ldlang.c (lang_elf_version_info): New global variable.
+ (lang_new_vers_regex): New function.
+ (lang_new_vers_node): New function.
+ (version_index): New static variable.
+ (lang_register_vers_node): New function.
+ (lang_add_vers_depend): New function.
+ * ldlang.h (lang_elf_version_info): Declare.
+ (lang_new_vers_regex, lang_new_vers_node): Declare.
+ (lang_add_vers_depend, lang_register_vers_node): Declare.
+ * lexsup.c (OPTION_VERSION_SCRIPT): Define.
+ (ld_options): Add "version-script".
+ (parse_args): Handle OPTION_VERSION_SCRIPT.
+ * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
+ Pass lang_elf_version_info to size_dynamic_sections.
+ * scripttempl/elf.sc: Add .gnu.version sections.
+
start-sanitize-d30v
Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>