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