aboutsummaryrefslogtreecommitdiff
path: root/gdb/mn10200-tdep.c
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 /gdb/mn10200-tdep.c
parent4d3410fd991e8837d9a07db993e0ad47e3df5397 (diff)
downloadgdb-dc25aca06820aa9b7505b1540af8a4f41574371f.zip
gdb-dc25aca06820aa9b7505b1540af8a4f41574371f.tar.gz
gdb-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 'gdb/mn10200-tdep.c')
0 files changed, 0 insertions, 0 deletions