mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-30 05:23:49 +08:00
dc25aca068
* 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. |
||
---|---|---|
bfd | ||
binutils | ||
config | ||
gas | ||
gdb | ||
gprof | ||
include | ||
ld | ||
mmalloc | ||
opcodes | ||
readline | ||
sim | ||
.Sanitize | ||
Build-A-Release.mk | ||
build-all.mk | ||
ChangeLog | ||
config-ml.in | ||
config.guess | ||
config.sub | ||
configure | ||
configure.bat | ||
configure.in | ||
DOC.Sanitize | ||
INSTALL | ||
install-texi.in | ||
Install.in | ||
install.sh | ||
intro.texi | ||
makeall.bat | ||
Makefile.in | ||
makefile.vms | ||
mpw-build.in | ||
mpw-config.in | ||
mpw-configure | ||
mpw-README | ||
Pack-A-Progressive | ||
setup.com | ||
SUPPORTED | ||
tape-labels-tex.in | ||
test-build.mk |