1 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
3 * ldexp.c (fold_name): Issue error on undefined sections.
5 2007-01-02 Alan Modra <amodra@bigpond.net.au>
7 * pe-dll.c: Include pe-dll.h.
8 * pep-dll.c (pe_bfd_is_dll): Define.
10 2006-12-23 Kazu Hirata <kazu@codesourcery.com>
12 * configure.tgt: Recognize fido.
14 2006-12-18 Pedro Alves <pedro_alves@portugalmail.pt>
16 * pe-dll.c (pe_bfd_is_dll): New function.
17 * pe-dll.h (pe_bfd_is_dll): Declare.
18 * emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize
19 dlls using pe_bfd_is_dll instead of using the filename extension.
21 2006-12-15 Ulrich Weigand <uweigand@de.ibm.com>
23 * configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
25 2006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
27 * Makefile.am (ld_TEXINFOS): Set.
28 (ld.info ld.dvi ld.html): Delete rule.
29 * Makefile.in: Regenerated.
31 2006-12-12 Ina Pandit <inap@kpitcummins.com>
33 * ldlang.c (print_output_section_statement): Print load address
34 when lma differs from vma.
36 2006-12-11 Daniel Jacobowitz <dan@codesourcery.com>
38 * configure.in: Define GENINSRC_NEVER.
39 * doc/Makefile.am (ld.info): Remove srcdir prefix.
40 (MAINTAINERCLEANFILES): Add info file.
41 (DISTCLEANFILES): Pretend to add info file.
42 * po/Make-in (.po.gmo): Put gmo files in objdir.
43 * configure, Makefile.in: Regenerated.
45 2006-12-04 Jan Beulich <jbeulich@novell.com>
47 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
48 .eh_frame_hdr section here.
50 2006-11-27 Ian Lance Taylor <ian@airs.com>
52 * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
54 * Makefile.in: Regenerate.
56 2006-11-27 Bob Wilson <bob.wilson@acm.org>
58 * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
59 (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
60 Delete redundant code to set sections flags and alignment.
61 (xt_config_info_unpack_and_check, check_xtensa_info): New.
62 (elf_xtensa_after_open): Iterate over input statements instead of
64 (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
65 each input, and write a new .xtensa.info section in the output.
67 2006-11-22 Nick Clifton <nickc@redhat.com>
69 * configure.in (LINGUAS): Add ga.
70 * po/ga.po: New Irish translation.
72 2006-11-20 H.J. Lu <hongjiu.lu@intel.com>
74 * ld.texinfo: Fix a typo.
76 2006-11-20 Alan Modra <amodra@bigpond.net.au>
78 * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
80 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
82 * emultempl/armelf.em (arm_elf_before_allocation): Only call
83 bfd_elf32_arm_process_before_allocation if no dynamic sections.
85 2006-11-08 Alan Modra <amodra@bigpond.net.au>
87 * emultempl/elf32.em (gld*_before_allocation): Adjust output section
88 size for warning sections.
90 2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
92 * emultempl/elf32.em (gld*_before_allocation): Don't prepend
93 "warning" to the message.
95 2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
97 * pe-dll.c (autofilter_entry_type): Change name to const.
98 (pe_details_type) : Change target_name, object_target and
99 autofilter_symbollist to const.
100 (autofilter_symbollist_generic): Change to const.
101 (autofilter_symbollist_i386, pe_detail_list, pe_details,
102 autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
103 autofilter_symbolsuffixlist): Likewise.
104 (is_import): Fix indentation.
105 (auto_export): Change afptr to const. Move name declaration to
107 (make_tail): Clear undefined byte.
108 (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
110 (make_one): Change jmp_bytes to const. Make idata$6 member size
111 arithmetic explicit and add comment.
113 2006-10-30 H.J. Lu <hongjiu.lu@intel.com>
116 * ld.h (args_type): Remove reduce_memory_overheads.
118 * ldlang.c (lang_map): Updated.
119 (section_already_linked): Likewise.
120 (print_input_section): Likewise.
121 * ldmain.c (main): Likewise.
122 * lexsup.c (parse_args): Likewise.
124 2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
126 * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
128 2006-10-27 Alan Modra <amodra@bigpond.net.au>
130 * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
131 sections have been discarded.
132 (lang_do_version_exports_section): Set SEC_KEEP on export section.
133 * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
136 2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
137 Mark Mitchell <mark@codesourcery.com>
139 * configure.tgt (arm*linux*): Support both big- and little-endian.
141 2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
143 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
144 (OTHER_BSS_SECTIONS): This.
145 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
146 (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
148 2006-10-25 Alan Modra <amodra@bigpond.net.au>
149 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
150 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
151 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
152 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
154 * emulparams/elf32_spu.sh: New file.
155 * emultempl/spu_inc.s: New file.
156 * emultempl/spu_ovl.S: New file.
157 * emultempl/spu_ovl.o: New file.
158 * emultempl/spuelf.em: New file.
159 * Makefile.am: Add SPU support.
160 * configure.tgt: Likewise.
161 * ldlang.c (load_symbols): Make global.
162 * ldlang.h (load_symbols): Declare.
163 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
164 * Makefile.in: Regenerate.
166 2006-10-24 Ben Elliston <bje@au.ibm.com>
168 * lexsup.c (parse_args): Add a comment noting a fall-through.
170 2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
172 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
173 * configure: Regenerated.
174 * config.in: Likewise.
176 2006-10-23 Alan Modra <amodra@bigpond.net.au>
178 * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
179 set section address on a relocatable link.
181 * ld.texinfo (Output Section Discarding): Fix xref.
183 2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
185 * emulparams/shelf32.sh: Set default stack to 0x80000.
186 * emulparams/shelf64.sh: Likewise.
188 2006-10-20 Richard Sandiford <richard@codesourcery.com>
190 * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
191 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
193 2006-10-19 Alan Modra <amodra@bigpond.net.au>
195 * emultempl/armelf.em (arm_elf_before_allocation): Run
196 gld${EMULATION_NAME}_before_allocation later.
197 * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
199 2006-10-18 Roy Marples <uberlord@gentoo.org>
201 * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
204 2006-10-18 Joseph Myers <joseph@codesourcery.com>
206 * configure.tgt (i[3-7]86-*-linux-*): Also define
207 targ_extra_libpath in want64 case.
208 * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
211 2006-10-17 Alan Modra <amodra@bigpond.net.au>
213 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
214 (INITIAL_READONLY_SECTIONS): ..here.
215 * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
216 * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
217 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
219 2006-10-17 Alan Modra <amodra@bigpond.net.au>
221 * ldlang.c (strip_excluded_output_sections): Do strip sections
222 that define syms, but don't ignore them.
223 * ld.texinfo (Output Section Discarding): Revise.
224 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
227 2006-10-16 Richard Sandiford <richard@codesourcery.com>
229 * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
230 (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
231 * Makefile.in: Regenerate.
232 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
233 .reginfo rather than .MIPS.options.
234 * emulparams/elf64bmip-defs.sh: New file.
235 * emulparams/elf64bmip.sh: Include it.
236 (COMMONPAGESIZE): Delete.
237 * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
239 2006-10-12 Bob Wilson <bob.wilson@acm.org>
241 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
242 for linkonce XCC exception tables (".e" and ".h").
244 2006-10-11 Bob Wilson <bob.wilson@acm.org>
246 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
247 (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
248 (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
249 (OTHER_SDATA_SECTIONS): New.
250 * scripttempl/elfxtensa.sc: Import changes from elf.sc.
252 2006-10-11 Jakub Jelinek <jakub@redhat.com>
254 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
255 of the dynamic list rather than just the first entry.
257 2006-10-10 Bob Wilson <bob.wilson@acm.org>
259 * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
261 2006-10-06 Mike Frysinger <vapier@gentoo.org>
263 * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
265 2006-10-04 Bob Wilson <bob.wilson@acm.org>
267 * emulparams/xtensa-config.sh: Delete file.
268 * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
270 * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
271 * Makefile.in: Regenerate.
273 2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
275 * pe-dll.c : Fix typo.
276 (autofilter_symbolprefixlist) : Remove __imp_.
278 (auto-export) : Remove re-import check. Moved to callers.
279 (process_def_file) : Check is symbol is an import. Always
281 Only skip underscore on underscored targets.
282 (make_one) : Always underscore __imp_.
283 (pe_create_runtime_relocator_reference) : Only underscore
284 _pei386_runtime_relocator on underscored targets.
285 (pe_process_import_defs) : Always underscore __imp_.
286 * pe.em (U) : New macro.
287 (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
288 on wince subsystem case.
289 (pe_find_data_imports) : Use U on "_head_".
290 (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
292 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
296 * ld.texinfo: Updated Output Section Discarding.
298 * ldlang.h (lang_output_section_statement_type): Add
299 section_relative_symbol.
300 * ldlang.c (strip_excluded_output_sections): Don't strip a
301 section with a symbol relative to it.
302 (lang_size_sections_1): Mark if an output section has a symbol
303 symbol relative to it.
305 2006-09-25 Bob Wilson <bob.wilson@acm.org>
307 * ld.texinfo (Options): Update description of local symbols for -X.
309 2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
312 * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
313 and .gnu.linkonce.wi.* sections with .data and .debug_info for
316 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
318 * configure.in: Add new target x86_64-pc-mingw64.
319 * configure: Regenerate.
320 * configure.tgt: Add definition of target emulation i386pep.
321 * Makefile.am: Add new target files for target-all.
322 * Makefile.in: Regenerate.
323 * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
324 Fix memory out of bounds excess for idata relocation section data.
325 * pep-dll.c: Add target specific shared object handling.
326 * pep-dll.h: Add target specific definitions for shared object handling.
327 * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
328 * emultempl/pep.em: Add new emulation file for target x86_64 coff.
329 * po/POTFILES.in: Regenerate.
330 * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
331 * NEWS: Mention new target.
333 2006-09-18 Thiemo Seufer <ths@networkno.de>
335 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
338 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
340 * emulparams/scoreelf.sh: New file.
341 * emultempl/scoreelf.em: New file.
342 * Makefile.am: Add Score files.
343 * Makefile.in: Regenerate.
344 * configure.tgt: Add Score target.
345 * NEWS: Mention new target support.
347 2006-09-16 Nick Clifton <nickc@redhat.com>
348 Pedro Alves <pedro_alves@portugalmail.pt>
350 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
351 macros defined in bfd.h.
352 * ldmain.c: Likewise.
353 * ldwrite.c: Likewise.
354 * lexsup.c: Likewise.
355 * pe-dll.c: Likewise.
356 * emultempl/aix.em: Likewise.
357 * emultempl/beos.em: Likewise.
358 * emultempl/elf32.em: Likewise.
359 * emultempl/pe.em: Likewise.
360 * emultempl/sunos.em: Likewise.
361 * emultempl/xtensaelf.em: Likewise.
363 2006-09-15 Nick Clifton <nickc@redhat.com>
366 * ldlang.c (lang_size_sections_1): Do not abort when encountering
367 a non-empty section that is ignored. Instead produce a warning
370 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
372 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
374 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
376 * Makefile.am (CXX): Set to g++.
377 (CXX_FOR_TARGET): Likewise.
378 * Makefile.in: Regenerated.
380 * NEWS: Mention --dynamic-list.
382 * ld.texinfo: Document --dynamic-list.
384 * ldgram.y: Support dynamic list.
386 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
387 on link_info.dynamic if needed.
388 (lang_append_dynamic_list): New.
389 (lang_append_dynamic_list_cpp_typeinfo): New.
390 * ldlang.h (lang_append_dynamic_list): Likewise.
391 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
393 * ldlex.h (input_enum): Add input_dynamic_list.
394 * ldlex.l: Handle it.
396 * ldmain.c (main): Initialize link_info.dynamic.
398 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
399 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
400 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
401 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
402 (parse_args): Handle OPTION_DYNAMIC_LIST and
403 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
405 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
407 * emulparams/h8300elf.sh: _tinydata should not be placed in
409 * emulparams/h8300.sh: Likewise.
410 * emulparams/h8300sxelf.sh: Likewise.
412 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
415 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
418 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
420 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
422 2006-08-28 Alan Modra <amodra@bigpond.net.au>
424 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
425 not match random object files in a path containing "crtbegin" or
426 "crtend" as part of a directory name.
427 * scripttempl/armbpabi.sc: Likewise.
428 * scripttempl/crisaout.sc: Likewise.
429 * scripttempl/elf32crx.sc: Likewise.
430 * scripttempl/elf32sh-symbian.sc: Likewise.
431 * scripttempl/elf_chaos.sc: Likewise.
432 * scripttempl/elfd10v.sc: Likewise.
433 * scripttempl/elfd30v.sc: Likewise.
434 * scripttempl/elfxtensa.sc: Likewise.
435 * scripttempl/iq2000.sc: Likewise.
436 * scripttempl/mmo.sc: Likewise.
437 * scripttempl/xstormy16.sc: Likewise.
439 2006-08-24 Bob Wilson <bob.wilson@acm.org>
441 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
442 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
444 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
446 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
447 Adjust the current address of DEFAULT_MEMORY_REGION even
448 when dot hasn't changed.
450 2006-08-23 Alan Modra <amodra@bigpond.net.au>
452 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
453 rather than a section relative value.
455 2006-08-22 Alan Modra <amodra@bigpond.net.au>
457 * NEWS: Mention LMA default change.
458 * ld.texinfo (Output Section LMA): Update default description.
459 (Location Counter): Clarify backward movement.
460 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
461 default lma equal to vma. Warn on backward movement of dot.
463 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
465 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
468 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
470 * Makefile.am: Split arm-wince into its own emulation.
471 * Makefile.in: Regenerate.
472 * pe-dll.c : Define PE_ARCH_arm_wince.
473 (pe_detail_list): Add PE_ARCH_arm_wince case.
474 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
475 * emulparams/arm_wince_pe.sh: New file.
476 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
477 Remap bfd_arm_allocate_interworking_sections,
478 bfd_arm_get_bfd_for_interworking and
479 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
481 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
482 arm-epoc bfd format names.
484 2006-08-18 Paul Brook <paul@codesourcery.com>
486 * emultempl/armelf.em (arm_elf_before_allocation): Call
487 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
489 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
491 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
492 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
493 and to not skipping .idata* sections.
495 2006-08-16 Alan Modra <amodra@bigpond.net.au>
498 * ldlang.h (lang_output_section_statement_type): Replace
499 "processed" field with "processed_vma" and "processed_lma".
500 * ldlang.c (lang_do_assignments_1): Move lma setting code..
501 (lang_size_sections_1): ..to here.
502 (lang_reset_memory_regions): Adjust for
503 lang_output_section_statement_type change.
504 * ldexp.c (fold_name): Likewise.
506 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
508 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
509 "CONSTANT (MAXPAGESIZE)".
511 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
514 * ldlang.c (lang_section_bst_type): Moved to ...
517 * ldlang.h (lang_wild_statement_struct): Add a tree field.
519 * ldlang.c (wild_sort_fast): Use the tree field for BST.
521 (analyze_walk_wild_section_handler): Initialize the tree field.
523 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
526 * ldlang.c (update_wild_statements): Update the whole wild
529 2006-08-04 Nick Clifton <nickc@redhat.com>
530 Mike Frysinger <michael.frysinger@analog.com>
532 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
533 (__preinit_array_start, __preinit_array_end, __init_array_start,
534 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
535 Use ${USER_LABEL_PREFIX}.
536 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
537 (USER_LABEL_PREFIX): Set.
539 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
541 * ldmain.c (main): Initialise print_gc_sections field of link_info
543 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
545 * ld.texinfo: Document new switches.
546 * NEWS: Mention new switches.
548 2006-08-04 Richard Sandiford <richard@codesourcery.com>
549 Kazu Hirata <kazu@codesourcery.com>
550 Phil Edwards <phil@codesourcery.com>
552 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
554 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
555 * Makefile.in: Regenerate.
556 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
558 * emulparams/shelf_vxworks.sh: New file.
559 * emulparams/shlelf_vxworks.sh: Likewise.
560 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
561 (OTHER_END_SYMBOLS): Likewise _ehdr.
562 (DATA_END_SYMBOLS): Likewise _edata.
563 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
564 is indeed an ELF file before dealing with --force-dynamic.
566 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
569 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
570 elf64-x86-64-freebsd.
572 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
574 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
575 bfd_make_section_with_flags.
576 (exp_init_os): Updated.
577 (lang_add_section): Call init_os with flags.
578 (map_input_to_output_sections): Likewise.
580 2006-07-29 Richard Sandiford <richard@codesourcery.com>
582 * Makefile.am (eelf32b4300.c): Update dependencies.
583 (eelf32bmip.c): Likewise.
584 (eelf32bsmip.c): Likewise.
585 (eelf32btsmip.c): Likewise.
586 (eelf32btsmipn32.c): Likewise.
587 (eelf32ltsmip.c): Likewise.
588 (eelf32ltsmipn32.c): Likewise.
589 (eelf32ebmip.c): Likewise.
590 (eelf32ebmipvxworks.c): Likewise.
591 (eelf32elmip.c): Likewise.
592 (eelf32elmipvxworks.c): Likewise.
593 (eelf32bmipn32.c): Likewise.
594 (eelf32lmip.c): Likewise.
595 (eelf32mipswindiss.c): Likewise.
596 (eelf32lsmip.c): Likewise.
597 (eelf64bmip.c): Likewise.
598 (eelf64btsmip.c): Likewise.
599 (eelf64ltsmip.c): Likewise.
600 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
601 (emipsbsd.c): Likewise.
602 (emipsidt.c): Update dependencies.
603 (emipsidtl.c): Likewise.
604 (emipslit.c): Likewise.
605 (emipslnews.c): Likewise.
606 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
607 * Makefile.in: Regenerate.
608 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
609 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
610 * emultempl/irix.em: Include emultempl/mipself.em.
611 * emultempl/mipself.em: New file.
613 2006-07-26 Alan Modra <amodra@bigpond.net.au>
615 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
616 layout happens before segment map. Don't do segment map on
619 2006-07-26 Alan Modra <amodra@bigpond.net.au>
621 * ldexp.c (fold_name <LOADADDR>): Use the lma.
622 * ldlang.h (lang_memory_region_type): Delete old_length. Add
624 * ldlang.c (lang_memory_region_lookup): Init new field.
625 (lang_reset_memory_regions): Reset new field.
626 (lang_insert_orphan): Don't set load_base.
627 (lang_leave_overlay): Likewise.
628 (lang_size_sections_1): Delete unnecessary code setting lma_region
629 to region. Correct lma region check.
630 (lang_do_assignments_1): Rename output_section_statement parm
631 to current_os. Set lma from previous section in region.
633 * ldlang.c: Formatting.
635 2006-07-25 Bob Wilson <bob.wilson@acm.org>
637 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
638 Set discarded section's output_section to bfd_abs_section_ptr.
640 2006-07-26 Alan Modra <amodra@bigpond.net.au>
642 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
645 2006-07-24 Bob Wilson <bob.wilson@acm.org>
647 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
648 in dep_sec_name for null terminator. Make sure dep_sec_name has a
651 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
653 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
654 Set for *-*-solaris2*.
656 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
658 * ld.texinfo: Fix spelling mistakes.
659 * ldint.texinfo: Likewise.
661 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
663 * ldlang.c (lang_section_bst): New structure for sorting sections
665 (wild_sort_fast): New function: Insert a section into a binary
667 (output_section_callback_fast): New function: Store a section in
669 (output_section_callback_tree_to_list): New function: Convert a
671 (analyze_walk_wild_section_handler): Initialize handler_data
673 (wild): If the data is sorted by name use the BST method to sort
676 2006-07-19 Alan Modra <amodra@bigpond.net.au>
678 * ld.h (handle_asneeded_cref): Declare.
679 * ldcref.c: Include objalloc.h.
680 (old_table, old_count, old_tab, alloc_mark): New variables.
681 (tabsize, entsize, refsize, old_symcount): Likewise.
682 (add_cref): Use bfd_hash_allocate for refs.
683 (handle_asneeded_cref): New function.
684 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
686 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
688 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
689 typo setting targ_extra_libpath.
691 2006-07-10 Jakub Jelinek <jakub@redhat.com>
693 * scripttempl/elf.sc: Add .gnu.hash section.
694 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
695 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
696 (gld${EMULATION_NAME}_handle_option): Handle it.
697 (gld${EMULATION_NAME}_list_options): Document it.
698 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
699 * ld.texinfo: Document --hash-style option.
701 2006-07-10 Nick Clifton <nickc@redhat.com>
703 * po/zh_TW.po: New Chinese (traditional) translation.
704 * configure.in (ALL_LINGUAS): Add zh_TW.
705 * configure: Regenerate.
707 2006-07-07 Nick Clifton <nickc@redhat.com>
710 * ld.texinfo: Remove "Using LD" from the title since it is
713 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
716 * ld.texinfo: Fix spelling mistakes.
718 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
719 Nick Clifton <nickc@redhat.com>
721 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
722 length of format strings in the libname_fmt[] array, rather than
723 relying upon a statically chosen value. Adjust xmalloc call to
724 use this longest length.
726 2006-06-27 Nick Clifton <nickc@redhat.com>
728 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
731 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
733 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
736 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
738 * pe-dll.c (pe_details_type): Add new pointer for symbols list
740 (autofilter_symbollist): Split into autofilter_symbollist_generic
741 and autofilter_symbollist_i386.
742 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
743 autofilter_symbollist_generic for all the others.
744 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
745 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
746 into autofilter_symbollist_i386.
747 (auto_export): Get autofilter_symbollist from pe_details.
749 2006-06-22 Nick Clifton <nickc@redhat.com>
752 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
753 output files mention the file name and the fact that it is an
756 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
758 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
759 Restructure. Add native "%s.lib" format to search list
760 * ld.texinfo (node WIN32): Update documentation on dynamic lib
761 search order. Add another reason for using import libs.
763 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
765 * ldlang.c (lang_insert_orphan): Correctly handle the case where
766 the section is to end up after the section currently at the end
767 of the list in output_bfd.
769 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
771 * emultempl/mmo.em: Improve comments. Explain why there's
774 2006-06-21 Alan Modra <amodra@bigpond.net.au>
776 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
777 loop to ten iterations. Throw away any previous linker generated
779 * ldlang.c (lang_phdr_list): Make global.
780 * ldlang.h (lang_phdr_list): Declare.
781 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
782 * Makefile.in: Regenerate.
784 2006-06-20 Alan Modra <amodra@bigpond.net.au>
786 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
787 many ELF emul file deps that incorrectly said they needed elf32.em
788 instead of generic.em. Add genelf.em as required.
789 * Makefile.in: Regenerate.
790 * ldlang.c (lang_process): Call ldemul_finish before
791 lang_check_section_addresses.
792 * emulparams/arcelf.sh: Generic elf target needs genelf.
793 * emulparams/d30v_e.sh: Likewise.
794 * emulparams/d30v_o.sh: Likewise.
795 * emulparams/d30velf.sh: Likewise.
796 * emulparams/elf32_dlx.sh: Likewise.
797 * emulparams/elf32_i860.sh: Likewise.
798 * emulparams/elf32fr30.sh: Likewise.
799 * emulparams/elf32frv.sh: Likewise.
800 * emulparams/elf32iq10.sh: Likewise.
801 * emulparams/elf32iq2000.sh: Likewise.
802 * emulparams/elf32mt.sh: Likewise.
803 * emulparams/mn10200.sh: Likewise.
804 * emulparams/or32.sh: Likewise.
805 * emulparams/or32elf.sh: Likewise.
806 * emulparams/pjelf.sh: Likewise.
807 * emulparams/msp430all.sh: Likewise. Extract common entries.
808 * emulparams/pjlelf.sh: Include pjelf.sh.
809 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
810 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
811 * emultempl/elf-generic.em: New file.
812 * emultempl/genelf.em: New file.
813 * emultempl/elf32.em: Include elf-generic.em.
814 (gld${EMULATION_NAME}_layout_sections_again): Delete.
815 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
816 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
817 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
818 gld${EMULATION_NAME}_map_segments.
819 (LDEMUL_FINISH): Update.
820 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
821 source elf-generic.em.
822 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
823 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
824 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
825 gld${EMULATION_NAME}_map_segments.
826 (LDEMUL_FINISH): Update.
828 2006-06-19 Alan Modra <amodra@bigpond.net.au>
830 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
832 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
834 * ld.texinfo: Document new -z lazy option.
835 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
837 (gld${EMULATION_NAME}_list_options): Update help text.
839 2006-06-12 Fred Fish <fnf@specifix.com>
841 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
842 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
843 generated by mips gcc.
845 2006-06-12 Thiemo Seufer <ths@mips.com>
847 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
850 2006-06-09 Alan Modra <amodra@bigpond.net.au>
852 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
853 * ldlang.c (struct out_section_hash_entry): Rename from
854 output_statement_hash_entry. Delete output_section_statement_type
855 entry. Add statement_union_type entry. Adjust all users.
856 (output_section_statement_table): Rename from output_statement_table.
858 (output_section_statement_newfunc): Rename from
859 output_statement_newfunc. Adjust all users.
860 (output_section_statement_table_init): Rename from
861 output_statement_table_init. Adjust all users.
862 (output_section_statement_table_free): Rename from
863 output_statement_table_free. Adjust all users.
865 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
867 * po/Make-in (pdf, ps): New dummy targets.
869 2006-06-07 Alan Modra <amodra@bigpond.net.au>
871 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
872 info_section and overlay_section. Add noalloc_section.
873 * ldlang.c (lang_add_section): Adjust.
874 * ldgram.y (type): Adjust.
876 2006-06-06 Alan Modra <amodra@bigpond.net.au>
878 * ldlang.c (init_os): Whitespace.
879 (map_input_to_output_sections): Don't init_os for lang_input_section.
880 (print_all_symbols): Remove forward declaration. Convert to ISO C.
882 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
884 * po/Make-in (top_builddir): Define.
886 2006-06-05 Alan Modra <amodra@bigpond.net.au>
888 * ldexp.c (exp_get_abs_int): Make error message the same as
889 others emitted in this file.
891 2006-06-05 Alan Modra <amodra@bigpond.net.au>
893 * config.in: Regenerate.
895 2006-06-05 Alan Modra <amodra@bigpond.net.au>
897 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
899 2006-06-03 Alan Modra <amodra@bigpond.net.au>
901 * emultempl/elf32.em (global_found): Make it a pointer.
902 (stat_needed, try_needed): Adjust.
903 (check_needed): Don't skip non-loaded as-needed entries. Only
904 consider entries with both filename and the_bfd non-null.
905 (after_open): Try loading non-loaded as-needed libs to satisfy
908 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
910 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
911 * Makefile.in: Regenerate.
913 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
915 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
916 and LIBINTL_DEP everywhere.
918 (INCLUDES): Use @INCINTL@.
919 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
920 Remove local code for po/Makefile.
921 * Makefile.in, configure: Regenerated.
923 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
925 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
926 "CONSTANT (MAXPAGESIZE)".
927 * emulparams/armelf_nbsd.sh: Likewise.
928 * emulparams/armelf_vxworks.sh: Likewise.
929 * emulparams/armnto.sh: Likewise.
930 * emulparams/armsymbian.sh: Likewise.
931 * emulparams/crislinux.sh: Likewise.
932 * emulparams/elf32_i860.sh: Likewise.
933 * emulparams/elf32_i960.sh: Likewise.
934 * emulparams/elf32am33lin.sh: Likewise.
935 * emulparams/elf32bfinfd.sh: Likewise.
936 * emulparams/elf32bmipn32-defs.sh: Likewise.
937 * emulparams/elf32frvfd.sh: Likewise.
938 * emulparams/elf32i370.sh: Likewise.
939 * emulparams/elf32lppcnto.sh: Likewise.
940 * emulparams/elf32mcore.sh: Likewise.
941 * emulparams/elf32openrisc.sh: Likewise.
942 * emulparams/elf32ppcnto.sh: Likewise.
943 * emulparams/elf32ppcwindiss.sh: Likewise.
944 * emulparams/elf32vax.sh: Likewise.
945 * emulparams/elf32xc16x.sh: Likewise.
946 * emulparams/elf32xc16xl.sh: Likewise.
947 * emulparams/elf32xc16xs.sh: Likewise.
948 * emulparams/elf64_aix.sh: Likewise.
949 * emulparams/elf64hppa.sh: Likewise.
950 * emulparams/elf64mmix.sh: Likewise.
951 * emulparams/elf_i386_be.sh: Likewise.
952 * emulparams/elf_i386_chaos.sh: Likewise.
953 * emulparams/elf_i386_ldso.sh: Likewise.
954 * emulparams/hppa64linux.sh: Likewise.
955 * emulparams/hppalinux.sh: Likewise.
956 * emulparams/hppaobsd.sh: Likewise.
957 * emulparams/i386lynx.sh: Likewise.
958 * emulparams/i386moss.sh: Likewise.
959 * emulparams/i386nto.sh: Likewise.
960 * emulparams/i386nw.sh: Likewise.
961 * emulparams/m32relf_linux.sh: Likewise.
962 * emulparams/m68kpsos.sh: Likewise.
963 * emulparams/or32elf.sh: Likewise.
964 * emulparams/pjelf.sh: Likewise.
965 * emulparams/pjlelf.sh: Likewise.
966 * emulparams/ppclynx.sh: Likewise.
967 * emulparams/ppcnw.sh: Likewise.
968 * emulparams/shelf32_nbsd.sh : Likewise.
969 * emulparams/shelf_nbsd.sh: Likewise.
970 * emulparams/shelf_nto.sh: Likewise.
971 * emulparams/shlelf_nto.sh: Likewise.
972 * emulparams/xtensa-config.sh: Likewise.
974 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
975 "CONSTANT (MAXPAGESIZE)".
976 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
977 * emulparams/elf32_sparc.sh: Likewise.
978 * emulparams/elf32bmip.sh: Likewise.
979 * emulparams/elf32ppccommon.sh: Likewise.
980 * emulparams/elf64_ia64.sh: Likewise.
981 * emulparams/elf64_s390.sh: Likewise.
982 * emulparams/elf64_sparc.sh: Likewise.
983 * emulparams/elf64alpha.sh: Likewise.
984 * emulparams/elf64ppc.sh: Likewise.
985 * emulparams/elf_i386.sh: Likewise.
986 * emulparams/elf_i386_vxworks.sh: Likewise.
987 * emulparams/elf_s390.sh: Likewise.
988 * emulparams/elf_x86_64.sh: Likewise.
989 * emulparams/shlelf32_linux.sh: Likewise.
990 * emulparams/shlelf_linux.sh: Likewise.
992 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
993 "CONSTANT (COMMONPAGESIZE)".
994 * emulparams/elf32btsmipn32.sh: Likewise.
996 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
997 "-z max-page-size=" and "-z common-page-size=".
998 (gld${EMULATION_NAME}_list_options): Likewise.
1000 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
1002 * ld.texinfo: Document "-z max-page-size=" and
1003 "-z common-page-size=".
1005 * ldexp.c (exp_print_token): Handle CONSTANT.
1006 (fold_name): Likewise.
1007 * ldgram.y: Likewise.
1008 * ldlex.l: Likewise.
1010 * ldmain.c (main): Initiliaze config.maxpagesize and
1011 config.commonpagesize. Call bfd_emul_set_maxpagesize if
1012 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
1013 config.commonpagesize config.maxpagesize isn't 0.
1015 2006-05-30 Nick Clifton <nickc@redhat.com>
1017 * po/es.po: Updated Spanish translation.
1019 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
1021 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
1023 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
1026 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
1027 bfd. Support 64bit host for --enable-targets=all.
1028 * configure: Regenerated.
1030 2006-05-24 Nick Clifton <nickc@redhat.com>
1032 * po/vi.po: Updated Vietnamese translation.
1034 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
1036 * configure.tgt: Add avr6 to emulation list.
1037 * Makefile.am: Add eavr6.o and corresponding rule.
1038 * Makefile.in: Regenerate.
1039 * emulparams/avr6.sh: New file.
1040 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
1041 for target option support.
1042 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
1043 * scripttempl/avr.sc: Add ".trampolines" section.
1044 * emultempl/avrelf.em: Add new file for target specific options.
1046 2006-05-22 Nick Clifton <nickc@redhat.com>
1048 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
1050 2006-05-19 Alan Modra <amodra@bigpond.net.au>
1052 * ldlang.c (lang_size_sections_1): Don't check mem regions for
1053 os->ignored sections.
1055 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1057 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
1058 before redoing one_lang_size_sections_pass.
1060 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
1062 * ld.texinfo: Rename "Index" to "LD Index"
1064 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
1066 * pe-dll.c (autofilter_symbollist): Add Dllmain,
1067 DllMainCRTStartup, _DllMainCRTStartup and .text.
1068 (autofilter_liblist): Add libcegcc.
1069 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
1070 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
1071 they can still contain relocs that need processing.
1072 Skip the .idata$6 section.
1073 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
1074 (make_one): Use the new array.
1075 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
1076 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
1078 2006-05-05 Alan Modra <amodra@bigpond.net.au>
1080 * ld.texinfo: Document PowerPC and PowerPC64 options.
1081 * gen-doc.texi: Enable.
1083 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1085 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
1086 (TEXI2POD): Use AM_MAKEINFOFLAGS.
1087 (configdoc.texi): Don't set top_srcdir.
1088 * ld.texinfo: Don't use top_srcdir.
1089 * aclocal.m4, Makefile.in: Regenerated.
1091 2006-04-19 Alan Modra <amodra@bigpond.net.au>
1093 * ldlang.c (wild): Tidy default_common_section loop.
1094 (print_input_section): Format.
1096 * configure: Regenerate.
1098 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1100 * po/POTFILES.in: Regenerated.
1102 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1104 * config.in: Regenerated.
1106 2006-04-14 David Heine <dlheine@tensilica.com>
1107 Bob Wilson <bob.wilson@acm.org>
1109 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
1110 function to strip inconsistent linkonce sections.
1111 (input_section_linked_worker, input_section_linked): New.
1112 (is_inconsistent_linkonce_section): New.
1113 (xtensa_strip_inconsistent_linkonce_sections): New.
1115 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
1117 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
1118 and Dragonfly targets.
1119 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
1120 * Makefile.am (HFILES): Add elf-hints-local.h.
1121 * elf-hints-local.h: New file.
1122 * Makefile.in: Regenerate.
1123 * configure: Regenerate.
1125 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
1127 * ld.texinfo: Fix typo in documentation of --check-sections.
1129 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1131 * ldlang.c (load_symbols): Set as_needed and add_needed according
1132 to the corresponding script's fields while processing it.
1134 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
1136 * Makefile.am: Add install-html, install-html-am, and
1137 install-html-recursive targets.
1138 * Makefile.in: Regenerate.
1139 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
1140 * configure: Regenerate.
1141 * po/Make-in: Add install-html target.
1143 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
1145 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
1146 link_info.need_relax_finalize.
1148 * ldlang.c (relax_sections): New.
1149 (lang_process): Use. Call relax_sections link_info.relax_pass
1152 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
1153 link_info.need_relax_finalize.
1155 2006-04-05 Alan Modra <amodra@bigpond.net.au>
1157 * Makefile.am (GENSCRIPTS): Pass prefix.
1158 * Makefile.in: Regenerate.
1159 * genscripts.sh: Adjust for extra parameter.
1160 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
1162 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
1165 2006-04-05 Richard Sandiford <richard@codesourcery.com>
1166 Daniel Jacobowitz <dan@codesourcery.com>
1168 * configure.tgt (sparc*-*-vxworks*): New stanza.
1169 * emulparams/elf32_sparc_vxworks.sh: New file.
1170 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
1171 (eelf32_sparc_vxworks.c): New rule.
1172 * Makefile.in: Regenerate.
1174 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
1176 * ldlang.c (lang_map): Print the list of discarded input sections.
1177 (print_input_section): Change parameter and print zero-sized sections.
1178 (print_statement): Adjust call to print_input_section.
1180 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1182 * deffilep.y (def_image_name): If LIBRARY or NAME statement
1183 specifies an empty string, retain the name specified on command
1185 * ld.texinfo: Document above.
1187 2006-03-31 Jakub Jelinek <jakub@redhat.com>
1189 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
1190 bfd_find_nearest_line succeeded for %C or %D, but filename
1191 is NULL, print section+offset at the end.
1193 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
1195 * emulparams/elf32bfinfd.sh: New file.
1196 * emultempl/bfin.em: Delete.
1197 * emulparams/bfin.sh: Lose reference to bfin.em.
1198 * Makefile.am (eelf32bfin.c): Likewise.
1199 (eelf32bfinfd.c): New.
1200 * Makefile.in: Regenerate.
1201 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
1204 2006-03-22 Richard Sandiford <richard@codesourcery.com>
1205 Daniel Jacobowitz <dan@codesourcery.com>
1206 Phil Edwards <phil@codesourcery.com>
1207 Zack Weinberg <zack@codesourcery.com>
1208 Mark Mitchell <mark@codesourcery.com>
1209 Nathan Sidwell <nathan@codesourcery.com>
1211 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
1212 separate VxWorks emulations.
1213 * emulparams/elf32ebmipvxworks.sh: New file.
1214 * emulparams/elf32elmipvxworks.sh: New file.
1215 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
1216 eelf32elmipvxworks.o.
1217 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
1218 * Makefile.in: Regenerate.
1220 2006-03-16 Alan Modra <amodra@bigpond.net.au>
1223 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
1224 * ldlang.c (output_statement_table_init, lang_init): Likewise.
1225 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
1226 (undefined_symbol): Likewise.
1228 2006-03-07 Richard Sandiford <richard@codesourcery.com>
1229 Daniel Jacobowitz <dan@codesourcery.com>
1230 Zack Weinberg <zack@codesourcery.com>
1231 Nathan Sidwell <nathan@codesourcery.com>
1232 Paul Brook <paul@codesourcery.com>
1233 Ricardo Anguiano <anguiano@codesourcery.com>
1234 Phil Edwards <phil@codesourcery.com>
1236 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
1237 (MAXPAGESIZE): Define.
1238 * emulparams/vxworks.sh: Undefine EMBEDDED.
1239 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
1240 * Makefile.in: Regenerate.
1242 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
1244 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
1245 Add KEEP() directives.
1246 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
1247 .bss output sections.
1249 2006-03-03 Richard Sandiford <richard@codesourcery.com>
1251 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
1252 (EXTRA_EM_FILE): Define.
1253 * emultempl/vxworks.em: New file.
1254 * ld.texinfo (--force-dynamic): Document.
1255 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
1257 * Makefile.in: Regenerate.
1259 2006-03-02 Richard Sandiford <richard@codesourcery.com>
1261 * emulparams/elf32ppccommon.sh: New file, extracted from...
1262 * emulparams/elf32ppc.sh: ...here.
1263 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
1264 instead of elf32ppc.sh.
1265 (BSS_PLT): Remove override.
1266 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
1267 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
1268 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
1269 (eelf32ppclinux.c): Likewise.
1270 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
1271 * Makefile.in: Regenerate.
1273 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
1275 * Makefile.am: Add html target.
1276 * Makefile.in: Regenerate.
1277 * po/Make-in: Add html target.
1279 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
1280 Anil Paranjape <anilp1@kpitcummins.com>
1281 Shilin Shakti <shilins@kpitcummins.com>
1283 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
1284 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
1285 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
1286 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
1287 * emulparams/elf32xc16xl.sh: Emulation script for large model.
1288 * emulparams/elf32xc16xs.sh: Emulation script for small model.
1289 * Makefile.am: Add entry to make xc16x target.
1290 * Makefile.in: Regenerate.
1291 * configure.tgt: Specify default and other emulation parameters
1293 * NEWS: Announce the support for the new target.
1295 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
1297 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1298 Use the traditional target.
1300 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
1302 * configure.tgt (arm*b-*-linux-gnueabi): Change to
1303 arm*b-*-linux-*eabi.
1304 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
1306 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
1309 * NEWS: Updated for the Linux linker search order change.
1311 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1312 gld${EMULATION_NAME}_check_ld_so_conf before checking default
1313 search directories for DT_NEEDED entries.
1315 2006-02-07 Paul Brook <paul@codesourcery.com>
1317 * emultempl/armelf.em: Include elf/arm.h.
1318 (arm_elf_finish): Set low address bit if enty point is a Thumb
1321 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1323 * deffilep.y (def_image_name): If the image name does not have
1324 a suffix, append the default.
1325 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
1327 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
1329 * NEWS: Mention support for forward exports in PE-COFF dll's.
1330 * ld.texinfo: Expand documentation of EXPORT statements in
1333 2006-01-31 Filip Navara <navaraf@reactos.com>
1335 * deffile.h (struct def_file_export): Add field flag_forward.
1336 * pe-dll.c (process_def_file): Check for forward exports.
1337 (generate_edata): Generate forward export symbols.
1338 (fill_edata): Emit them.
1340 * pe-dll.c (process_def_file): Don't crash on malformed
1341 fastcall symbol names in .def file.
1343 2006-01-30 Nick Clifton <nickc@redhat.com>
1345 * po/vi.po: Updated Vietnamese translation.
1347 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
1349 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1350 file:" as informational message, not a warning.
1352 2006-01-18 Roger Sayle <roger@eyesopen.com>
1354 * emultempl/irix.em: Use lbasename instead of basename.
1356 2006-01-16 Nick Clifton <nickc@redhat.com>
1358 * po/zh_CN.po: New Chinese (simplified) translation.
1359 * configure.in (ALL_LINGUAS): Add "zh_CH".
1360 * configure: Regenerate.
1362 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
1364 * ld.texinfo (Options): Fix typo.
1366 For older changes see ChangeLog-2005
1372 version-control: never