1 2010-09-29 Alan Modra <amodra@gmail.com>
3 * ldlang.c (lang_place_orphans): Zero vma when relocatable or non-load
4 section for orphans handled here.
6 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8 * configure: Regenerate.
10 2010-09-23 Dave Korn <dave.korn.cygwin@gmail.com>
12 * scripttempl/armcoff.sc: Revert 2010-09-22 change.
14 2010-09-23 Alan Modra <amodra@gmail.com>
16 * ldlang.c (lang_add_section): Don't copy SEC_RELOC from input
17 to output section on a final link.
19 2010-09-22 Kai Tietz <kai.tietz@onevision.com>
21 * ldlang.c (lang_add_section): Allow for debugging
22 section to be marked as noload but to keep content.
23 (IGNORE_SECTION): Likewise.
24 (lang_check_section_addresses): Likewise.
25 * ldwrite.c (build_link_order): Likewise.
27 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add
29 * emultempl/pep.em: Likewise.
30 * scripttempl/armcoff.sc: Separate idata
31 and add __IAT_start__ and __IAT_end__ labels.
32 * scripttempl/pe.sc: Likewise.
33 * scripttempl/pep.sc: Likewise.
35 2010-09-20 David S. Miller <davem@davemloft.net>
37 * emulparams/elf32_sparc.sh: Set NOP to 0x01000000
39 2010-09-16 Alan Modra <amodra@gmail.com>
41 * ld.texinfo (NOLOAD): Do not erroneously state that contents will
42 appear in output file.
43 * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload
44 unless SEC_COFF_SHARED_LIBRARY.
45 (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload
47 (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding
48 to update dot in region. Ditto when setting SEC_ALLOC if dot
49 advanced due to assignment.
50 * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD.
52 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
54 * scripttempl/pep.sc: Add .xdata segment and
55 put into .pdata all segments beginning with .pdata.
57 2010-09-10 Alan Modra <amodra@gmail.com>
60 * ldlang.h (lang_for_each_statement_worker): Declare.
61 * ldlang.c (lang_for_each_statement_worker): Make global. Don't
62 recurse into children of output_section_statement with constraint
64 (print_assignment): Handle NULL output_section->bfd_section.
65 (lang_size_sections_1): Ignore output section statement address
66 when constraint is -1.
67 * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete.
69 2010-09-09 Tristan Gingold <gingold@adacore.com>
71 * NEWS: Add a entry for alpha-vms.
73 2010-09-07 Andrew Burgess <aburgess@broadcom.com>
75 * ldwrite.c (clone_section): Call bfd_copy_private_section_data on
78 2010-09-02 Richard Henderson <rth@redhat.com>
80 * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too.
82 2010-08-31 Nick Clifton <nickc@redhat.com>
84 * ldlex.l (WILDCHAR): Add the caret and exclamation point
85 characters, so that they can be used inside globs.
87 2010-08-31 Nick Clifton <nickc@redhat.com>
89 * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in
90 a region's attributes.
92 2010-08-31 Alan Modra <amodra@gmail.com>
94 * scripttempl/mmo.sc: Move assignment to "Main" inside .text
95 output section statement.
97 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
100 * emultempl/elf32.em (_before_allocation): Check audit entry
103 2010-08-22 H.J. Lu <hongjiu.lu@intel.com>
106 * emultempl/elf32.em (_after_open): Find one .eh_frame section
109 2010-08-22 H.J. Lu <hongjiu.lu@intel.com>
112 * emultempl/elf32.em (_after_open): Find an ELF input for
113 --build-id and --eh-frame-hdr.
115 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
117 * Makefile.am (eshlelf_fd.c): Correct the name of the tool
119 * Makefile.in: Regenerate.
121 2010-08-20 Nick Clifton <nickc@redhat.com>
123 * emultempl/elf32.em (_after_open): Check for get_elf_backend_data
126 2010-08-19 Alan Modra <amodra@gmail.com>
128 * NEWS: Mention change in linker script expression evaluation.
130 2010-08-19 Alan Modra <amodra@gmail.com>
132 * ld.texinfo (Expression Section): Detail expression evaluation.
133 (Builtin Functions <ADDR>): Correct.
134 (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally
136 (Builtin Functions <SEGMENT_START>): Typo fix.
137 * ldexp.c (new_number): New function.
138 (make_abs, exp_get_abs_int): Cope with NULL expld.result.section.
139 (fold_unary <'~', '!', '-'>): Don't make_abs.
140 (fold_binary): Simplify result section logic. Return NULL section
142 (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to
144 (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs.
145 (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise.
146 (fold_name <NAME>): No need to handle absolute symbols differently
148 (fold_name <ORIGIN>): Don't return valid result when
149 lang_first_phase_enum. Return new_rel_from_abs, not new_abs.
150 (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel.
151 (exp_fold_tree_1): Ajust for NULL expld.result.section. When assigning
152 a plain number to dot, assume the value is relative to expld.section.
153 Make terms not in an output section, absolute.
154 * ldlang.c (print_assignment): Fix style nit.
155 (lang_size_sections_1): Cope with NULL expld.result.section.
156 (lang_do_assignments_1): Likewise.
158 2010-08-12 Alan Modra <amodra@gmail.com>
160 * ldexp.c (new_rel): Remove "str". Update all call sites.
161 (exp_fold_tree_1): When assigning to dot, calculate nextdot
162 using expld.result.section rather than expld.section.
164 2010-08-06 Alan Modra <amodra@gmail.com>
167 * ldlang.c (lang_add_vers_depend): Don't leave version_needed
170 2010-07-28 Alan Modra <amodra@gmail.com>
172 * ldexp.c (exp_print_tree): Print function-like binary nodes as
173 functions rather than in-fix operators. Use fputs and fputc
176 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
177 Ina Pandit <ina.pandit@kpitcummins.com>
179 * configure.tgt: Match all v850 targets.
181 2010-07-20 Mike Frysinger <vapier@gentoo.org>
183 * ld.texinfo (VERSION): Remove "int" from example script and add ";".
184 Declare the default language as C.
186 2010-07-17 Alan Modra <amodra@gmail.com>
188 * ldlang.c (lang_check_section_addresses): Catch overlap for
189 sections that wrap around the address space.
191 2010-06-29 Nick Clifton <nickc@redhat.com>
193 * scripttempl/xstormy16.sc (.gcc_except_table): Include sections
194 with the .gcc_except_table. prefix.
196 2010-06-29 Alan Modra <amodra@gmail.com>
198 * emulparams/maxqcoff.sh: Delete file.
199 * scripttempl/maxqcoff.sc: Delete file.
200 * Makefile.am: Remove references to maxq.
201 * configure.tgt: Likewise.
202 * Makefile.in: Regenerate.
203 * configure: Regenerate.
204 * po/POTFILES.in: Regenerate.
206 2010-06-27 Alan Modra <amodra@gmail.com>
208 * pe-dll.c (fill_edata): Avoid set but unused warning.
209 (pe_walk_relocs_of_symbol): Delete set but unused variables.
210 (generate_reloc, pe_implied_import_dll): Likewise.
211 * emultempl/aix.em (open_dynamic_archive): Likewise.
212 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise.
213 (xtensa_layout_wild): Likewise.
214 (xtensa_colocate_output_literals_callback): Likewise.
216 2010-06-25 Alan Modra <amodra@gmail.com>
218 * emultempl/ppc64elf.em (prelim_size_sections): New function.
219 (ppc_before_allocation): Use it. Size sections before toc edit too.
221 2010-06-25 Alan Modra <amodra@gmail.com>
223 * emultempl/elf32.em (find_exp_assignment): Handle etree_provided.
225 2010-06-20 Danny Smith <dannysmith@users.sourceforge.net>
227 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make
228 auto-import and merge-rdata defaults same for i[3-7]86 and
231 2010-06-15 Joseph Myers <joseph@codesourcery.com>
233 * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.
235 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com>
238 * pe-dll.c (process_def_file_and_drectve): Reorder check for
239 forwarded export name after check for ordinary export.
241 2010-06-08 Bernd Schmidt <bernds@codesourcery.com>
243 * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
245 2010-06-08 Nick Clifton <nickc@redhat.com>
247 * fdl.texi: Replace with v1.3 text.
248 * ld.texinfo: Replace abbreviated 20th century year numbers with
250 * ldint.texinfo: Likewise.
251 Relicense under GFDL v1.3. Replace text of v1.1 FDL with an
252 include of the fdl.texi file.
254 2010-06-01 Tristan Gingold <gingold@adacore.com>
256 * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the
257 readonly output-section. Handle LIB$INITIALIZE and sections
259 * emultempl/vms.em (vms_place_orphan): Add comments.
261 2010-05-28 Nick Clifton <nickc@redhat.com>
263 * Makefile.am (eshlelf_fd.c): Fix typo in rule.
264 * Makefile.in: Regenerate.
266 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
269 * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't
270 multiple of maximum page size.
272 2010-05-25 Nick Clifton <nickc@redhat.com>
274 * Makefile.am: Fix typo.
275 * Makefile.in: Regenerate.
277 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
278 Joseph Myers <joseph@codesourcery.com>
279 Andrew Stubbs <ams@codesourcery.com>
281 * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
282 (eshelf_fd.c, eshlelf_fd.c): New rules.
283 * Makefile.in: Regenerate.
284 * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
286 * emulparams/shelf_fd.sh: New file.
287 * emulparams/shlelf_fd.sh: New file.
288 * emulparams/shlelf_linux.sh: Update comment.
290 2010-05-25 Jay Krell <jay.krell@cornell.edu>
293 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
294 * Makefile.in: Regenerate.
296 2010-05-25 Kai Tietz <kai.tietz@onevision.com>
298 * deffilep.y (opt_name): Allow leading dot.
299 (dot_name): Likewise.
300 (anylang_id): Likewise.
301 * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
303 (gld${EMULATION_NAME}_handle_option): Warn about v1.
304 (pep_find_data_imports): Remove superflous warnings about
306 (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
307 and active pseudo-relocation-v2 rdata into data section.
308 * emultempl/pe.em (default_merge_rdata): New shell variable.
309 (MERGE_RDATA_V2): New macro.
310 (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
313 2010-05-15 Kai Tietz <kai.tietz@onevision.com>
315 * emultempl/pe.em (is_underscoring): New helper function.
316 (gld_${EMULATION_NAME}_before_parse): Replace code
317 for pe(p)_leading_underscore detection by is_underscoring.
319 (GET_INIT_SYMBOL_NAME): Likewise.
323 (gld_${EMULATION_NAME}_set_symbols):
324 * emultempl/pep.em: Likewise.
325 * pe-dll.c (pe_detail_list): Set default
326 underscoring for x64 target.
327 (pe_dll_id_target): Add initialization of
328 pe(p)_leading_underscore.
330 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com>
332 * pe-dll.c: Removed trailing whitespaces.
334 2010-05-14 Alan Modra <amodra@gmail.com>
337 * ldexp.c (exp_fold_tree_1): If assignment source expression is
338 invalid, make the destination symbol undefined.
340 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
342 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
343 Initialize pe(p)_leading_underscore variable.
344 (set_pe_name): Likewise.
345 * emultempl/pep.em: Likewise.
346 Additional change default to non-underscore for
347 pep_leading_underscore equal to -1.
349 2010-05-07 Tristan Gingold <gingold@adacore.com>
351 * Makefile.in: Regenerate with automake 1.11.1.
354 2010-05-05 Nick Clifton <nickc@redhat.com>
356 * po/es.po: Updated Spanish translation.
358 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
360 * pe-dll.c (_nm_-symbols): Use always underscored variant
362 (__imp_-symbols): Likewise.
363 (___imp_-symbols): Likewise.
364 * NEWS: Mention ABI change for x64 PE-COFF.
366 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
368 * Makefile.am (install-exec-local): Properly install ld as
369 default cross linker.
370 * Makefile.in: Regenerated.
372 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
373 Nick Clifton <nickc@redhat.com>
375 * configure.in (install_as_default): Define and set to true
376 unless --enable-gold=both/gold has been specified.
377 * configure: Regenerate.
379 * Makefile.am (transform): Use ld.bfd as the default name of
381 (install-exec-local): Also install the executable as a binary
382 named 'ld' if install_as_default is true.
383 * Makefile.in: Regenerate.
385 2010-04-22 Nick Clifton <nickc@redhat.com>
387 * po/ld.pot: Updated by the Translation project.
388 * po/vi.po: Updated Vietnamese translation.
389 * po/bg.po: Updated Bulgarian translation.
391 2010-04-15 Andrew Haley <aph@redhat.com>
393 * emultempl/armelf.em (merge_exidx_entries): New variable.
394 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
395 ("no-merge-exidx-entries"): New option.
396 * ld.texinfo (merge-exidx-entries): Document this option.
398 2010-04-14 Tristan Gingold <gingold@adacore.com>
400 * emulparams/alphavms.sh: New file.
401 * emultempl/vms.em: New file.
402 * scripttempl/alphavms.sc: New file.
403 * configure.tgt (alpha*-*-*vms*): Added.
404 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
405 (ealphavms.c): New target.
406 * Makefile.in: Regenerate.
408 2010-04-09 Nick Clifton <nickc@redhat.com>
410 * ldlang.c (wild_sort): Remove unused variable section_name.
412 2010-04-07 Alan Modra <amodra@gmail.com>
414 * configure: Regenerate.
416 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
419 * ld/testsuite/ld-x86-64/unique1.d: New.
420 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
422 * ld-x86-64/x86-64.exp: Run unique1.
424 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
426 * emultempl/pep.em (U): Macro modified.
427 (U_SIZE): New helper macro.
428 (GET_INIT_SYMBOL_NAME): Likewise.
429 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
430 and OPTION_LEADING_UNDERSCORE enumerator-values.
431 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
433 (definfo): Add new member is_c_symbol.
434 (D): Add to macro underscore mode parameter.
435 (init): Add definition for is_c_symbol.
436 (gld_${EMULATION_NAME}_list_options): Display new options.
437 (set_pep_name): Adjust underscoring dependent fixed
439 (gld_${EMULATION_NAME}_set_symbols): Likewise.
440 (saw_option): Likewise.
441 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
442 (set_entry_point): Initial initial_symbol_char dependent to
443 target's default and new option flag pep_leading_underscore.
444 * emultempl/pe.em (U): Macro modified.
445 (U_SIZE): New helper macro.
446 (GET_INIT_SYMBOL_NAME): Likewise.
447 (OPTION_LEADING_UNDERSCORE): Add new option define.
448 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
449 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
451 (definfo): Add new member is_c_symbol.
452 (D): Add to macro underscore mode parameter.
453 (init): Add definition for is_c_symbol.
454 (gld_${EMULATION_NAME}_list_options): Display new options.
455 (set_pep_name): Adjust underscoring dependent fixed
457 (gld_${EMULATION_NAME}_set_symbols): Likewise.
458 (saw_option): Likewise.
459 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
460 (set_entry_point): Initial initial_symbol_char dependent to
461 target's default and new option flag pep_leading_underscore.
462 * pe-dll.c (pe_leading_underscore): New flag variable.
463 (pe_detail_list): Remove const to allow modify of
465 (pe_dll_id_target): Initialize pe_details' underscore variable
466 dependent to target's default and flag pe_leading_underscore.
467 * pe-dll.h (pe_leading_underscore): Add extern declaration of
469 * pep-dll.c (pe_leading_underscore): Add alias define for
470 pep_leading_underscore.
471 * pep-dll.h (pep_leading_underscore) Add extern declaration of
473 * ld.texinfo: Add documentation for --(no-)leading-underscore
476 2010-03-26 Alan Modra <amodra@gmail.com>
479 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
480 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
482 2010-03-25 Joseph Myers <joseph@codesourcery.com>
484 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
486 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
487 * NEWS: Add news entry for TI C6X support.
488 * configure.tgt (tic6x-*-*): New.
489 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
491 2010-03-23 Joseph Myers <joseph@codesourcery.com>
493 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
494 BSS_NAME): Define if not already defined. Use in place of some
495 hardcoded section names.
497 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
499 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
501 2010-03-18 Aymeric Vincent <vincent@labri.fr>
504 * emultempl/sh64elf.em: Add missing EOF.
506 2010-03-18 Doug Semler <dougsemler@gmail.com>
508 * pe-dll.c (make_one): Make text section readonly.
509 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
510 the jump stub on X86 as /SAFESEH compatible for
513 2010-03-17 Alan Modra <amodra@gmail.com>
515 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
516 *prev instead. Update all callers.
518 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
520 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
521 region and phdrs as their placement section.
523 2010-03-15 Alan Modra <amodra@gmail.com>
525 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
526 (ppc_before_allocation): Call sort_toc_sections.
527 (no_toc_sort, OPTION_NO_TOC_SORT): New.
528 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
529 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
531 2010-03-14 Alan Modra <amodra@gmail.com>
534 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
535 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
537 2010-03-11 George Gensure <werkt0@gmail.com>
540 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
542 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
544 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
546 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
547 (eelf32_sparc_sol2.c): New rule.
548 (eelf64_sparc_sol2.c): Likewise.
549 (eelf_x86_64_sol2.c): Likewise.
550 (eelf_i386_sol2.c): Likewise.
551 * Makefile.in: Regenerate.
552 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
554 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
555 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
556 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
557 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
558 Add target_extra_emuls.
559 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
560 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
561 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
562 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
563 * emulparams/elf32_sparc_sol2.sh: New file.
564 * emulparams/elf64_sparc_sol2.sh: New file.
565 * emulparams/elf_i386_sol2.sh: New file.
566 * emulparams/elf_x86_64_sol2.sh: New file.
567 * emultempl/solaris2.em: New file.
569 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
572 * ld.texinfo: Replace explicitely with explicitly.
574 2010-02-27 Jie Zhang <jie@codesourcery.com>
576 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
577 .fini_array.* when do relocatable linking.
578 * scripttempl/elf.sc: Likewise.
579 * scripttempl/elf32sh-symbian.sc: Likewise.
580 * scripttempl/elf64hppa.sc: Likewise.
581 * scripttempl/elfxtensa.sc: Likewise.
583 2010-02-26 Alan Modra <amodra@gmail.com>
585 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
587 * scripttempl/armbpabi.sc: Likewise.
588 * scripttempl/elf32sh-symbian.sc: Likewise.
589 * scripttempl/elf64hppa.sc: Likewise.
590 * scripttempl/elfxtensa.sc: Likewise.
592 2010-02-25 Alan Modra <amodra@gmail.com>
595 * ldlang.c (init_os): Remove isec param. Don't check for
596 bfd_section already set or call bfd_init_private_section_data
598 (exp_init_os): Update init_os call.
599 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
600 flags. Call bfd_init_private_section_data here.
601 (map_input_to_output_sections): Tidy. Update init_os calls.
602 Use os->sectype to select sec flags for lang_data_statement.
604 2010-02-23 Alan Modra <amodra@gmail.com>
607 * ldlang.c: Revert last patch.
609 2010-02-23 Nick Clifton <nickc@redhat.com>
611 * po/bg.po: Updated Bulgarian translation.
613 2010-02-22 Alan Modra <amodra@gmail.com>
616 * ldlang.c (exp_init_os): Delete forward declaration.
617 (init_os): Don't check for bfd_section already created and don't
618 init addr_tree and load_base expressions here.
619 (map_input_to_output_sections): Only map input to output sections
620 and set constraints here, and as an exception, create output
621 sections which have their address set. Move all the other code to..
622 (create_other_output_sections): ..here. New function. Handle init
623 of addr_tree and load_base here too.
624 (lang_process): Call create_other_output_sections.
626 2010-02-19 Alan Modra <amodra@gmail.com>
628 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
629 * Makefile.in: Regenerate.
631 2010-02-19 Alan Modra <amodra@gmail.com>
633 * ldlang.c (unique_section_p): Add os param. Allow group
634 sections to match /DISCARD/. Update all callers.
635 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
636 (LDEMUL_BEFORE_ALLOCATION): Define.
638 2010-02-15 Nick Clifton <nickc@redhat.com>
640 * po/vi.po: Updated Vietnamese translation.
642 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
644 * Makefile.am (CFILES): Add ldlex-wrapper.c.
645 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
646 (ldlex.o): Replace with...
647 (ldlex-wrapper.o): ...this new rule.
648 (EXTRA_ld_new_SOURCES): Add ldlex.l.
649 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
650 * Makefile.in: Regenerate.
651 * ldlex.l (sysdep.h): Don't include here.
652 * ldlex-wrapper.c: New file.
654 2010-02-09 Alan Modra <amodra@gmail.com>
656 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
659 2010-02-05 Nick Clifton <nickc@redhat.com>
661 * configure.in (ALL_LIBGUAS): Add bg.
662 * configure: Regenerate.
663 * po/bg.po: New Bulgarian translation.
665 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
667 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
668 --target1-abs and --target1-rel options.
670 2010-02-03 Nick Clifton <nickc@redhat.com>
672 * emultempl/alphaelf.em: Update value expected from elf_object_id.
673 * emultempl/hppaelf.em: Likewise.
674 * emultempl/mipself.em: Likewise.
675 * emultempl/ppc32elf.em: Likewise.
676 * emultempl/ppc64elf.em: Likewise.
678 2010-02-03 Alan Modra <amodra@gmail.com>
680 * emultempl/ppc64elf.em (build_toc_list): Report errors from
681 ppc64_elf_next_toc_section.
682 (after_allocation): Update for changed function names and params.
683 Run second pass of multitoc partitioning.
685 2010-01-21 Jon Grant <jg@jguk.org>
686 Nick Clifton <nickc@redhat.com>
689 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
690 a missing file or library. Instead mark the entry as missing and
691 set the global flag to indicate that missing files were
693 * ldlang.c (missing_files): New exported variable.
694 (load_symbols): Skip loading if the file is missing.
695 (open_input_bfds): Terminate link if any input files were
697 * ldlang.h (struct lang_input_statement_struct): Add missing_file
699 Add export of missing_file variable.
701 2010-01-13 DJ Delorie <dj@redhat.com>
703 * emultempl/elf32.em (_place_orphan): If an input section doesn't
704 match an existing output section, but an unused output section
705 statement does match, use it.
706 * emultempl/pe.em (_place_orphan): Likewise.
707 * emultempl/pep.em (_place_orphan): Likewise.
709 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
711 * configure: Regenerate.
712 * Makefile.in: Regenerate.
714 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
716 * ldver.c (ldversion): Change to "Copyright 2010".
718 2010-01-08 Alan Modra <amodra@gmail.com>
721 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
723 For older changes see ChangeLog-2009
729 version-control: never