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