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