aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-07-20 03:25:10 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-07-20 03:25:10 +0000
commite0ee487bb566f047bbc43dee18e81bab14cba096 (patch)
tree9d48cd80dcbe6c6a26c5b72750605cbd0c5893d8 /ld/ldmain.c
parent9bfcb6d6894b9224f4b8f55c4f6f14dea93e28ad (diff)
downloadgdb-e0ee487bb566f047bbc43dee18e81bab14cba096.zip
gdb-e0ee487bb566f047bbc43dee18e81bab14cba096.tar.gz
gdb-e0ee487bb566f047bbc43dee18e81bab14cba096.tar.bz2
2000-07-19 H.J. Lu <hjl@gnu.org>
* emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. (PARSE_AND_LIST_PROLOGUE): New. (PARSE_AND_LIST_LONGOPTS): Likewise. (PARSE_AND_LIST_OPTIONS): Likewise. (PARSE_AND_LIST_ARGS_CASES): Likewise. * ldmain.c (main): Clear link_info.flags and link_info.flags_1. * lexsup.c (ld_options): Comment out 'z'. (parse_args): Likewise. * emultempl/elf32.em: Include "elf/common.h". (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z options. (gld_${EMULATION_NAME}_list_options): Likewise. * ld.texinfo: Add documentation for the recognized -z options.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 538268e..9f84456 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -237,6 +237,8 @@ main (argc, argv)
and _fini symbols. We are compatible. */
link_info.init_function = "_init";
link_info.fini_function = "_fini";
+ link_info.flags = (bfd_vma) 0;
+ link_info.flags_1 = (bfd_vma) 0;
ldfile_add_arch ("");