Remove redundant statement
[external/binutils.git] / ld / ChangeLog
1 2012-06-28  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * ldlang.c (update_wild_statements): Remove redundant statement.
4
5 2012-06-25  Alan Modra  <amodra@gmail.com>
6
7         * ldlang.c (load_symbols): Close file and set flags.loaded
8         after parsing script file.
9         (open_input_bfds): Don't segv on closed script.
10
11 2012-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12
13         * configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32.
14         Remove x32 in tdir_i386linux and tdir_elf_i386.
15
16 2012-06-22  Roland McGrath  <mcgrathr@google.com>
17
18         * NEWS: Mention __ehdr_start.
19
20 2012-06-21  Alan Modra  <amodra@gmail.com>
21
22         * ldlang.c (lang_insert_orphan): Don't make __start_<sec> symbol
23         absolute, and remove unnecessary alignment.
24
25 2012-06-16  Alan Modra  <amodra@gmail.com>
26
27         * ldlang.h (lang_output_section_statement_type): Add after_end field.
28         (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
29         (section_for_dot): Declare.
30         * ldlang.c (lang_size_sections_1): Correct comment.
31         (current_section): Move earlier.
32         (current_assign, prefer_next_section): New static vars.
33         (lang_do_assignments_1): Add found_end param.  Detect _end
34         assignment to set found_end.  Set os->after_end.  Set above statics.
35         (lang_do_assignments): Adjust lang_do_assignments_1 call.  Init
36         vars.
37         (section_for_dot): New function.
38         (lang_set_startof): Don't make an absolute symbol.
39         (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
40         * ldexp.c (new_rel_from_abs): Use section_for_dot.
41         * emultempl/lnk960.em (symbol_at_beginning_of): New function.
42         (symbol_at_end_of): Likewise.
43         (lnk960_after_allocation): Use them.
44         * scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and
45         likewise before __bss_start.
46
47 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
48
49         * plugin.c (set_tv_header): Handle link_info.pie.
50
51 2012-06-11  Alan Modra  <amodra@gmail.com>
52
53         PR ld/14215
54         * ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section
55         references.
56         * emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of
57         .got.plt.
58         * emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise.
59         * emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise.
60         * emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise.
61         * emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise.
62         * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise.
63         * emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise.
64         * emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise.
65         * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise.
66
67 2012-06-07  Georg-Johann Lay  <avr@gjlay.de>
68
69         PR 13697
70         * scripttempl/avr.sc (.data): Keep it.
71
72 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
73
74         * Makefile.am (TEXINFO_TEX): Remove $(top_srcdir) prefix.
75         * Makefile.in: Regenerate.
76
77 2012-05-30  Alan Modra  <amodra@gmail.com>
78
79         * ldlang.h (lang_output_section_statement_type): Rename
80         "section_relative_symbol" field to "update_dot".
81         * ldlang.c: Update all uses.
82         (strip_excluded_output_sections): Don't test update_dot_tree here..
83         (lang_leave_overlay): ..set update_dot here.
84
85 2012-05-26  Alan Modra  <amodra@gmail.com>
86
87         * ldlex.h (enum option_values): Move from..
88         * lexsup.c: ..here.
89         * emultempl/ppc32elf.em: Include ldlex.h.
90         (PARSE_AND_LIST_ARGS_CASES): Disable optimisations when
91         --traditional-format.
92         * emultempl/ppc64elf.em: Likewise.
93
94 2012-05-25  Alan Modra  <amodra@gmail.com>
95
96         PR ld/13909
97         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Handle
98         multiple .eh_frame sections attached to bfd.
99
100 2012-05-23  Cary Coutant  <ccoutant@google.com>
101
102         * scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more
103         carefully.  Fix typo where .rela.data.rel.ro matches
104         .rel.data.rel.ro.
105         * scripttempl/mep.sc: Likewise.
106         * scripttempl/elf.sc: Match .data.rel.ro.* sections more carefully.
107         * scripttempl/elf64hppa.sc: Likewise.
108         * scripttempl/elfxtensa.sc: Likewise.
109
110 2012-05-17  Daniel Richard G.  <skunk@iskunk.org>
111             Nick Clifton  <nickc@redhat.com>
112
113         PR 14072
114         * configure.in: Add check that sysdep.h has been included before
115         any system header files.
116         * configure: Regenerate.
117         * config.in: Regenerate.
118         * sysdep.h: Generate an error if included before config.h.
119
120 2012-05-16  Sergio Durigan Junior  <sergiodj@redhat.com>
121
122         * emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd'
123         as the first argument for `bfd_get_section_name'.
124
125 2012-05-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
126
127         PR ld/14069
128         * emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf
129         support.
130
131 2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
132
133         * NEWS: Mention the support for S12X processors.
134
135 2012-05-14  James Lemke  <jwlemke@codesourcery.com>
136
137         * ldlang.c (walk_wild_consider_section): Don't copy section_flag_list.
138         Pass it to callback.
139         (walk_wild_section_general): Pass section_flag_list to callback.
140         (lang_add_section): Add sflag_list parm.
141         Move out logic to keep / omit a section & call bfd_lookup_section_flags.
142         (output_section_callback_fast): Add sflag_list parm.
143         Add new parm to lang_add_section calls.
144         (output_section_callback): Likewise.
145         (check_section_callback): Add sflag_list parm.
146         (lang_place_orphans): Add new parm to lang_add_section calls.
147         (gc_section_callback): Add sflag_list parm.
148         (find_relro_section_callback): Likewise.
149         * ldlang.h (callback_t): Add flag_info parm.
150         (lang_add_section): Add sflag_list parm.
151         * emultempl/armelf.em (elf32_arm_add_stub_section):
152         Add lang_add_section parm.
153         * emultempl/beos.em (gld*_place_orphan): Likewise.
154         * emultempl/elf32.em (gld*_place_orphan): Likewise.
155         * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
156         * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
157         * emultempl/mipself.em (mips_add_stub_section): Likewise.
158         * emultempl/mmo.em (mmo_place_orphan): Likewise.
159         * emultempl/pe.em (gld_*_place_orphan): Likewise.
160         * emultempl/pep.em (gld_*_place_orphan): Likewise.
161         * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
162         * emultempl/spuelf.em (spu_place_special_section): Likewise.
163         * emultempl/vms.em (vms_place_orphan): Likewise.
164
165 2012-05-14  Catherine Moore  <clm@codesourcery.com>
166
167         * NEWS:  Mention PowerPC VLE port.
168
169 2012-05-11  Daniel Richard G.  <skunk@iskunk.org>
170
171         PR binutils/14028
172         * configure.in: Invoke ACX_HEADER_STRING.
173         * configure: Regenerate.
174         * config.in: Regenerate.
175         * sysdep.h: If STRINGS_WITH_STRING is defined then include both
176         string.h and strings.h.
177
178 2012-05-08  Alan Modra  <amodra@gmail.com>
179
180         * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
181         LC and LANG environment vars.
182         * Makefile.in: Regenerate.
183
184 2012-05-07  Tristan Gingold  <gingold@adacore.com>
185
186         * pe-dll.c (udef_table): Make it static.
187
188 2012-05-05  Alan Modra  <amodra@gmail.com>
189
190         * pe-dll.c (process_def_file_and_drectve): Use bfd_und_section_ptr.
191         (generate_reloc): Use bfd_abs_section_ptr.
192
193 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
194
195         * configure.tgt: Support x86_64-*-linux-gnux32.
196
197 2012-05-03  Sean Keys  <skeys@ipdatasys.com>
198
199         * Makefile.am (ALL_EMULATIONS): Added new emulation for XGATE
200         and XGATE (elf).
201         * Makefile.in: Rebuild.
202         * configure.tgt: Recognize XGATE.
203         * scripttempl/elfxgate.sc: New file, mostly cloned from m68hc12.
204         * emulparams/xgateelf: New emulation, mostly cloned from m68hc12.
205         * NEWS: Mention new support.
206
207 2012-04-26  Hans-Peter Nilsson  <hp@axis.com>
208
209         Make bfd asserts cause linker errors.
210         * ldmain.c (default_bfd_assert_handler): New variable.
211         (ld_bfd_assert_handler): New function.
212         (main): Call bfd_set_assert_handler.
213
214 2012-04-24  Alan Modra  <amodra@gmail.com>
215
216         * ldlang.c (size_input_section): Use sec_info_type rather than
217         usrdata->flags.just_syms.
218         * ldwrite.c (build_link_order): Likewise.
219         * emultempl/hppaelf.em (build_section_lists): Likewise.
220         * emultempl/ppc64elf.em (build_toc_list): Likewise.
221         * emultempl/armelf.em (build_section_lists): Likewise.
222         (after_allocation): Update for renamed sec_info_type value.
223         * emultempl/tic6xdsbt.em: Likewise.
224
225 2012-04-12  Roland McGrath  <mcgrathr@google.com>
226
227         * configure.tgt (arm*-*-nacl*, arm*b-*-nacl*): Handle them.
228         * emulparams/armelf_nacl.sh: New file.
229         * emulparams/armelfb_nacl.sh: New file.
230         * Makefile.am (ALL_EMULATION_SOURCES): Add earmelf_nacl.c
231         and earmelfb_nacl.c here.
232         (earmelf_nacl.c, earmelfb_nacl.c): New targets.
233         * Makefile.in: Regenerated.
234
235 2012-04-11  Tristan Gingold  <gingold@adacore.com>
236
237         * scripttempl/ia64vms.sc: New file.
238         * emultempl/vms.em (_before_parse): Support for ia64.
239         (elf64-ia64-vms): New fragment for ia64.
240         * emulparams/elf64_ia64_vms.sh: New file.
241         * configure.tgt (ia64-*-*vms*): Add.
242         * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c
243         (eelf64_ia64_vms.c): New rule.
244         * Makefile.in: Regenerate.
245
246 2012-04-06  Roland McGrath  <mcgrathr@google.com>
247
248         * configure.in (AC_CHECK_HEADERS): Add locale.h.
249         * config.in: Regenerate.
250         * configure: Regenerate.
251
252 2012-04-05  Nick Clifton  <nickc@redhat.com>
253
254         * configure.in (AC_CHECK_FUNCS): Add setlocale.
255         (AM_LC_MESSAGES): Add.
256         * aclocal.m4: Regenerate.
257         * config.in: Regenerate.
258         * configure: Regenerate.
259
260 2012-04-03  Roland McGrath  <mcgrathr@google.com>
261
262         * configure.tgt (i[3-7]86-*-nacl*, x86_64-*-nacl*): Handle them.
263         * emulparams/elf_nacl.sh: New file.
264         * emulparams/elf_i386_nacl.sh: New file.
265         * emulparams/elf32_x86_64_nacl.sh: New file.
266         * emulparams/elf_x86_64_nacl.sh: New file.
267         * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_i386_nacl.c here.
268         (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64_nacl.c and
269         eelf_x86_64_nacl.c here.
270         (eelf_i386_nacl.c, eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c):
271         New targets.
272         * Makefile.in: Regenerated.
273
274         * scripttempl/elf.sc: Handle SEPARATE_CODE cases.
275
276 2012-04-02  Mike Frysinger  <vapier@gentoo.org>
277
278         * ldmisc.c (vfinfo): Assign new local str to fmt.  Delete
279         putc call.  If str and fmt are different, call fwrite on
280         the difference.
281
282 2012-03-30  Nick Clifton  <nickc@redhat.com>
283
284         * po/vi.po: Updated Vietnamese translation.
285
286 2012-03-27  Roland McGrath  <mcgrathr@google.com>
287
288         * configure.in: Set want64 on a 64-bit host regardless of
289         --enable-targets=all.
290         * configure: Regenerated.
291
292 2012-03-26  Tristan Gingold  <gingold@adacore.com>
293
294         * lexsup.c (parse_args): Add a missing '\n'.
295
296 2012-03-25  Alan Modra  <amodra@gmail.com>
297
298         * ldemul.c (before_allocation_default): Revert last change.
299         * ldlang.c (lang_add_section): Likewise.
300         (strip_excluded_output_sections): Don't strip output sections with
301         user input sections when emitrelocations, unless all are SEC_EXCLUDE.
302
303 2012-03-23  Alan Modra  <amodra@gmail.com>
304
305         * ldemul.c (before_allocation_default): When emitrelocations,
306         don't strip sections..
307         * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail.
308
309 2012-03-14  Kai Tietz  <ktietz@redhat.com>
310             Pascal Obry  <pascal@obry.net>
311
312         * pe-dll.c (found_sym): New static variable.
313         (undef_count): Likewise.
314         (key_value): New structure.
315         (undef_sort_cmp): Compare routine for qsort/bsearch.
316         (pe_find_cdecl_alias_match): Add new argument.
317         (pe_undef_alias_cdecl_match): Removed.
318         (pe_undef_count): New helper routine.
319         (pe_create_undef_table): Likewise.
320         (pe_process_import_defs): Use pe_create_undef_table and
321         new pe_undef_alias_cdecl_match function.
322
323 2012-03-14  Alan Modra  <amodra@gmail.com>
324
325         PR ld/13839
326         * ldexp.c (fold_name): Ignore undefined symbols when assigning to
327         dot in mark phase.
328         (exp_fold_tree_1): Evaluate assignment to dot expressions even when
329         discarding result, for side effects.  Fix typo in error message.
330
331 2012-03-08  Tristan Gingold  <gingold@adacore.com>
332
333         * ldexp.c (exp_print_tree): Special case for SEGMENT_START.
334         (exp_print_token): Constify.
335
336 2012-03-08  Alan Modra  <amodra@gmail.com>
337
338         PR ld/10340
339         * ldfile.c (is_sysrooted_pathname): Remove notsame param.
340         (ldfile_add_library_path): Don't set sysrooted flag.
341         (ldfile_open_file_search): Likewise, and don't copy them.
342         (try_open): Delete exten and code handling such.  Add sysrooted
343         param and return whether path is in sysroot.
344         (ldfile_find_command_file): Delete extend param.  Add sysrooted
345         param.  Rename local var.  Update try_open calls.
346         (ldfile_open_command_file_1): Pass sysrooted to lex_push_file.
347         * ldfile.h (search_dirs_type): Remove sysrooted field.
348         * ldlang.c (new_afile): Always set sysrooted from input_flags.
349         (load_symbols): Don't set input_flags.sysrooted.
350         * ldlang.h (struct lang_input_statement_flags): Revise sysrooted
351         comment.
352         * ldlex.h (lex_push_file): Update prototype.
353         * ldlex.l (sysrooted_stack): New array.
354         (EOF): Pop input_flags.sysrooted.
355         (lex_push_file): Add sysrooted param.  Save and set
356         input_flags.sysrooted.
357
358 2012-03-06  Alan Modra  <amodra@gmail.com>
359
360         * ldlang.h (struct lang_input_statement_flags): New, extract from..
361         (lang_input_statement_type): ..here.  New field "flags".
362         (input_flags): Declare.
363         (missing_file): Delete.
364         * ldmain.h (whole_archive): Delete.
365         (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete.
366         * ld.h (ld_config_type <dynamic_link>): Delete.
367         * ldmain.c (whole_archive): Delete.
368         (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete.
369         * ldlang.c (missing_file, ldlang_sysrooted_script): Delete.
370         (input_flags): New variable.  Replace all uses of config.dynamic_link,
371         missing_file, ldlang_sysrooted_script, whole_archive,
372         add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields
373         from here.
374         * ldfile.c: Likewise.
375         * ldgram.y: Likewise.
376         * ldmain.c: Likewise.
377         * ldwrite.c: Likewise.
378         * lexsup.c: Likewise.
379         * plugin.c: Likewise.
380         * emultempl/aix.em: Likewise.
381         * emultempl/armelf.em: Likewise.
382         * emultempl/elf32.em: Likewise.
383         * emultempl/hppaelf.em: Likewise.
384         * emultempl/linux.em: Likewise.
385         * emultempl/pe.em: Likewise.
386         * emultempl/pep.em: Likewise.
387         * emultempl/ppc64elf.em: Likewise.
388         * emultempl/scoreelf.em: Likewise.
389         * emultempl/spuelf.em: Likewise.
390         * emultempl/sunos.em: Likewise.
391         * emultempl/vms.em: Likewise.
392         * ldlang.c (new_afile): Use memset to init zero fields.
393         (load_symbols): Simplify save and restore of flags around command
394         file processing.
395         * ldfile.c (is_sysrooted_pathname): Tidy.
396
397 2012-03-05  Hans-Peter Nilsson  <hp@axis.com>
398
399         * configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*)
400         (mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by
401         replacing trailing "-*" with "*".
402
403 2012-02-25  Walter Lee  <walt@tilera.com>
404
405         * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c.
406         (ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c.
407         (eelf32tilegx_be.c): Add rule to build this file.
408         (eelf64tilegx_be.c): Ditto.
409         * Makefile.in: Regenerate.
410         * configure.tgt (tilegx-*-*): Support big endian.
411         (tilegxbe-*-*): New.
412         * emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename.
413         (BIG_OUTPUT_FORMAT): Define.
414         (LITTLE_OUTPUT_FORMAT): Define.
415         * emulparams/elf32tilegx_be.sh: New.
416         * emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename.
417         (BIG_OUTPUT_FORMAT): Define.
418         (LITTLE_OUTPUT_FORMAT): Define.
419         * emulparams/elf64tilegx_be.sh: New.
420
421 2012-02-24  Kai Tietz  <ktietz@redhat.com>
422
423         PR binutils/13710
424         * deffilep.y (keyword_as_name): Disable LIBRARY
425         keyword.
426
427 2012-02-22  Alan Modra  <amodra@gmail.com>
428
429         PR ld/13683
430         * ldlang.c (lang_process): Rerun lang_do_assignments before
431         starting garbage collection.
432         * ldexp.c (fold_name): Generate a reloc for defined symbols
433         found without an associated output section during the mark phase.
434         (exp_fold_tree_1): Continue processing an expression, even if we
435         are unable to fold it, if we are in the first two evaluation
436         phases.
437         * ldexp.h (enum lang_phase_type): Add descriptions of the phases.
438
439 2012-02-19  Kai Tietz  <ktietz@redhat.com>
440
441         * deffilep.y (cmp_import_elem): Sort first by module name.
442         * pe-dll.c (process_def_file_and_drectve): Free strings
443         from removed export-element.
444         (add_bfd_to_link): Optimize loop on import-elements and lower
445         allocated memory.
446         (pe_implied_import_dll): Pass NULL instead of 0 for pointer
447         argument.
448
449 2012-02-18  Hans-Peter Nilsson  <hp@axis.com>
450
451         * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
452         temporary variable node used for NULL argument.
453
454 2012-02-18  Alan Modra  <amodra@gmail.com>
455
456         PR ld/13343
457         * ld.h (parsing_defsym): Delete.
458         * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
459         (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
460         exp_get_abs_int): Add tree arg for %S in error messages.  Don't
461         fudge lineno.
462         (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
463         type.filename from sub-tree.
464         (exp_trinop): Likewise, and use "cond" rather than "lhs".
465         * ldexp.h (node_type): Add filename field to struct.
466         * ldfile.c (ldfile_input_filename): Delete.  Remove all refs.
467         * ldfile.h (ldfile_input_filename): Delete.
468         * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
469         %S in error messages.
470         * ldemul.c (syslib_default, hll_default): Likewise.
471         * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
472         lang_get_regions, lang_new_phdr): Likewise.
473         (lang_size_sections_1): Pass addr_tree for %S.
474         * ldlex.h (lex_redirect): Update prototype.
475         (ldlex_filename): Declare.
476         * ldlex.l (<EOF>): Don't set ldfile_input_filename.
477         (lex_redirect): Add fake_filename and count params.  Push
478         fake_filename to file_name_stack and init lineno from count.
479         (ldlex_filename): New function.
480         (lex_warn_invalid): Use above.
481         * ldmain.c (main): Update lex_redirect call.
482         * ldmisc.c (vfinfo <%S>): Take file name and line number from
483         etree_type arg, or use current if arg is NULL.
484         * lexsup.c (parsing_defsym): Delete.
485         (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
486
487 2012-02-13  Kai Tietz  <ktietz@redhat.com>
488
489         * deffilep.y (find_export_in_list): Set is_indent for
490         first or last element, if identical.
491         (find_import_in_list): Likewise.
492
493 2012-02-11  Kai Tietz  <ktietz@redhat.com>
494
495         * deffilep.y (%union): New type id_const.
496         (opt_name2): New rule.
497         (keyword_as_name): New rule.
498         (dot_name): Replaced by opt_name2 rule.
499         (opt_name): Adjust rule.
500         (opt_equal_name): Likewise.
501
502 2012-02-11  Pascal Obry  <pascal@obry.net>
503
504         * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
505         table.
506         (process_def_file_and_drectve): Maintain sorting of exports table
507         after stripping leading @ signs.
508
509 2012-02-09  Alan Modra  <amodra@gmail.com>
510
511         * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
512
513 2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>
514
515         PR ld/13616
516         * emulparams/elf32_x86_64.sh: Remove NOP.
517         * emulparams/elf_i386.sh: Likewise.
518         * emulparams/elf_i386_be.sh: Likewise.
519         * emulparams/elf_i386_ldso.sh: Likewise.
520         * emulparams/elf_i386_vxworks.sh: Likewise.
521         * emulparams/elf_k1om.sh: Likewise.
522         * emulparams/elf_l1om.sh: Likewise.
523         * emulparams/elf_x86_64.sh: Likewise.
524
525         * ldlang.c (zero_fill): Initialized to 0.
526
527         * ldwrite.c (build_link_order): Set data size to linker odrder
528         size when they are the same.
529
530         * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
531
532 2012-01-17  Alan Modra  <amodra@gmail.com>
533
534         * ldver.c (ldversion): Update copyright message year.
535
536 2012-01-15  Alan Modra  <amodra@gmail.com>
537
538         PR ld/12758
539         * ldlang.c (lang_process): Don't reopen all files, just those
540         newly added by plugin.
541
542 2012-01-11  Alan Modra  <amodra@gmail.com>
543
544         * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
545         PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
546         PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
547         --{no-,}plt-align.
548         (plt_thread_safe, plt_stub_align): New vars.
549         (gld${EMULATION_NAME}_after_allocation): Pass them to
550         ppc64_elf_size_stubs.  Align stub sections according to plt_stub_align.
551         * ld.texinfo: Document new command line options, and an old
552         undocumented option.
553
554 2012-01-09  Roland McGrath  <mcgrathr@google.com>
555
556         * configure.in: Use AM_ZLIB.
557         * configure: Regenerated.
558
559 For older changes see ChangeLog-2011
560 \f
561 Local Variables:
562 mode: change-log
563 left-margin: 8
564 fill-column: 74
565 version-control: never
566 End: