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 (exp_fold_tree_1): Continue processing an expression, even if we
9 are unable to fold it, if we are in the first two evaluation
11 * ldexp.h (enum lang_phase_type): Add descriptions of the phases.
13 2012-02-19 Kai Tietz <ktietz@redhat.com>
15 * deffilep.y (cmp_import_elem): Sort first by module name.
16 * pe-dll.c (process_def_file_and_drectve): Free strings
17 from removed export-element.
18 (add_bfd_to_link): Optimize loop on import-elements and lower
20 (pe_implied_import_dll): Pass NULL instead of 0 for pointer
23 2012-02-18 Hans-Peter Nilsson <hp@axis.com>
25 * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
26 temporary variable node used for NULL argument.
28 2012-02-18 Alan Modra <amodra@gmail.com>
31 * ld.h (parsing_defsym): Delete.
32 * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
33 (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
34 exp_get_abs_int): Add tree arg for %S in error messages. Don't
36 (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
37 type.filename from sub-tree.
38 (exp_trinop): Likewise, and use "cond" rather than "lhs".
39 * ldexp.h (node_type): Add filename field to struct.
40 * ldfile.c (ldfile_input_filename): Delete. Remove all refs.
41 * ldfile.h (ldfile_input_filename): Delete.
42 * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
44 * ldemul.c (syslib_default, hll_default): Likewise.
45 * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
46 lang_get_regions, lang_new_phdr): Likewise.
47 (lang_size_sections_1): Pass addr_tree for %S.
48 * ldlex.h (lex_redirect): Update prototype.
49 (ldlex_filename): Declare.
50 * ldlex.l (<EOF>): Don't set ldfile_input_filename.
51 (lex_redirect): Add fake_filename and count params. Push
52 fake_filename to file_name_stack and init lineno from count.
53 (ldlex_filename): New function.
54 (lex_warn_invalid): Use above.
55 * ldmain.c (main): Update lex_redirect call.
56 * ldmisc.c (vfinfo <%S>): Take file name and line number from
57 etree_type arg, or use current if arg is NULL.
58 * lexsup.c (parsing_defsym): Delete.
59 (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
61 2012-02-13 Kai Tietz <ktietz@redhat.com>
63 * deffilep.y (find_export_in_list): Set is_indent for
64 first or last element, if identical.
65 (find_import_in_list): Likewise.
67 2012-02-11 Kai Tietz <ktietz@redhat.com>
69 * deffilep.y (%union): New type id_const.
70 (opt_name2): New rule.
71 (keyword_as_name): New rule.
72 (dot_name): Replaced by opt_name2 rule.
73 (opt_name): Adjust rule.
74 (opt_equal_name): Likewise.
76 2012-02-11 Pascal Obry <pascal@obry.net>
78 * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
80 (process_def_file_and_drectve): Maintain sorting of exports table
81 after stripping leading @ signs.
83 2012-02-09 Alan Modra <amodra@gmail.com>
85 * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
87 2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
90 * emulparams/elf32_x86_64.sh: Remove NOP.
91 * emulparams/elf_i386.sh: Likewise.
92 * emulparams/elf_i386_be.sh: Likewise.
93 * emulparams/elf_i386_ldso.sh: Likewise.
94 * emulparams/elf_i386_vxworks.sh: Likewise.
95 * emulparams/elf_k1om.sh: Likewise.
96 * emulparams/elf_l1om.sh: Likewise.
97 * emulparams/elf_x86_64.sh: Likewise.
99 * ldlang.c (zero_fill): Initialized to 0.
101 * ldwrite.c (build_link_order): Set data size to linker odrder
102 size when they are the same.
104 * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
106 2012-01-17 Alan Modra <amodra@gmail.com>
108 * ldver.c (ldversion): Update copyright message year.
110 2012-01-15 Alan Modra <amodra@gmail.com>
113 * ldlang.c (lang_process): Don't reopen all files, just those
114 newly added by plugin.
116 2012-01-11 Alan Modra <amodra@gmail.com>
118 * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
119 PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
120 PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
122 (plt_thread_safe, plt_stub_align): New vars.
123 (gld${EMULATION_NAME}_after_allocation): Pass them to
124 ppc64_elf_size_stubs. Align stub sections according to plt_stub_align.
125 * ld.texinfo: Document new command line options, and an old
128 2012-01-09 Roland McGrath <mcgrathr@google.com>
130 * configure.in: Use AM_ZLIB.
131 * configure: Regenerated.
133 For older changes see ChangeLog-2011
139 version-control: never