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