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