1 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
3 * configure.host: Add i[3-7]86-*-mingw* case.
5 2007-01-08 Nick Clifton <nickc@redhat.com>
7 * pep-dll.h (pep_bfd_is_dll): Add prototype.
9 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
12 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
15 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
17 * ldexp.c (fold_name): Issue error on undefined sections.
19 2007-01-02 Alan Modra <amodra@bigpond.net.au>
21 * pe-dll.c: Include pe-dll.h.
22 * pep-dll.c (pe_bfd_is_dll): Define.
24 2006-12-23 Kazu Hirata <kazu@codesourcery.com>
26 * configure.tgt: Recognize fido.
28 2006-12-18 Pedro Alves <pedro_alves@portugalmail.pt>
30 * pe-dll.c (pe_bfd_is_dll): New function.
31 * pe-dll.h (pe_bfd_is_dll): Declare.
32 * emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize
33 dlls using pe_bfd_is_dll instead of using the filename extension.
35 2006-12-15 Ulrich Weigand <uweigand@de.ibm.com>
37 * configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
39 2006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
41 * Makefile.am (ld_TEXINFOS): Set.
42 (ld.info ld.dvi ld.html): Delete rule.
43 * Makefile.in: Regenerated.
45 2006-12-12 Ina Pandit <inap@kpitcummins.com>
47 * ldlang.c (print_output_section_statement): Print load address
48 when lma differs from vma.
50 2006-12-11 Daniel Jacobowitz <dan@codesourcery.com>
52 * configure.in: Define GENINSRC_NEVER.
53 * doc/Makefile.am (ld.info): Remove srcdir prefix.
54 (MAINTAINERCLEANFILES): Add info file.
55 (DISTCLEANFILES): Pretend to add info file.
56 * po/Make-in (.po.gmo): Put gmo files in objdir.
57 * configure, Makefile.in: Regenerated.
59 2006-12-04 Jan Beulich <jbeulich@novell.com>
61 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
62 .eh_frame_hdr section here.
64 2006-11-27 Ian Lance Taylor <ian@airs.com>
66 * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
68 * Makefile.in: Regenerate.
70 2006-11-27 Bob Wilson <bob.wilson@acm.org>
72 * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
73 (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
74 Delete redundant code to set sections flags and alignment.
75 (xt_config_info_unpack_and_check, check_xtensa_info): New.
76 (elf_xtensa_after_open): Iterate over input statements instead of
78 (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
79 each input, and write a new .xtensa.info section in the output.
81 2006-11-22 Nick Clifton <nickc@redhat.com>
83 * configure.in (LINGUAS): Add ga.
84 * po/ga.po: New Irish translation.
86 2006-11-20 H.J. Lu <hongjiu.lu@intel.com>
88 * ld.texinfo: Fix a typo.
90 2006-11-20 Alan Modra <amodra@bigpond.net.au>
92 * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
94 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
96 * emultempl/armelf.em (arm_elf_before_allocation): Only call
97 bfd_elf32_arm_process_before_allocation if no dynamic sections.
99 2006-11-08 Alan Modra <amodra@bigpond.net.au>
101 * emultempl/elf32.em (gld*_before_allocation): Adjust output section
102 size for warning sections.
104 2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
106 * emultempl/elf32.em (gld*_before_allocation): Don't prepend
107 "warning" to the message.
109 2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
111 * pe-dll.c (autofilter_entry_type): Change name to const.
112 (pe_details_type) : Change target_name, object_target and
113 autofilter_symbollist to const.
114 (autofilter_symbollist_generic): Change to const.
115 (autofilter_symbollist_i386, pe_detail_list, pe_details,
116 autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
117 autofilter_symbolsuffixlist): Likewise.
118 (is_import): Fix indentation.
119 (auto_export): Change afptr to const. Move name declaration to
121 (make_tail): Clear undefined byte.
122 (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
124 (make_one): Change jmp_bytes to const. Make idata$6 member size
125 arithmetic explicit and add comment.
127 2006-10-30 H.J. Lu <hongjiu.lu@intel.com>
130 * ld.h (args_type): Remove reduce_memory_overheads.
132 * ldlang.c (lang_map): Updated.
133 (section_already_linked): Likewise.
134 (print_input_section): Likewise.
135 * ldmain.c (main): Likewise.
136 * lexsup.c (parse_args): Likewise.
138 2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
140 * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
142 2006-10-27 Alan Modra <amodra@bigpond.net.au>
144 * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
145 sections have been discarded.
146 (lang_do_version_exports_section): Set SEC_KEEP on export section.
147 * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
150 2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
151 Mark Mitchell <mark@codesourcery.com>
153 * configure.tgt (arm*linux*): Support both big- and little-endian.
155 2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
157 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
158 (OTHER_BSS_SECTIONS): This.
159 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
160 (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
162 2006-10-25 Alan Modra <amodra@bigpond.net.au>
163 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
164 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
165 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
166 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
168 * emulparams/elf32_spu.sh: New file.
169 * emultempl/spu_inc.s: New file.
170 * emultempl/spu_ovl.S: New file.
171 * emultempl/spu_ovl.o: New file.
172 * emultempl/spuelf.em: New file.
173 * Makefile.am: Add SPU support.
174 * configure.tgt: Likewise.
175 * ldlang.c (load_symbols): Make global.
176 * ldlang.h (load_symbols): Declare.
177 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
178 * Makefile.in: Regenerate.
180 2006-10-24 Ben Elliston <bje@au.ibm.com>
182 * lexsup.c (parse_args): Add a comment noting a fall-through.
184 2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
186 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
187 * configure: Regenerated.
188 * config.in: Likewise.
190 2006-10-23 Alan Modra <amodra@bigpond.net.au>
192 * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
193 set section address on a relocatable link.
195 * ld.texinfo (Output Section Discarding): Fix xref.
197 2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
199 * emulparams/shelf32.sh: Set default stack to 0x80000.
200 * emulparams/shelf64.sh: Likewise.
202 2006-10-20 Richard Sandiford <richard@codesourcery.com>
204 * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
205 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
207 2006-10-19 Alan Modra <amodra@bigpond.net.au>
209 * emultempl/armelf.em (arm_elf_before_allocation): Run
210 gld${EMULATION_NAME}_before_allocation later.
211 * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
213 2006-10-18 Roy Marples <uberlord@gentoo.org>
215 * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
218 2006-10-18 Joseph Myers <joseph@codesourcery.com>
220 * configure.tgt (i[3-7]86-*-linux-*): Also define
221 targ_extra_libpath in want64 case.
222 * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
225 2006-10-17 Alan Modra <amodra@bigpond.net.au>
227 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
228 (INITIAL_READONLY_SECTIONS): ..here.
229 * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
230 * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
231 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
233 2006-10-17 Alan Modra <amodra@bigpond.net.au>
235 * ldlang.c (strip_excluded_output_sections): Do strip sections
236 that define syms, but don't ignore them.
237 * ld.texinfo (Output Section Discarding): Revise.
238 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
241 2006-10-16 Richard Sandiford <richard@codesourcery.com>
243 * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
244 (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
245 * Makefile.in: Regenerate.
246 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
247 .reginfo rather than .MIPS.options.
248 * emulparams/elf64bmip-defs.sh: New file.
249 * emulparams/elf64bmip.sh: Include it.
250 (COMMONPAGESIZE): Delete.
251 * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
253 2006-10-12 Bob Wilson <bob.wilson@acm.org>
255 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
256 for linkonce XCC exception tables (".e" and ".h").
258 2006-10-11 Bob Wilson <bob.wilson@acm.org>
260 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
261 (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
262 (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
263 (OTHER_SDATA_SECTIONS): New.
264 * scripttempl/elfxtensa.sc: Import changes from elf.sc.
266 2006-10-11 Jakub Jelinek <jakub@redhat.com>
268 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
269 of the dynamic list rather than just the first entry.
271 2006-10-10 Bob Wilson <bob.wilson@acm.org>
273 * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
275 2006-10-06 Mike Frysinger <vapier@gentoo.org>
277 * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
279 2006-10-04 Bob Wilson <bob.wilson@acm.org>
281 * emulparams/xtensa-config.sh: Delete file.
282 * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
284 * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
285 * Makefile.in: Regenerate.
287 2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
289 * pe-dll.c : Fix typo.
290 (autofilter_symbolprefixlist) : Remove __imp_.
292 (auto-export) : Remove re-import check. Moved to callers.
293 (process_def_file) : Check is symbol is an import. Always
295 Only skip underscore on underscored targets.
296 (make_one) : Always underscore __imp_.
297 (pe_create_runtime_relocator_reference) : Only underscore
298 _pei386_runtime_relocator on underscored targets.
299 (pe_process_import_defs) : Always underscore __imp_.
300 * pe.em (U) : New macro.
301 (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
302 on wince subsystem case.
303 (pe_find_data_imports) : Use U on "_head_".
304 (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
306 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
310 * ld.texinfo: Updated Output Section Discarding.
312 * ldlang.h (lang_output_section_statement_type): Add
313 section_relative_symbol.
314 * ldlang.c (strip_excluded_output_sections): Don't strip a
315 section with a symbol relative to it.
316 (lang_size_sections_1): Mark if an output section has a symbol
317 symbol relative to it.
319 2006-09-25 Bob Wilson <bob.wilson@acm.org>
321 * ld.texinfo (Options): Update description of local symbols for -X.
323 2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
326 * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
327 and .gnu.linkonce.wi.* sections with .data and .debug_info for
330 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
332 * configure.in: Add new target x86_64-pc-mingw64.
333 * configure: Regenerate.
334 * configure.tgt: Add definition of target emulation i386pep.
335 * Makefile.am: Add new target files for target-all.
336 * Makefile.in: Regenerate.
337 * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
338 Fix memory out of bounds excess for idata relocation section data.
339 * pep-dll.c: Add target specific shared object handling.
340 * pep-dll.h: Add target specific definitions for shared object handling.
341 * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
342 * emultempl/pep.em: Add new emulation file for target x86_64 coff.
343 * po/POTFILES.in: Regenerate.
344 * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
345 * NEWS: Mention new target.
347 2006-09-18 Thiemo Seufer <ths@networkno.de>
349 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
352 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
354 * emulparams/scoreelf.sh: New file.
355 * emultempl/scoreelf.em: New file.
356 * Makefile.am: Add Score files.
357 * Makefile.in: Regenerate.
358 * configure.tgt: Add Score target.
359 * NEWS: Mention new target support.
361 2006-09-16 Nick Clifton <nickc@redhat.com>
362 Pedro Alves <pedro_alves@portugalmail.pt>
364 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
365 macros defined in bfd.h.
366 * ldmain.c: Likewise.
367 * ldwrite.c: Likewise.
368 * lexsup.c: Likewise.
369 * pe-dll.c: Likewise.
370 * emultempl/aix.em: Likewise.
371 * emultempl/beos.em: Likewise.
372 * emultempl/elf32.em: Likewise.
373 * emultempl/pe.em: Likewise.
374 * emultempl/sunos.em: Likewise.
375 * emultempl/xtensaelf.em: Likewise.
377 2006-09-15 Nick Clifton <nickc@redhat.com>
380 * ldlang.c (lang_size_sections_1): Do not abort when encountering
381 a non-empty section that is ignored. Instead produce a warning
384 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
386 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
388 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
390 * Makefile.am (CXX): Set to g++.
391 (CXX_FOR_TARGET): Likewise.
392 * Makefile.in: Regenerated.
394 * NEWS: Mention --dynamic-list.
396 * ld.texinfo: Document --dynamic-list.
398 * ldgram.y: Support dynamic list.
400 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
401 on link_info.dynamic if needed.
402 (lang_append_dynamic_list): New.
403 (lang_append_dynamic_list_cpp_typeinfo): New.
404 * ldlang.h (lang_append_dynamic_list): Likewise.
405 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
407 * ldlex.h (input_enum): Add input_dynamic_list.
408 * ldlex.l: Handle it.
410 * ldmain.c (main): Initialize link_info.dynamic.
412 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
413 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
414 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
415 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
416 (parse_args): Handle OPTION_DYNAMIC_LIST and
417 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
419 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
421 * emulparams/h8300elf.sh: _tinydata should not be placed in
423 * emulparams/h8300.sh: Likewise.
424 * emulparams/h8300sxelf.sh: Likewise.
426 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
429 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
432 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
434 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
436 2006-08-28 Alan Modra <amodra@bigpond.net.au>
438 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
439 not match random object files in a path containing "crtbegin" or
440 "crtend" as part of a directory name.
441 * scripttempl/armbpabi.sc: Likewise.
442 * scripttempl/crisaout.sc: Likewise.
443 * scripttempl/elf32crx.sc: Likewise.
444 * scripttempl/elf32sh-symbian.sc: Likewise.
445 * scripttempl/elf_chaos.sc: Likewise.
446 * scripttempl/elfd10v.sc: Likewise.
447 * scripttempl/elfd30v.sc: Likewise.
448 * scripttempl/elfxtensa.sc: Likewise.
449 * scripttempl/iq2000.sc: Likewise.
450 * scripttempl/mmo.sc: Likewise.
451 * scripttempl/xstormy16.sc: Likewise.
453 2006-08-24 Bob Wilson <bob.wilson@acm.org>
455 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
456 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
458 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
460 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
461 Adjust the current address of DEFAULT_MEMORY_REGION even
462 when dot hasn't changed.
464 2006-08-23 Alan Modra <amodra@bigpond.net.au>
466 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
467 rather than a section relative value.
469 2006-08-22 Alan Modra <amodra@bigpond.net.au>
471 * NEWS: Mention LMA default change.
472 * ld.texinfo (Output Section LMA): Update default description.
473 (Location Counter): Clarify backward movement.
474 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
475 default lma equal to vma. Warn on backward movement of dot.
477 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
479 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
482 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
484 * Makefile.am: Split arm-wince into its own emulation.
485 * Makefile.in: Regenerate.
486 * pe-dll.c : Define PE_ARCH_arm_wince.
487 (pe_detail_list): Add PE_ARCH_arm_wince case.
488 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
489 * emulparams/arm_wince_pe.sh: New file.
490 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
491 Remap bfd_arm_allocate_interworking_sections,
492 bfd_arm_get_bfd_for_interworking and
493 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
495 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
496 arm-epoc bfd format names.
498 2006-08-18 Paul Brook <paul@codesourcery.com>
500 * emultempl/armelf.em (arm_elf_before_allocation): Call
501 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
503 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
505 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
506 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
507 and to not skipping .idata* sections.
509 2006-08-16 Alan Modra <amodra@bigpond.net.au>
512 * ldlang.h (lang_output_section_statement_type): Replace
513 "processed" field with "processed_vma" and "processed_lma".
514 * ldlang.c (lang_do_assignments_1): Move lma setting code..
515 (lang_size_sections_1): ..to here.
516 (lang_reset_memory_regions): Adjust for
517 lang_output_section_statement_type change.
518 * ldexp.c (fold_name): Likewise.
520 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
522 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
523 "CONSTANT (MAXPAGESIZE)".
525 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
528 * ldlang.c (lang_section_bst_type): Moved to ...
531 * ldlang.h (lang_wild_statement_struct): Add a tree field.
533 * ldlang.c (wild_sort_fast): Use the tree field for BST.
535 (analyze_walk_wild_section_handler): Initialize the tree field.
537 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
540 * ldlang.c (update_wild_statements): Update the whole wild
543 2006-08-04 Nick Clifton <nickc@redhat.com>
544 Mike Frysinger <michael.frysinger@analog.com>
546 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
547 (__preinit_array_start, __preinit_array_end, __init_array_start,
548 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
549 Use ${USER_LABEL_PREFIX}.
550 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
551 (USER_LABEL_PREFIX): Set.
553 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
555 * ldmain.c (main): Initialise print_gc_sections field of link_info
557 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
559 * ld.texinfo: Document new switches.
560 * NEWS: Mention new switches.
562 2006-08-04 Richard Sandiford <richard@codesourcery.com>
563 Kazu Hirata <kazu@codesourcery.com>
564 Phil Edwards <phil@codesourcery.com>
566 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
568 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
569 * Makefile.in: Regenerate.
570 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
572 * emulparams/shelf_vxworks.sh: New file.
573 * emulparams/shlelf_vxworks.sh: Likewise.
574 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
575 (OTHER_END_SYMBOLS): Likewise _ehdr.
576 (DATA_END_SYMBOLS): Likewise _edata.
577 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
578 is indeed an ELF file before dealing with --force-dynamic.
580 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
583 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
584 elf64-x86-64-freebsd.
586 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
588 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
589 bfd_make_section_with_flags.
590 (exp_init_os): Updated.
591 (lang_add_section): Call init_os with flags.
592 (map_input_to_output_sections): Likewise.
594 2006-07-29 Richard Sandiford <richard@codesourcery.com>
596 * Makefile.am (eelf32b4300.c): Update dependencies.
597 (eelf32bmip.c): Likewise.
598 (eelf32bsmip.c): Likewise.
599 (eelf32btsmip.c): Likewise.
600 (eelf32btsmipn32.c): Likewise.
601 (eelf32ltsmip.c): Likewise.
602 (eelf32ltsmipn32.c): Likewise.
603 (eelf32ebmip.c): Likewise.
604 (eelf32ebmipvxworks.c): Likewise.
605 (eelf32elmip.c): Likewise.
606 (eelf32elmipvxworks.c): Likewise.
607 (eelf32bmipn32.c): Likewise.
608 (eelf32lmip.c): Likewise.
609 (eelf32mipswindiss.c): Likewise.
610 (eelf32lsmip.c): Likewise.
611 (eelf64bmip.c): Likewise.
612 (eelf64btsmip.c): Likewise.
613 (eelf64ltsmip.c): Likewise.
614 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
615 (emipsbsd.c): Likewise.
616 (emipsidt.c): Update dependencies.
617 (emipsidtl.c): Likewise.
618 (emipslit.c): Likewise.
619 (emipslnews.c): Likewise.
620 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
621 * Makefile.in: Regenerate.
622 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
623 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
624 * emultempl/irix.em: Include emultempl/mipself.em.
625 * emultempl/mipself.em: New file.
627 2006-07-26 Alan Modra <amodra@bigpond.net.au>
629 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
630 layout happens before segment map. Don't do segment map on
633 2006-07-26 Alan Modra <amodra@bigpond.net.au>
635 * ldexp.c (fold_name <LOADADDR>): Use the lma.
636 * ldlang.h (lang_memory_region_type): Delete old_length. Add
638 * ldlang.c (lang_memory_region_lookup): Init new field.
639 (lang_reset_memory_regions): Reset new field.
640 (lang_insert_orphan): Don't set load_base.
641 (lang_leave_overlay): Likewise.
642 (lang_size_sections_1): Delete unnecessary code setting lma_region
643 to region. Correct lma region check.
644 (lang_do_assignments_1): Rename output_section_statement parm
645 to current_os. Set lma from previous section in region.
647 * ldlang.c: Formatting.
649 2006-07-25 Bob Wilson <bob.wilson@acm.org>
651 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
652 Set discarded section's output_section to bfd_abs_section_ptr.
654 2006-07-26 Alan Modra <amodra@bigpond.net.au>
656 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
659 2006-07-24 Bob Wilson <bob.wilson@acm.org>
661 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
662 in dep_sec_name for null terminator. Make sure dep_sec_name has a
665 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
667 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
668 Set for *-*-solaris2*.
670 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
672 * ld.texinfo: Fix spelling mistakes.
673 * ldint.texinfo: Likewise.
675 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
677 * ldlang.c (lang_section_bst): New structure for sorting sections
679 (wild_sort_fast): New function: Insert a section into a binary
681 (output_section_callback_fast): New function: Store a section in
683 (output_section_callback_tree_to_list): New function: Convert a
685 (analyze_walk_wild_section_handler): Initialize handler_data
687 (wild): If the data is sorted by name use the BST method to sort
690 2006-07-19 Alan Modra <amodra@bigpond.net.au>
692 * ld.h (handle_asneeded_cref): Declare.
693 * ldcref.c: Include objalloc.h.
694 (old_table, old_count, old_tab, alloc_mark): New variables.
695 (tabsize, entsize, refsize, old_symcount): Likewise.
696 (add_cref): Use bfd_hash_allocate for refs.
697 (handle_asneeded_cref): New function.
698 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
700 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
702 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
703 typo setting targ_extra_libpath.
705 2006-07-10 Jakub Jelinek <jakub@redhat.com>
707 * scripttempl/elf.sc: Add .gnu.hash section.
708 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
709 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
710 (gld${EMULATION_NAME}_handle_option): Handle it.
711 (gld${EMULATION_NAME}_list_options): Document it.
712 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
713 * ld.texinfo: Document --hash-style option.
715 2006-07-10 Nick Clifton <nickc@redhat.com>
717 * po/zh_TW.po: New Chinese (traditional) translation.
718 * configure.in (ALL_LINGUAS): Add zh_TW.
719 * configure: Regenerate.
721 2006-07-07 Nick Clifton <nickc@redhat.com>
724 * ld.texinfo: Remove "Using LD" from the title since it is
727 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
730 * ld.texinfo: Fix spelling mistakes.
732 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
733 Nick Clifton <nickc@redhat.com>
735 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
736 length of format strings in the libname_fmt[] array, rather than
737 relying upon a statically chosen value. Adjust xmalloc call to
738 use this longest length.
740 2006-06-27 Nick Clifton <nickc@redhat.com>
742 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
745 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
747 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
750 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
752 * pe-dll.c (pe_details_type): Add new pointer for symbols list
754 (autofilter_symbollist): Split into autofilter_symbollist_generic
755 and autofilter_symbollist_i386.
756 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
757 autofilter_symbollist_generic for all the others.
758 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
759 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
760 into autofilter_symbollist_i386.
761 (auto_export): Get autofilter_symbollist from pe_details.
763 2006-06-22 Nick Clifton <nickc@redhat.com>
766 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
767 output files mention the file name and the fact that it is an
770 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
772 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
773 Restructure. Add native "%s.lib" format to search list
774 * ld.texinfo (node WIN32): Update documentation on dynamic lib
775 search order. Add another reason for using import libs.
777 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
779 * ldlang.c (lang_insert_orphan): Correctly handle the case where
780 the section is to end up after the section currently at the end
781 of the list in output_bfd.
783 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
785 * emultempl/mmo.em: Improve comments. Explain why there's
788 2006-06-21 Alan Modra <amodra@bigpond.net.au>
790 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
791 loop to ten iterations. Throw away any previous linker generated
793 * ldlang.c (lang_phdr_list): Make global.
794 * ldlang.h (lang_phdr_list): Declare.
795 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
796 * Makefile.in: Regenerate.
798 2006-06-20 Alan Modra <amodra@bigpond.net.au>
800 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
801 many ELF emul file deps that incorrectly said they needed elf32.em
802 instead of generic.em. Add genelf.em as required.
803 * Makefile.in: Regenerate.
804 * ldlang.c (lang_process): Call ldemul_finish before
805 lang_check_section_addresses.
806 * emulparams/arcelf.sh: Generic elf target needs genelf.
807 * emulparams/d30v_e.sh: Likewise.
808 * emulparams/d30v_o.sh: Likewise.
809 * emulparams/d30velf.sh: Likewise.
810 * emulparams/elf32_dlx.sh: Likewise.
811 * emulparams/elf32_i860.sh: Likewise.
812 * emulparams/elf32fr30.sh: Likewise.
813 * emulparams/elf32frv.sh: Likewise.
814 * emulparams/elf32iq10.sh: Likewise.
815 * emulparams/elf32iq2000.sh: Likewise.
816 * emulparams/elf32mt.sh: Likewise.
817 * emulparams/mn10200.sh: Likewise.
818 * emulparams/or32.sh: Likewise.
819 * emulparams/or32elf.sh: Likewise.
820 * emulparams/pjelf.sh: Likewise.
821 * emulparams/msp430all.sh: Likewise. Extract common entries.
822 * emulparams/pjlelf.sh: Include pjelf.sh.
823 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
824 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
825 * emultempl/elf-generic.em: New file.
826 * emultempl/genelf.em: New file.
827 * emultempl/elf32.em: Include elf-generic.em.
828 (gld${EMULATION_NAME}_layout_sections_again): Delete.
829 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
830 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
831 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
832 gld${EMULATION_NAME}_map_segments.
833 (LDEMUL_FINISH): Update.
834 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
835 source elf-generic.em.
836 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
837 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
838 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
839 gld${EMULATION_NAME}_map_segments.
840 (LDEMUL_FINISH): Update.
842 2006-06-19 Alan Modra <amodra@bigpond.net.au>
844 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
846 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
848 * ld.texinfo: Document new -z lazy option.
849 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
851 (gld${EMULATION_NAME}_list_options): Update help text.
853 2006-06-12 Fred Fish <fnf@specifix.com>
855 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
856 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
857 generated by mips gcc.
859 2006-06-12 Thiemo Seufer <ths@mips.com>
861 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
864 2006-06-09 Alan Modra <amodra@bigpond.net.au>
866 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
867 * ldlang.c (struct out_section_hash_entry): Rename from
868 output_statement_hash_entry. Delete output_section_statement_type
869 entry. Add statement_union_type entry. Adjust all users.
870 (output_section_statement_table): Rename from output_statement_table.
872 (output_section_statement_newfunc): Rename from
873 output_statement_newfunc. Adjust all users.
874 (output_section_statement_table_init): Rename from
875 output_statement_table_init. Adjust all users.
876 (output_section_statement_table_free): Rename from
877 output_statement_table_free. Adjust all users.
879 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
881 * po/Make-in (pdf, ps): New dummy targets.
883 2006-06-07 Alan Modra <amodra@bigpond.net.au>
885 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
886 info_section and overlay_section. Add noalloc_section.
887 * ldlang.c (lang_add_section): Adjust.
888 * ldgram.y (type): Adjust.
890 2006-06-06 Alan Modra <amodra@bigpond.net.au>
892 * ldlang.c (init_os): Whitespace.
893 (map_input_to_output_sections): Don't init_os for lang_input_section.
894 (print_all_symbols): Remove forward declaration. Convert to ISO C.
896 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
898 * po/Make-in (top_builddir): Define.
900 2006-06-05 Alan Modra <amodra@bigpond.net.au>
902 * ldexp.c (exp_get_abs_int): Make error message the same as
903 others emitted in this file.
905 2006-06-05 Alan Modra <amodra@bigpond.net.au>
907 * config.in: Regenerate.
909 2006-06-05 Alan Modra <amodra@bigpond.net.au>
911 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
913 2006-06-03 Alan Modra <amodra@bigpond.net.au>
915 * emultempl/elf32.em (global_found): Make it a pointer.
916 (stat_needed, try_needed): Adjust.
917 (check_needed): Don't skip non-loaded as-needed entries. Only
918 consider entries with both filename and the_bfd non-null.
919 (after_open): Try loading non-loaded as-needed libs to satisfy
922 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
924 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
925 * Makefile.in: Regenerate.
927 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
929 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
930 and LIBINTL_DEP everywhere.
932 (INCLUDES): Use @INCINTL@.
933 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
934 Remove local code for po/Makefile.
935 * Makefile.in, configure: Regenerated.
937 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
939 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
940 "CONSTANT (MAXPAGESIZE)".
941 * emulparams/armelf_nbsd.sh: Likewise.
942 * emulparams/armelf_vxworks.sh: Likewise.
943 * emulparams/armnto.sh: Likewise.
944 * emulparams/armsymbian.sh: Likewise.
945 * emulparams/crislinux.sh: Likewise.
946 * emulparams/elf32_i860.sh: Likewise.
947 * emulparams/elf32_i960.sh: Likewise.
948 * emulparams/elf32am33lin.sh: Likewise.
949 * emulparams/elf32bfinfd.sh: Likewise.
950 * emulparams/elf32bmipn32-defs.sh: Likewise.
951 * emulparams/elf32frvfd.sh: Likewise.
952 * emulparams/elf32i370.sh: Likewise.
953 * emulparams/elf32lppcnto.sh: Likewise.
954 * emulparams/elf32mcore.sh: Likewise.
955 * emulparams/elf32openrisc.sh: Likewise.
956 * emulparams/elf32ppcnto.sh: Likewise.
957 * emulparams/elf32ppcwindiss.sh: Likewise.
958 * emulparams/elf32vax.sh: Likewise.
959 * emulparams/elf32xc16x.sh: Likewise.
960 * emulparams/elf32xc16xl.sh: Likewise.
961 * emulparams/elf32xc16xs.sh: Likewise.
962 * emulparams/elf64_aix.sh: Likewise.
963 * emulparams/elf64hppa.sh: Likewise.
964 * emulparams/elf64mmix.sh: Likewise.
965 * emulparams/elf_i386_be.sh: Likewise.
966 * emulparams/elf_i386_chaos.sh: Likewise.
967 * emulparams/elf_i386_ldso.sh: Likewise.
968 * emulparams/hppa64linux.sh: Likewise.
969 * emulparams/hppalinux.sh: Likewise.
970 * emulparams/hppaobsd.sh: Likewise.
971 * emulparams/i386lynx.sh: Likewise.
972 * emulparams/i386moss.sh: Likewise.
973 * emulparams/i386nto.sh: Likewise.
974 * emulparams/i386nw.sh: Likewise.
975 * emulparams/m32relf_linux.sh: Likewise.
976 * emulparams/m68kpsos.sh: Likewise.
977 * emulparams/or32elf.sh: Likewise.
978 * emulparams/pjelf.sh: Likewise.
979 * emulparams/pjlelf.sh: Likewise.
980 * emulparams/ppclynx.sh: Likewise.
981 * emulparams/ppcnw.sh: Likewise.
982 * emulparams/shelf32_nbsd.sh : Likewise.
983 * emulparams/shelf_nbsd.sh: Likewise.
984 * emulparams/shelf_nto.sh: Likewise.
985 * emulparams/shlelf_nto.sh: Likewise.
986 * emulparams/xtensa-config.sh: Likewise.
988 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
989 "CONSTANT (MAXPAGESIZE)".
990 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
991 * emulparams/elf32_sparc.sh: Likewise.
992 * emulparams/elf32bmip.sh: Likewise.
993 * emulparams/elf32ppccommon.sh: Likewise.
994 * emulparams/elf64_ia64.sh: Likewise.
995 * emulparams/elf64_s390.sh: Likewise.
996 * emulparams/elf64_sparc.sh: Likewise.
997 * emulparams/elf64alpha.sh: Likewise.
998 * emulparams/elf64ppc.sh: Likewise.
999 * emulparams/elf_i386.sh: Likewise.
1000 * emulparams/elf_i386_vxworks.sh: Likewise.
1001 * emulparams/elf_s390.sh: Likewise.
1002 * emulparams/elf_x86_64.sh: Likewise.
1003 * emulparams/shlelf32_linux.sh: Likewise.
1004 * emulparams/shlelf_linux.sh: Likewise.
1006 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
1007 "CONSTANT (COMMONPAGESIZE)".
1008 * emulparams/elf32btsmipn32.sh: Likewise.
1010 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
1011 "-z max-page-size=" and "-z common-page-size=".
1012 (gld${EMULATION_NAME}_list_options): Likewise.
1014 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
1016 * ld.texinfo: Document "-z max-page-size=" and
1017 "-z common-page-size=".
1019 * ldexp.c (exp_print_token): Handle CONSTANT.
1020 (fold_name): Likewise.
1021 * ldgram.y: Likewise.
1022 * ldlex.l: Likewise.
1024 * ldmain.c (main): Initiliaze config.maxpagesize and
1025 config.commonpagesize. Call bfd_emul_set_maxpagesize if
1026 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
1027 config.commonpagesize config.maxpagesize isn't 0.
1029 2006-05-30 Nick Clifton <nickc@redhat.com>
1031 * po/es.po: Updated Spanish translation.
1033 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
1035 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
1037 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
1040 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
1041 bfd. Support 64bit host for --enable-targets=all.
1042 * configure: Regenerated.
1044 2006-05-24 Nick Clifton <nickc@redhat.com>
1046 * po/vi.po: Updated Vietnamese translation.
1048 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
1050 * configure.tgt: Add avr6 to emulation list.
1051 * Makefile.am: Add eavr6.o and corresponding rule.
1052 * Makefile.in: Regenerate.
1053 * emulparams/avr6.sh: New file.
1054 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
1055 for target option support.
1056 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
1057 * scripttempl/avr.sc: Add ".trampolines" section.
1058 * emultempl/avrelf.em: Add new file for target specific options.
1060 2006-05-22 Nick Clifton <nickc@redhat.com>
1062 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
1064 2006-05-19 Alan Modra <amodra@bigpond.net.au>
1066 * ldlang.c (lang_size_sections_1): Don't check mem regions for
1067 os->ignored sections.
1069 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1071 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
1072 before redoing one_lang_size_sections_pass.
1074 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
1076 * ld.texinfo: Rename "Index" to "LD Index"
1078 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
1080 * pe-dll.c (autofilter_symbollist): Add Dllmain,
1081 DllMainCRTStartup, _DllMainCRTStartup and .text.
1082 (autofilter_liblist): Add libcegcc.
1083 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
1084 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
1085 they can still contain relocs that need processing.
1086 Skip the .idata$6 section.
1087 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
1088 (make_one): Use the new array.
1089 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
1090 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
1092 2006-05-05 Alan Modra <amodra@bigpond.net.au>
1094 * ld.texinfo: Document PowerPC and PowerPC64 options.
1095 * gen-doc.texi: Enable.
1097 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1099 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
1100 (TEXI2POD): Use AM_MAKEINFOFLAGS.
1101 (configdoc.texi): Don't set top_srcdir.
1102 * ld.texinfo: Don't use top_srcdir.
1103 * aclocal.m4, Makefile.in: Regenerated.
1105 2006-04-19 Alan Modra <amodra@bigpond.net.au>
1107 * ldlang.c (wild): Tidy default_common_section loop.
1108 (print_input_section): Format.
1110 * configure: Regenerate.
1112 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1114 * po/POTFILES.in: Regenerated.
1116 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1118 * config.in: Regenerated.
1120 2006-04-14 David Heine <dlheine@tensilica.com>
1121 Bob Wilson <bob.wilson@acm.org>
1123 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
1124 function to strip inconsistent linkonce sections.
1125 (input_section_linked_worker, input_section_linked): New.
1126 (is_inconsistent_linkonce_section): New.
1127 (xtensa_strip_inconsistent_linkonce_sections): New.
1129 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
1131 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
1132 and Dragonfly targets.
1133 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
1134 * Makefile.am (HFILES): Add elf-hints-local.h.
1135 * elf-hints-local.h: New file.
1136 * Makefile.in: Regenerate.
1137 * configure: Regenerate.
1139 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
1141 * ld.texinfo: Fix typo in documentation of --check-sections.
1143 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1145 * ldlang.c (load_symbols): Set as_needed and add_needed according
1146 to the corresponding script's fields while processing it.
1148 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
1150 * Makefile.am: Add install-html, install-html-am, and
1151 install-html-recursive targets.
1152 * Makefile.in: Regenerate.
1153 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
1154 * configure: Regenerate.
1155 * po/Make-in: Add install-html target.
1157 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
1159 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
1160 link_info.need_relax_finalize.
1162 * ldlang.c (relax_sections): New.
1163 (lang_process): Use. Call relax_sections link_info.relax_pass
1166 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
1167 link_info.need_relax_finalize.
1169 2006-04-05 Alan Modra <amodra@bigpond.net.au>
1171 * Makefile.am (GENSCRIPTS): Pass prefix.
1172 * Makefile.in: Regenerate.
1173 * genscripts.sh: Adjust for extra parameter.
1174 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
1176 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
1179 2006-04-05 Richard Sandiford <richard@codesourcery.com>
1180 Daniel Jacobowitz <dan@codesourcery.com>
1182 * configure.tgt (sparc*-*-vxworks*): New stanza.
1183 * emulparams/elf32_sparc_vxworks.sh: New file.
1184 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
1185 (eelf32_sparc_vxworks.c): New rule.
1186 * Makefile.in: Regenerate.
1188 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
1190 * ldlang.c (lang_map): Print the list of discarded input sections.
1191 (print_input_section): Change parameter and print zero-sized sections.
1192 (print_statement): Adjust call to print_input_section.
1194 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1196 * deffilep.y (def_image_name): If LIBRARY or NAME statement
1197 specifies an empty string, retain the name specified on command
1199 * ld.texinfo: Document above.
1201 2006-03-31 Jakub Jelinek <jakub@redhat.com>
1203 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
1204 bfd_find_nearest_line succeeded for %C or %D, but filename
1205 is NULL, print section+offset at the end.
1207 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
1209 * emulparams/elf32bfinfd.sh: New file.
1210 * emultempl/bfin.em: Delete.
1211 * emulparams/bfin.sh: Lose reference to bfin.em.
1212 * Makefile.am (eelf32bfin.c): Likewise.
1213 (eelf32bfinfd.c): New.
1214 * Makefile.in: Regenerate.
1215 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
1218 2006-03-22 Richard Sandiford <richard@codesourcery.com>
1219 Daniel Jacobowitz <dan@codesourcery.com>
1220 Phil Edwards <phil@codesourcery.com>
1221 Zack Weinberg <zack@codesourcery.com>
1222 Mark Mitchell <mark@codesourcery.com>
1223 Nathan Sidwell <nathan@codesourcery.com>
1225 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
1226 separate VxWorks emulations.
1227 * emulparams/elf32ebmipvxworks.sh: New file.
1228 * emulparams/elf32elmipvxworks.sh: New file.
1229 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
1230 eelf32elmipvxworks.o.
1231 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
1232 * Makefile.in: Regenerate.
1234 2006-03-16 Alan Modra <amodra@bigpond.net.au>
1237 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
1238 * ldlang.c (output_statement_table_init, lang_init): Likewise.
1239 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
1240 (undefined_symbol): Likewise.
1242 2006-03-07 Richard Sandiford <richard@codesourcery.com>
1243 Daniel Jacobowitz <dan@codesourcery.com>
1244 Zack Weinberg <zack@codesourcery.com>
1245 Nathan Sidwell <nathan@codesourcery.com>
1246 Paul Brook <paul@codesourcery.com>
1247 Ricardo Anguiano <anguiano@codesourcery.com>
1248 Phil Edwards <phil@codesourcery.com>
1250 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
1251 (MAXPAGESIZE): Define.
1252 * emulparams/vxworks.sh: Undefine EMBEDDED.
1253 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
1254 * Makefile.in: Regenerate.
1256 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
1258 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
1259 Add KEEP() directives.
1260 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
1261 .bss output sections.
1263 2006-03-03 Richard Sandiford <richard@codesourcery.com>
1265 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
1266 (EXTRA_EM_FILE): Define.
1267 * emultempl/vxworks.em: New file.
1268 * ld.texinfo (--force-dynamic): Document.
1269 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
1271 * Makefile.in: Regenerate.
1273 2006-03-02 Richard Sandiford <richard@codesourcery.com>
1275 * emulparams/elf32ppccommon.sh: New file, extracted from...
1276 * emulparams/elf32ppc.sh: ...here.
1277 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
1278 instead of elf32ppc.sh.
1279 (BSS_PLT): Remove override.
1280 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
1281 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
1282 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
1283 (eelf32ppclinux.c): Likewise.
1284 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
1285 * Makefile.in: Regenerate.
1287 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
1289 * Makefile.am: Add html target.
1290 * Makefile.in: Regenerate.
1291 * po/Make-in: Add html target.
1293 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
1294 Anil Paranjape <anilp1@kpitcummins.com>
1295 Shilin Shakti <shilins@kpitcummins.com>
1297 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
1298 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
1299 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
1300 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
1301 * emulparams/elf32xc16xl.sh: Emulation script for large model.
1302 * emulparams/elf32xc16xs.sh: Emulation script for small model.
1303 * Makefile.am: Add entry to make xc16x target.
1304 * Makefile.in: Regenerate.
1305 * configure.tgt: Specify default and other emulation parameters
1307 * NEWS: Announce the support for the new target.
1309 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
1311 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1312 Use the traditional target.
1314 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
1316 * configure.tgt (arm*b-*-linux-gnueabi): Change to
1317 arm*b-*-linux-*eabi.
1318 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
1320 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
1323 * NEWS: Updated for the Linux linker search order change.
1325 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1326 gld${EMULATION_NAME}_check_ld_so_conf before checking default
1327 search directories for DT_NEEDED entries.
1329 2006-02-07 Paul Brook <paul@codesourcery.com>
1331 * emultempl/armelf.em: Include elf/arm.h.
1332 (arm_elf_finish): Set low address bit if enty point is a Thumb
1335 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1337 * deffilep.y (def_image_name): If the image name does not have
1338 a suffix, append the default.
1339 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
1341 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
1343 * NEWS: Mention support for forward exports in PE-COFF dll's.
1344 * ld.texinfo: Expand documentation of EXPORT statements in
1347 2006-01-31 Filip Navara <navaraf@reactos.com>
1349 * deffile.h (struct def_file_export): Add field flag_forward.
1350 * pe-dll.c (process_def_file): Check for forward exports.
1351 (generate_edata): Generate forward export symbols.
1352 (fill_edata): Emit them.
1354 * pe-dll.c (process_def_file): Don't crash on malformed
1355 fastcall symbol names in .def file.
1357 2006-01-30 Nick Clifton <nickc@redhat.com>
1359 * po/vi.po: Updated Vietnamese translation.
1361 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
1363 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1364 file:" as informational message, not a warning.
1366 2006-01-18 Roger Sayle <roger@eyesopen.com>
1368 * emultempl/irix.em: Use lbasename instead of basename.
1370 2006-01-16 Nick Clifton <nickc@redhat.com>
1372 * po/zh_CN.po: New Chinese (simplified) translation.
1373 * configure.in (ALL_LINGUAS): Add "zh_CH".
1374 * configure: Regenerate.
1376 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
1378 * ld.texinfo (Options): Fix typo.
1380 For older changes see ChangeLog-2005
1386 version-control: never