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