1 2012-02-22 Alan Modra <amodra@gmail.com>
4 * ldlang.c (lang_process): Rerun lang_do_assignments before
5 starting garbage collection.
6 * ldexp.c (fold_name): Generate a reloc for defined symbols
7 found without an associated output section during the mark phase.
8 * ldexp.h (enum lang_phase_type): Add descriptions of the phases.
10 2012-02-19 Kai Tietz <ktietz@redhat.com>
12 * deffilep.y (cmp_import_elem): Sort first by module name.
13 * pe-dll.c (process_def_file_and_drectve): Free strings
14 from removed export-element.
15 (add_bfd_to_link): Optimize loop on import-elements and lower
17 (pe_implied_import_dll): Pass NULL instead of 0 for pointer
20 2012-02-18 Hans-Peter Nilsson <hp@axis.com>
22 * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
23 temporary variable node used for NULL argument.
25 2012-02-18 Alan Modra <amodra@gmail.com>
28 * ld.h (parsing_defsym): Delete.
29 * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
30 (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
31 exp_get_abs_int): Add tree arg for %S in error messages. Don't
33 (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
34 type.filename from sub-tree.
35 (exp_trinop): Likewise, and use "cond" rather than "lhs".
36 * ldexp.h (node_type): Add filename field to struct.
37 * ldfile.c (ldfile_input_filename): Delete. Remove all refs.
38 * ldfile.h (ldfile_input_filename): Delete.
39 * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
41 * ldemul.c (syslib_default, hll_default): Likewise.
42 * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
43 lang_get_regions, lang_new_phdr): Likewise.
44 (lang_size_sections_1): Pass addr_tree for %S.
45 * ldlex.h (lex_redirect): Update prototype.
46 (ldlex_filename): Declare.
47 * ldlex.l (<EOF>): Don't set ldfile_input_filename.
48 (lex_redirect): Add fake_filename and count params. Push
49 fake_filename to file_name_stack and init lineno from count.
50 (ldlex_filename): New function.
51 (lex_warn_invalid): Use above.
52 * ldmain.c (main): Update lex_redirect call.
53 * ldmisc.c (vfinfo <%S>): Take file name and line number from
54 etree_type arg, or use current if arg is NULL.
55 * lexsup.c (parsing_defsym): Delete.
56 (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
58 2012-02-13 Kai Tietz <ktietz@redhat.com>
60 * deffilep.y (find_export_in_list): Set is_indent for
61 first or last element, if identical.
62 (find_import_in_list): Likewise.
64 2012-02-11 Kai Tietz <ktietz@redhat.com>
66 * deffilep.y (%union): New type id_const.
67 (opt_name2): New rule.
68 (keyword_as_name): New rule.
69 (dot_name): Replaced by opt_name2 rule.
70 (opt_name): Adjust rule.
71 (opt_equal_name): Likewise.
73 2012-02-11 Pascal Obry <pascal@obry.net>
75 * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
77 (process_def_file_and_drectve): Maintain sorting of exports table
78 after stripping leading @ signs.
80 2012-02-09 Alan Modra <amodra@gmail.com>
82 * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
84 2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
87 * emulparams/elf32_x86_64.sh: Remove NOP.
88 * emulparams/elf_i386.sh: Likewise.
89 * emulparams/elf_i386_be.sh: Likewise.
90 * emulparams/elf_i386_ldso.sh: Likewise.
91 * emulparams/elf_i386_vxworks.sh: Likewise.
92 * emulparams/elf_k1om.sh: Likewise.
93 * emulparams/elf_l1om.sh: Likewise.
94 * emulparams/elf_x86_64.sh: Likewise.
96 * ldlang.c (zero_fill): Initialized to 0.
98 * ldwrite.c (build_link_order): Set data size to linker odrder
99 size when they are the same.
101 * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
103 2012-01-17 Alan Modra <amodra@gmail.com>
105 * ldver.c (ldversion): Update copyright message year.
107 2012-01-15 Alan Modra <amodra@gmail.com>
110 * ldlang.c (lang_process): Don't reopen all files, just those
111 newly added by plugin.
113 2012-01-11 Alan Modra <amodra@gmail.com>
115 * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
116 PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
117 PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
119 (plt_thread_safe, plt_stub_align): New vars.
120 (gld${EMULATION_NAME}_after_allocation): Pass them to
121 ppc64_elf_size_stubs. Align stub sections according to plt_stub_align.
122 * ld.texinfo: Document new command line options, and an old
125 2012-01-09 Roland McGrath <mcgrathr@google.com>
127 * configure.in: Use AM_ZLIB.
128 * configure: Regenerated.
130 For older changes see ChangeLog-2011
136 version-control: never