1 2006-11-27 Ian Lance Taylor <ian@airs.com>
3 * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
5 * Makefile.in: Regenerate.
7 2006-11-27 Bob Wilson <bob.wilson@acm.org>
9 * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
10 (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
11 Delete redundant code to set sections flags and alignment.
12 (xt_config_info_unpack_and_check, check_xtensa_info): New.
13 (elf_xtensa_after_open): Iterate over input statements instead of
15 (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
16 each input, and write a new .xtensa.info section in the output.
18 2006-11-22 Nick Clifton <nickc@redhat.com>
20 * configure.in (LINGUAS): Add ga.
21 * po/ga.po: New Irish translation.
23 2006-11-20 H.J. Lu <hongjiu.lu@intel.com>
25 * ld.texinfo: Fix a typo.
27 2006-11-20 Alan Modra <amodra@bigpond.net.au>
29 * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
31 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
33 * emultempl/armelf.em (arm_elf_before_allocation): Only call
34 bfd_elf32_arm_process_before_allocation if no dynamic sections.
36 2006-11-08 Alan Modra <amodra@bigpond.net.au>
38 * emultempl/elf32.em (gld*_before_allocation): Adjust output section
39 size for warning sections.
41 2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
43 * emultempl/elf32.em (gld*_before_allocation): Don't prepend
44 "warning" to the message.
46 2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
48 * pe-dll.c (autofilter_entry_type): Change name to const.
49 (pe_details_type) : Change target_name, object_target and
50 autofilter_symbollist to const.
51 (autofilter_symbollist_generic): Change to const.
52 (autofilter_symbollist_i386, pe_detail_list, pe_details,
53 autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
54 autofilter_symbolsuffixlist): Likewise.
55 (is_import): Fix indentation.
56 (auto_export): Change afptr to const. Move name declaration to
58 (make_tail): Clear undefined byte.
59 (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
61 (make_one): Change jmp_bytes to const. Make idata$6 member size
62 arithmetic explicit and add comment.
64 2006-10-30 H.J. Lu <hongjiu.lu@intel.com>
67 * ld.h (args_type): Remove reduce_memory_overheads.
69 * ldlang.c (lang_map): Updated.
70 (section_already_linked): Likewise.
71 (print_input_section): Likewise.
72 * ldmain.c (main): Likewise.
73 * lexsup.c (parse_args): Likewise.
75 2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
77 * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
79 2006-10-27 Alan Modra <amodra@bigpond.net.au>
81 * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
82 sections have been discarded.
83 (lang_do_version_exports_section): Set SEC_KEEP on export section.
84 * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
87 2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
88 Mark Mitchell <mark@codesourcery.com>
90 * configure.tgt (arm*linux*): Support both big- and little-endian.
92 2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
94 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
95 (OTHER_BSS_SECTIONS): This.
96 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
97 (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
99 2006-10-25 Alan Modra <amodra@bigpond.net.au>
100 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
101 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
102 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
103 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
105 * emulparams/elf32_spu.sh: New file.
106 * emultempl/spu_inc.s: New file.
107 * emultempl/spu_ovl.S: New file.
108 * emultempl/spu_ovl.o: New file.
109 * emultempl/spuelf.em: New file.
110 * Makefile.am: Add SPU support.
111 * configure.tgt: Likewise.
112 * ldlang.c (load_symbols): Make global.
113 * ldlang.h (load_symbols): Declare.
114 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
115 * Makefile.in: Regenerate.
117 2006-10-24 Ben Elliston <bje@au.ibm.com>
119 * lexsup.c (parse_args): Add a comment noting a fall-through.
121 2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
123 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
124 * configure: Regenerated.
125 * config.in: Likewise.
127 2006-10-23 Alan Modra <amodra@bigpond.net.au>
129 * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
130 set section address on a relocatable link.
132 * ld.texinfo (Output Section Discarding): Fix xref.
134 2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
136 * emulparams/shelf32.sh: Set default stack to 0x80000.
137 * emulparams/shelf64.sh: Likewise.
139 2006-10-20 Richard Sandiford <richard@codesourcery.com>
141 * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
142 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
144 2006-10-19 Alan Modra <amodra@bigpond.net.au>
146 * emultempl/armelf.em (arm_elf_before_allocation): Run
147 gld${EMULATION_NAME}_before_allocation later.
148 * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
150 2006-10-18 Roy Marples <uberlord@gentoo.org>
152 * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
155 2006-10-18 Joseph Myers <joseph@codesourcery.com>
157 * configure.tgt (i[3-7]86-*-linux-*): Also define
158 targ_extra_libpath in want64 case.
159 * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
162 2006-10-17 Alan Modra <amodra@bigpond.net.au>
164 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
165 (INITIAL_READONLY_SECTIONS): ..here.
166 * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
167 * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
168 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
170 2006-10-17 Alan Modra <amodra@bigpond.net.au>
172 * ldlang.c (strip_excluded_output_sections): Do strip sections
173 that define syms, but don't ignore them.
174 * ld.texinfo (Output Section Discarding): Revise.
175 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
178 2006-10-16 Richard Sandiford <richard@codesourcery.com>
180 * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
181 (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
182 * Makefile.in: Regenerate.
183 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
184 .reginfo rather than .MIPS.options.
185 * emulparams/elf64bmip-defs.sh: New file.
186 * emulparams/elf64bmip.sh: Include it.
187 (COMMONPAGESIZE): Delete.
188 * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
190 2006-10-12 Bob Wilson <bob.wilson@acm.org>
192 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
193 for linkonce XCC exception tables (".e" and ".h").
195 2006-10-11 Bob Wilson <bob.wilson@acm.org>
197 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
198 (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
199 (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
200 (OTHER_SDATA_SECTIONS): New.
201 * scripttempl/elfxtensa.sc: Import changes from elf.sc.
203 2006-10-11 Jakub Jelinek <jakub@redhat.com>
205 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
206 of the dynamic list rather than just the first entry.
208 2006-10-10 Bob Wilson <bob.wilson@acm.org>
210 * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
212 2006-10-06 Mike Frysinger <vapier@gentoo.org>
214 * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
216 2006-10-04 Bob Wilson <bob.wilson@acm.org>
218 * emulparams/xtensa-config.sh: Delete file.
219 * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
221 * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
222 * Makefile.in: Regenerate.
224 2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
226 * pe-dll.c : Fix typo.
227 (autofilter_symbolprefixlist) : Remove __imp_.
229 (auto-export) : Remove re-import check. Moved to callers.
230 (process_def_file) : Check is symbol is an import. Always
232 Only skip underscore on underscored targets.
233 (make_one) : Always underscore __imp_.
234 (pe_create_runtime_relocator_reference) : Only underscore
235 _pei386_runtime_relocator on underscored targets.
236 (pe_process_import_defs) : Always underscore __imp_.
237 * pe.em (U) : New macro.
238 (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
239 on wince subsystem case.
240 (pe_find_data_imports) : Use U on "_head_".
241 (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
243 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
247 * ld.texinfo: Updated Output Section Discarding.
249 * ldlang.h (lang_output_section_statement_type): Add
250 section_relative_symbol.
251 * ldlang.c (strip_excluded_output_sections): Don't strip a
252 section with a symbol relative to it.
253 (lang_size_sections_1): Mark if an output section has a symbol
254 symbol relative to it.
256 2006-09-25 Bob Wilson <bob.wilson@acm.org>
258 * ld.texinfo (Options): Update description of local symbols for -X.
260 2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
263 * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
264 and .gnu.linkonce.wi.* sections with .data and .debug_info for
267 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
269 * configure.in: Add new target x86_64-pc-mingw64.
270 * configure: Regenerate.
271 * configure.tgt: Add definition of target emulation i386pep.
272 * Makefile.am: Add new target files for target-all.
273 * Makefile.in: Regenerate.
274 * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
275 Fix memory out of bounds excess for idata relocation section data.
276 * pep-dll.c: Add target specific shared object handling.
277 * pep-dll.h: Add target specific definitions for shared object handling.
278 * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
279 * emultempl/pep.em: Add new emulation file for target x86_64 coff.
280 * po/POTFILES.in: Regenerate.
281 * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
282 * NEWS: Mention new target.
284 2006-09-18 Thiemo Seufer <ths@networkno.de>
286 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
289 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
291 * emulparams/scoreelf.sh: New file.
292 * emultempl/scoreelf.em: New file.
293 * Makefile.am: Add Score files.
294 * Makefile.in: Regenerate.
295 * configure.tgt: Add Score target.
296 * NEWS: Mention new target support.
298 2006-09-16 Nick Clifton <nickc@redhat.com>
299 Pedro Alves <pedro_alves@portugalmail.pt>
301 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
302 macros defined in bfd.h.
303 * ldmain.c: Likewise.
304 * ldwrite.c: Likewise.
305 * lexsup.c: Likewise.
306 * pe-dll.c: Likewise.
307 * emultempl/aix.em: Likewise.
308 * emultempl/beos.em: Likewise.
309 * emultempl/elf32.em: Likewise.
310 * emultempl/pe.em: Likewise.
311 * emultempl/sunos.em: Likewise.
312 * emultempl/xtensaelf.em: Likewise.
314 2006-09-15 Nick Clifton <nickc@redhat.com>
317 * ldlang.c (lang_size_sections_1): Do not abort when encountering
318 a non-empty section that is ignored. Instead produce a warning
321 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
323 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
325 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
327 * Makefile.am (CXX): Set to g++.
328 (CXX_FOR_TARGET): Likewise.
329 * Makefile.in: Regenerated.
331 * NEWS: Mention --dynamic-list.
333 * ld.texinfo: Document --dynamic-list.
335 * ldgram.y: Support dynamic list.
337 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
338 on link_info.dynamic if needed.
339 (lang_append_dynamic_list): New.
340 (lang_append_dynamic_list_cpp_typeinfo): New.
341 * ldlang.h (lang_append_dynamic_list): Likewise.
342 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
344 * ldlex.h (input_enum): Add input_dynamic_list.
345 * ldlex.l: Handle it.
347 * ldmain.c (main): Initialize link_info.dynamic.
349 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
350 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
351 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
352 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
353 (parse_args): Handle OPTION_DYNAMIC_LIST and
354 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
356 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
358 * emulparams/h8300elf.sh: _tinydata should not be placed in
360 * emulparams/h8300.sh: Likewise.
361 * emulparams/h8300sxelf.sh: Likewise.
363 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
366 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
369 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
371 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
373 2006-08-28 Alan Modra <amodra@bigpond.net.au>
375 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
376 not match random object files in a path containing "crtbegin" or
377 "crtend" as part of a directory name.
378 * scripttempl/armbpabi.sc: Likewise.
379 * scripttempl/crisaout.sc: Likewise.
380 * scripttempl/elf32crx.sc: Likewise.
381 * scripttempl/elf32sh-symbian.sc: Likewise.
382 * scripttempl/elf_chaos.sc: Likewise.
383 * scripttempl/elfd10v.sc: Likewise.
384 * scripttempl/elfd30v.sc: Likewise.
385 * scripttempl/elfxtensa.sc: Likewise.
386 * scripttempl/iq2000.sc: Likewise.
387 * scripttempl/mmo.sc: Likewise.
388 * scripttempl/xstormy16.sc: Likewise.
390 2006-08-24 Bob Wilson <bob.wilson@acm.org>
392 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
393 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
395 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
397 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
398 Adjust the current address of DEFAULT_MEMORY_REGION even
399 when dot hasn't changed.
401 2006-08-23 Alan Modra <amodra@bigpond.net.au>
403 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
404 rather than a section relative value.
406 2006-08-22 Alan Modra <amodra@bigpond.net.au>
408 * NEWS: Mention LMA default change.
409 * ld.texinfo (Output Section LMA): Update default description.
410 (Location Counter): Clarify backward movement.
411 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
412 default lma equal to vma. Warn on backward movement of dot.
414 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
416 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
419 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
421 * Makefile.am: Split arm-wince into its own emulation.
422 * Makefile.in: Regenerate.
423 * pe-dll.c : Define PE_ARCH_arm_wince.
424 (pe_detail_list): Add PE_ARCH_arm_wince case.
425 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
426 * emulparams/arm_wince_pe.sh: New file.
427 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
428 Remap bfd_arm_allocate_interworking_sections,
429 bfd_arm_get_bfd_for_interworking and
430 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
432 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
433 arm-epoc bfd format names.
435 2006-08-18 Paul Brook <paul@codesourcery.com>
437 * emultempl/armelf.em (arm_elf_before_allocation): Call
438 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
440 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
442 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
443 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
444 and to not skipping .idata* sections.
446 2006-08-16 Alan Modra <amodra@bigpond.net.au>
449 * ldlang.h (lang_output_section_statement_type): Replace
450 "processed" field with "processed_vma" and "processed_lma".
451 * ldlang.c (lang_do_assignments_1): Move lma setting code..
452 (lang_size_sections_1): ..to here.
453 (lang_reset_memory_regions): Adjust for
454 lang_output_section_statement_type change.
455 * ldexp.c (fold_name): Likewise.
457 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
459 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
460 "CONSTANT (MAXPAGESIZE)".
462 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
465 * ldlang.c (lang_section_bst_type): Moved to ...
468 * ldlang.h (lang_wild_statement_struct): Add a tree field.
470 * ldlang.c (wild_sort_fast): Use the tree field for BST.
472 (analyze_walk_wild_section_handler): Initialize the tree field.
474 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
477 * ldlang.c (update_wild_statements): Update the whole wild
480 2006-08-04 Nick Clifton <nickc@redhat.com>
481 Mike Frysinger <michael.frysinger@analog.com>
483 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
484 (__preinit_array_start, __preinit_array_end, __init_array_start,
485 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
486 Use ${USER_LABEL_PREFIX}.
487 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
488 (USER_LABEL_PREFIX): Set.
490 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
492 * ldmain.c (main): Initialise print_gc_sections field of link_info
494 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
496 * ld.texinfo: Document new switches.
497 * NEWS: Mention new switches.
499 2006-08-04 Richard Sandiford <richard@codesourcery.com>
500 Kazu Hirata <kazu@codesourcery.com>
501 Phil Edwards <phil@codesourcery.com>
503 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
505 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
506 * Makefile.in: Regenerate.
507 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
509 * emulparams/shelf_vxworks.sh: New file.
510 * emulparams/shlelf_vxworks.sh: Likewise.
511 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
512 (OTHER_END_SYMBOLS): Likewise _ehdr.
513 (DATA_END_SYMBOLS): Likewise _edata.
514 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
515 is indeed an ELF file before dealing with --force-dynamic.
517 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
520 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
521 elf64-x86-64-freebsd.
523 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
525 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
526 bfd_make_section_with_flags.
527 (exp_init_os): Updated.
528 (lang_add_section): Call init_os with flags.
529 (map_input_to_output_sections): Likewise.
531 2006-07-29 Richard Sandiford <richard@codesourcery.com>
533 * Makefile.am (eelf32b4300.c): Update dependencies.
534 (eelf32bmip.c): Likewise.
535 (eelf32bsmip.c): Likewise.
536 (eelf32btsmip.c): Likewise.
537 (eelf32btsmipn32.c): Likewise.
538 (eelf32ltsmip.c): Likewise.
539 (eelf32ltsmipn32.c): Likewise.
540 (eelf32ebmip.c): Likewise.
541 (eelf32ebmipvxworks.c): Likewise.
542 (eelf32elmip.c): Likewise.
543 (eelf32elmipvxworks.c): Likewise.
544 (eelf32bmipn32.c): Likewise.
545 (eelf32lmip.c): Likewise.
546 (eelf32mipswindiss.c): Likewise.
547 (eelf32lsmip.c): Likewise.
548 (eelf64bmip.c): Likewise.
549 (eelf64btsmip.c): Likewise.
550 (eelf64ltsmip.c): Likewise.
551 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
552 (emipsbsd.c): Likewise.
553 (emipsidt.c): Update dependencies.
554 (emipsidtl.c): Likewise.
555 (emipslit.c): Likewise.
556 (emipslnews.c): Likewise.
557 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
558 * Makefile.in: Regenerate.
559 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
560 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
561 * emultempl/irix.em: Include emultempl/mipself.em.
562 * emultempl/mipself.em: New file.
564 2006-07-26 Alan Modra <amodra@bigpond.net.au>
566 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
567 layout happens before segment map. Don't do segment map on
570 2006-07-26 Alan Modra <amodra@bigpond.net.au>
572 * ldexp.c (fold_name <LOADADDR>): Use the lma.
573 * ldlang.h (lang_memory_region_type): Delete old_length. Add
575 * ldlang.c (lang_memory_region_lookup): Init new field.
576 (lang_reset_memory_regions): Reset new field.
577 (lang_insert_orphan): Don't set load_base.
578 (lang_leave_overlay): Likewise.
579 (lang_size_sections_1): Delete unnecessary code setting lma_region
580 to region. Correct lma region check.
581 (lang_do_assignments_1): Rename output_section_statement parm
582 to current_os. Set lma from previous section in region.
584 * ldlang.c: Formatting.
586 2006-07-25 Bob Wilson <bob.wilson@acm.org>
588 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
589 Set discarded section's output_section to bfd_abs_section_ptr.
591 2006-07-26 Alan Modra <amodra@bigpond.net.au>
593 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
596 2006-07-24 Bob Wilson <bob.wilson@acm.org>
598 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
599 in dep_sec_name for null terminator. Make sure dep_sec_name has a
602 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
604 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
605 Set for *-*-solaris2*.
607 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
609 * ld.texinfo: Fix spelling mistakes.
610 * ldint.texinfo: Likewise.
612 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
614 * ldlang.c (lang_section_bst): New structure for sorting sections
616 (wild_sort_fast): New function: Insert a section into a binary
618 (output_section_callback_fast): New function: Store a section in
620 (output_section_callback_tree_to_list): New function: Convert a
622 (analyze_walk_wild_section_handler): Initialize handler_data
624 (wild): If the data is sorted by name use the BST method to sort
627 2006-07-19 Alan Modra <amodra@bigpond.net.au>
629 * ld.h (handle_asneeded_cref): Declare.
630 * ldcref.c: Include objalloc.h.
631 (old_table, old_count, old_tab, alloc_mark): New variables.
632 (tabsize, entsize, refsize, old_symcount): Likewise.
633 (add_cref): Use bfd_hash_allocate for refs.
634 (handle_asneeded_cref): New function.
635 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
637 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
639 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
640 typo setting targ_extra_libpath.
642 2006-07-10 Jakub Jelinek <jakub@redhat.com>
644 * scripttempl/elf.sc: Add .gnu.hash section.
645 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
646 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
647 (gld${EMULATION_NAME}_handle_option): Handle it.
648 (gld${EMULATION_NAME}_list_options): Document it.
649 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
650 * ld.texinfo: Document --hash-style option.
652 2006-07-10 Nick Clifton <nickc@redhat.com>
654 * po/zh_TW.po: New Chinese (traditional) translation.
655 * configure.in (ALL_LINGUAS): Add zh_TW.
656 * configure: Regenerate.
658 2006-07-07 Nick Clifton <nickc@redhat.com>
661 * ld.texinfo: Remove "Using LD" from the title since it is
664 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
667 * ld.texinfo: Fix spelling mistakes.
669 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
670 Nick Clifton <nickc@redhat.com>
672 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
673 length of format strings in the libname_fmt[] array, rather than
674 relying upon a statically chosen value. Adjust xmalloc call to
675 use this longest length.
677 2006-06-27 Nick Clifton <nickc@redhat.com>
679 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
682 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
684 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
687 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
689 * pe-dll.c (pe_details_type): Add new pointer for symbols list
691 (autofilter_symbollist): Split into autofilter_symbollist_generic
692 and autofilter_symbollist_i386.
693 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
694 autofilter_symbollist_generic for all the others.
695 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
696 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
697 into autofilter_symbollist_i386.
698 (auto_export): Get autofilter_symbollist from pe_details.
700 2006-06-22 Nick Clifton <nickc@redhat.com>
703 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
704 output files mention the file name and the fact that it is an
707 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
709 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
710 Restructure. Add native "%s.lib" format to search list
711 * ld.texinfo (node WIN32): Update documentation on dynamic lib
712 search order. Add another reason for using import libs.
714 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
716 * ldlang.c (lang_insert_orphan): Correctly handle the case where
717 the section is to end up after the section currently at the end
718 of the list in output_bfd.
720 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
722 * emultempl/mmo.em: Improve comments. Explain why there's
725 2006-06-21 Alan Modra <amodra@bigpond.net.au>
727 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
728 loop to ten iterations. Throw away any previous linker generated
730 * ldlang.c (lang_phdr_list): Make global.
731 * ldlang.h (lang_phdr_list): Declare.
732 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
733 * Makefile.in: Regenerate.
735 2006-06-20 Alan Modra <amodra@bigpond.net.au>
737 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
738 many ELF emul file deps that incorrectly said they needed elf32.em
739 instead of generic.em. Add genelf.em as required.
740 * Makefile.in: Regenerate.
741 * ldlang.c (lang_process): Call ldemul_finish before
742 lang_check_section_addresses.
743 * emulparams/arcelf.sh: Generic elf target needs genelf.
744 * emulparams/d30v_e.sh: Likewise.
745 * emulparams/d30v_o.sh: Likewise.
746 * emulparams/d30velf.sh: Likewise.
747 * emulparams/elf32_dlx.sh: Likewise.
748 * emulparams/elf32_i860.sh: Likewise.
749 * emulparams/elf32fr30.sh: Likewise.
750 * emulparams/elf32frv.sh: Likewise.
751 * emulparams/elf32iq10.sh: Likewise.
752 * emulparams/elf32iq2000.sh: Likewise.
753 * emulparams/elf32mt.sh: Likewise.
754 * emulparams/mn10200.sh: Likewise.
755 * emulparams/or32.sh: Likewise.
756 * emulparams/or32elf.sh: Likewise.
757 * emulparams/pjelf.sh: Likewise.
758 * emulparams/msp430all.sh: Likewise. Extract common entries.
759 * emulparams/pjlelf.sh: Include pjelf.sh.
760 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
761 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
762 * emultempl/elf-generic.em: New file.
763 * emultempl/genelf.em: New file.
764 * emultempl/elf32.em: Include elf-generic.em.
765 (gld${EMULATION_NAME}_layout_sections_again): Delete.
766 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
767 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
768 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
769 gld${EMULATION_NAME}_map_segments.
770 (LDEMUL_FINISH): Update.
771 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
772 source elf-generic.em.
773 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
774 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
775 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
776 gld${EMULATION_NAME}_map_segments.
777 (LDEMUL_FINISH): Update.
779 2006-06-19 Alan Modra <amodra@bigpond.net.au>
781 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
783 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
785 * ld.texinfo: Document new -z lazy option.
786 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
788 (gld${EMULATION_NAME}_list_options): Update help text.
790 2006-06-12 Fred Fish <fnf@specifix.com>
792 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
793 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
794 generated by mips gcc.
796 2006-06-12 Thiemo Seufer <ths@mips.com>
798 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
801 2006-06-09 Alan Modra <amodra@bigpond.net.au>
803 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
804 * ldlang.c (struct out_section_hash_entry): Rename from
805 output_statement_hash_entry. Delete output_section_statement_type
806 entry. Add statement_union_type entry. Adjust all users.
807 (output_section_statement_table): Rename from output_statement_table.
809 (output_section_statement_newfunc): Rename from
810 output_statement_newfunc. Adjust all users.
811 (output_section_statement_table_init): Rename from
812 output_statement_table_init. Adjust all users.
813 (output_section_statement_table_free): Rename from
814 output_statement_table_free. Adjust all users.
816 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
818 * po/Make-in (pdf, ps): New dummy targets.
820 2006-06-07 Alan Modra <amodra@bigpond.net.au>
822 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
823 info_section and overlay_section. Add noalloc_section.
824 * ldlang.c (lang_add_section): Adjust.
825 * ldgram.y (type): Adjust.
827 2006-06-06 Alan Modra <amodra@bigpond.net.au>
829 * ldlang.c (init_os): Whitespace.
830 (map_input_to_output_sections): Don't init_os for lang_input_section.
831 (print_all_symbols): Remove forward declaration. Convert to ISO C.
833 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
835 * po/Make-in (top_builddir): Define.
837 2006-06-05 Alan Modra <amodra@bigpond.net.au>
839 * ldexp.c (exp_get_abs_int): Make error message the same as
840 others emitted in this file.
842 2006-06-05 Alan Modra <amodra@bigpond.net.au>
844 * config.in: Regenerate.
846 2006-06-05 Alan Modra <amodra@bigpond.net.au>
848 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
850 2006-06-03 Alan Modra <amodra@bigpond.net.au>
852 * emultempl/elf32.em (global_found): Make it a pointer.
853 (stat_needed, try_needed): Adjust.
854 (check_needed): Don't skip non-loaded as-needed entries. Only
855 consider entries with both filename and the_bfd non-null.
856 (after_open): Try loading non-loaded as-needed libs to satisfy
859 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
861 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
862 * Makefile.in: Regenerate.
864 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
866 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
867 and LIBINTL_DEP everywhere.
869 (INCLUDES): Use @INCINTL@.
870 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
871 Remove local code for po/Makefile.
872 * Makefile.in, configure: Regenerated.
874 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
876 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
877 "CONSTANT (MAXPAGESIZE)".
878 * emulparams/armelf_nbsd.sh: Likewise.
879 * emulparams/armelf_vxworks.sh: Likewise.
880 * emulparams/armnto.sh: Likewise.
881 * emulparams/armsymbian.sh: Likewise.
882 * emulparams/crislinux.sh: Likewise.
883 * emulparams/elf32_i860.sh: Likewise.
884 * emulparams/elf32_i960.sh: Likewise.
885 * emulparams/elf32am33lin.sh: Likewise.
886 * emulparams/elf32bfinfd.sh: Likewise.
887 * emulparams/elf32bmipn32-defs.sh: Likewise.
888 * emulparams/elf32frvfd.sh: Likewise.
889 * emulparams/elf32i370.sh: Likewise.
890 * emulparams/elf32lppcnto.sh: Likewise.
891 * emulparams/elf32mcore.sh: Likewise.
892 * emulparams/elf32openrisc.sh: Likewise.
893 * emulparams/elf32ppcnto.sh: Likewise.
894 * emulparams/elf32ppcwindiss.sh: Likewise.
895 * emulparams/elf32vax.sh: Likewise.
896 * emulparams/elf32xc16x.sh: Likewise.
897 * emulparams/elf32xc16xl.sh: Likewise.
898 * emulparams/elf32xc16xs.sh: Likewise.
899 * emulparams/elf64_aix.sh: Likewise.
900 * emulparams/elf64hppa.sh: Likewise.
901 * emulparams/elf64mmix.sh: Likewise.
902 * emulparams/elf_i386_be.sh: Likewise.
903 * emulparams/elf_i386_chaos.sh: Likewise.
904 * emulparams/elf_i386_ldso.sh: Likewise.
905 * emulparams/hppa64linux.sh: Likewise.
906 * emulparams/hppalinux.sh: Likewise.
907 * emulparams/hppaobsd.sh: Likewise.
908 * emulparams/i386lynx.sh: Likewise.
909 * emulparams/i386moss.sh: Likewise.
910 * emulparams/i386nto.sh: Likewise.
911 * emulparams/i386nw.sh: Likewise.
912 * emulparams/m32relf_linux.sh: Likewise.
913 * emulparams/m68kpsos.sh: Likewise.
914 * emulparams/or32elf.sh: Likewise.
915 * emulparams/pjelf.sh: Likewise.
916 * emulparams/pjlelf.sh: Likewise.
917 * emulparams/ppclynx.sh: Likewise.
918 * emulparams/ppcnw.sh: Likewise.
919 * emulparams/shelf32_nbsd.sh : Likewise.
920 * emulparams/shelf_nbsd.sh: Likewise.
921 * emulparams/shelf_nto.sh: Likewise.
922 * emulparams/shlelf_nto.sh: Likewise.
923 * emulparams/xtensa-config.sh: Likewise.
925 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
926 "CONSTANT (MAXPAGESIZE)".
927 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
928 * emulparams/elf32_sparc.sh: Likewise.
929 * emulparams/elf32bmip.sh: Likewise.
930 * emulparams/elf32ppccommon.sh: Likewise.
931 * emulparams/elf64_ia64.sh: Likewise.
932 * emulparams/elf64_s390.sh: Likewise.
933 * emulparams/elf64_sparc.sh: Likewise.
934 * emulparams/elf64alpha.sh: Likewise.
935 * emulparams/elf64ppc.sh: Likewise.
936 * emulparams/elf_i386.sh: Likewise.
937 * emulparams/elf_i386_vxworks.sh: Likewise.
938 * emulparams/elf_s390.sh: Likewise.
939 * emulparams/elf_x86_64.sh: Likewise.
940 * emulparams/shlelf32_linux.sh: Likewise.
941 * emulparams/shlelf_linux.sh: Likewise.
943 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
944 "CONSTANT (COMMONPAGESIZE)".
945 * emulparams/elf32btsmipn32.sh: Likewise.
947 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
948 "-z max-page-size=" and "-z common-page-size=".
949 (gld${EMULATION_NAME}_list_options): Likewise.
951 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
953 * ld.texinfo: Document "-z max-page-size=" and
954 "-z common-page-size=".
956 * ldexp.c (exp_print_token): Handle CONSTANT.
957 (fold_name): Likewise.
958 * ldgram.y: Likewise.
961 * ldmain.c (main): Initiliaze config.maxpagesize and
962 config.commonpagesize. Call bfd_emul_set_maxpagesize if
963 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
964 config.commonpagesize config.maxpagesize isn't 0.
966 2006-05-30 Nick Clifton <nickc@redhat.com>
968 * po/es.po: Updated Spanish translation.
970 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
972 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
974 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
977 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
978 bfd. Support 64bit host for --enable-targets=all.
979 * configure: Regenerated.
981 2006-05-24 Nick Clifton <nickc@redhat.com>
983 * po/vi.po: Updated Vietnamese translation.
985 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
987 * configure.tgt: Add avr6 to emulation list.
988 * Makefile.am: Add eavr6.o and corresponding rule.
989 * Makefile.in: Regenerate.
990 * emulparams/avr6.sh: New file.
991 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
992 for target option support.
993 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
994 * scripttempl/avr.sc: Add ".trampolines" section.
995 * emultempl/avrelf.em: Add new file for target specific options.
997 2006-05-22 Nick Clifton <nickc@redhat.com>
999 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
1001 2006-05-19 Alan Modra <amodra@bigpond.net.au>
1003 * ldlang.c (lang_size_sections_1): Don't check mem regions for
1004 os->ignored sections.
1006 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1008 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
1009 before redoing one_lang_size_sections_pass.
1011 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
1013 * ld.texinfo: Rename "Index" to "LD Index"
1015 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
1017 * pe-dll.c (autofilter_symbollist): Add Dllmain,
1018 DllMainCRTStartup, _DllMainCRTStartup and .text.
1019 (autofilter_liblist): Add libcegcc.
1020 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
1021 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
1022 they can still contain relocs that need processing.
1023 Skip the .idata$6 section.
1024 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
1025 (make_one): Use the new array.
1026 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
1027 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
1029 2006-05-05 Alan Modra <amodra@bigpond.net.au>
1031 * ld.texinfo: Document PowerPC and PowerPC64 options.
1032 * gen-doc.texi: Enable.
1034 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1036 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
1037 (TEXI2POD): Use AM_MAKEINFOFLAGS.
1038 (configdoc.texi): Don't set top_srcdir.
1039 * ld.texinfo: Don't use top_srcdir.
1040 * aclocal.m4, Makefile.in: Regenerated.
1042 2006-04-19 Alan Modra <amodra@bigpond.net.au>
1044 * ldlang.c (wild): Tidy default_common_section loop.
1045 (print_input_section): Format.
1047 * configure: Regenerate.
1049 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1051 * po/POTFILES.in: Regenerated.
1053 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1055 * config.in: Regenerated.
1057 2006-04-14 David Heine <dlheine@tensilica.com>
1058 Bob Wilson <bob.wilson@acm.org>
1060 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
1061 function to strip inconsistent linkonce sections.
1062 (input_section_linked_worker, input_section_linked): New.
1063 (is_inconsistent_linkonce_section): New.
1064 (xtensa_strip_inconsistent_linkonce_sections): New.
1066 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
1068 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
1069 and Dragonfly targets.
1070 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
1071 * Makefile.am (HFILES): Add elf-hints-local.h.
1072 * elf-hints-local.h: New file.
1073 * Makefile.in: Regenerate.
1074 * configure: Regenerate.
1076 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
1078 * ld.texinfo: Fix typo in documentation of --check-sections.
1080 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1082 * ldlang.c (load_symbols): Set as_needed and add_needed according
1083 to the corresponding script's fields while processing it.
1085 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
1087 * Makefile.am: Add install-html, install-html-am, and
1088 install-html-recursive targets.
1089 * Makefile.in: Regenerate.
1090 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
1091 * configure: Regenerate.
1092 * po/Make-in: Add install-html target.
1094 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
1096 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
1097 link_info.need_relax_finalize.
1099 * ldlang.c (relax_sections): New.
1100 (lang_process): Use. Call relax_sections link_info.relax_pass
1103 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
1104 link_info.need_relax_finalize.
1106 2006-04-05 Alan Modra <amodra@bigpond.net.au>
1108 * Makefile.am (GENSCRIPTS): Pass prefix.
1109 * Makefile.in: Regenerate.
1110 * genscripts.sh: Adjust for extra parameter.
1111 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
1113 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
1116 2006-04-05 Richard Sandiford <richard@codesourcery.com>
1117 Daniel Jacobowitz <dan@codesourcery.com>
1119 * configure.tgt (sparc*-*-vxworks*): New stanza.
1120 * emulparams/elf32_sparc_vxworks.sh: New file.
1121 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
1122 (eelf32_sparc_vxworks.c): New rule.
1123 * Makefile.in: Regenerate.
1125 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
1127 * ldlang.c (lang_map): Print the list of discarded input sections.
1128 (print_input_section): Change parameter and print zero-sized sections.
1129 (print_statement): Adjust call to print_input_section.
1131 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1133 * deffilep.y (def_image_name): If LIBRARY or NAME statement
1134 specifies an empty string, retain the name specified on command
1136 * ld.texinfo: Document above.
1138 2006-03-31 Jakub Jelinek <jakub@redhat.com>
1140 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
1141 bfd_find_nearest_line succeeded for %C or %D, but filename
1142 is NULL, print section+offset at the end.
1144 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
1146 * emulparams/elf32bfinfd.sh: New file.
1147 * emultempl/bfin.em: Delete.
1148 * emulparams/bfin.sh: Lose reference to bfin.em.
1149 * Makefile.am (eelf32bfin.c): Likewise.
1150 (eelf32bfinfd.c): New.
1151 * Makefile.in: Regenerate.
1152 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
1155 2006-03-22 Richard Sandiford <richard@codesourcery.com>
1156 Daniel Jacobowitz <dan@codesourcery.com>
1157 Phil Edwards <phil@codesourcery.com>
1158 Zack Weinberg <zack@codesourcery.com>
1159 Mark Mitchell <mark@codesourcery.com>
1160 Nathan Sidwell <nathan@codesourcery.com>
1162 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
1163 separate VxWorks emulations.
1164 * emulparams/elf32ebmipvxworks.sh: New file.
1165 * emulparams/elf32elmipvxworks.sh: New file.
1166 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
1167 eelf32elmipvxworks.o.
1168 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
1169 * Makefile.in: Regenerate.
1171 2006-03-16 Alan Modra <amodra@bigpond.net.au>
1174 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
1175 * ldlang.c (output_statement_table_init, lang_init): Likewise.
1176 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
1177 (undefined_symbol): Likewise.
1179 2006-03-07 Richard Sandiford <richard@codesourcery.com>
1180 Daniel Jacobowitz <dan@codesourcery.com>
1181 Zack Weinberg <zack@codesourcery.com>
1182 Nathan Sidwell <nathan@codesourcery.com>
1183 Paul Brook <paul@codesourcery.com>
1184 Ricardo Anguiano <anguiano@codesourcery.com>
1185 Phil Edwards <phil@codesourcery.com>
1187 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
1188 (MAXPAGESIZE): Define.
1189 * emulparams/vxworks.sh: Undefine EMBEDDED.
1190 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
1191 * Makefile.in: Regenerate.
1193 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
1195 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
1196 Add KEEP() directives.
1197 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
1198 .bss output sections.
1200 2006-03-03 Richard Sandiford <richard@codesourcery.com>
1202 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
1203 (EXTRA_EM_FILE): Define.
1204 * emultempl/vxworks.em: New file.
1205 * ld.texinfo (--force-dynamic): Document.
1206 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
1208 * Makefile.in: Regenerate.
1210 2006-03-02 Richard Sandiford <richard@codesourcery.com>
1212 * emulparams/elf32ppccommon.sh: New file, extracted from...
1213 * emulparams/elf32ppc.sh: ...here.
1214 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
1215 instead of elf32ppc.sh.
1216 (BSS_PLT): Remove override.
1217 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
1218 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
1219 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
1220 (eelf32ppclinux.c): Likewise.
1221 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
1222 * Makefile.in: Regenerate.
1224 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
1226 * Makefile.am: Add html target.
1227 * Makefile.in: Regenerate.
1228 * po/Make-in: Add html target.
1230 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
1231 Anil Paranjape <anilp1@kpitcummins.com>
1232 Shilin Shakti <shilins@kpitcummins.com>
1234 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
1235 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
1236 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
1237 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
1238 * emulparams/elf32xc16xl.sh: Emulation script for large model.
1239 * emulparams/elf32xc16xs.sh: Emulation script for small model.
1240 * Makefile.am: Add entry to make xc16x target.
1241 * Makefile.in: Regenerate.
1242 * configure.tgt: Specify default and other emulation parameters
1244 * NEWS: Announce the support for the new target.
1246 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
1248 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1249 Use the traditional target.
1251 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
1253 * configure.tgt (arm*b-*-linux-gnueabi): Change to
1254 arm*b-*-linux-*eabi.
1255 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
1257 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
1260 * NEWS: Updated for the Linux linker search order change.
1262 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1263 gld${EMULATION_NAME}_check_ld_so_conf before checking default
1264 search directories for DT_NEEDED entries.
1266 2006-02-07 Paul Brook <paul@codesourcery.com>
1268 * emultempl/armelf.em: Include elf/arm.h.
1269 (arm_elf_finish): Set low address bit if enty point is a Thumb
1272 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1274 * deffilep.y (def_image_name): If the image name does not have
1275 a suffix, append the default.
1276 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
1278 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
1280 * NEWS: Mention support for forward exports in PE-COFF dll's.
1281 * ld.texinfo: Expand documentation of EXPORT statements in
1284 2006-01-31 Filip Navara <navaraf@reactos.com>
1286 * deffile.h (struct def_file_export): Add field flag_forward.
1287 * pe-dll.c (process_def_file): Check for forward exports.
1288 (generate_edata): Generate forward export symbols.
1289 (fill_edata): Emit them.
1291 * pe-dll.c (process_def_file): Don't crash on malformed
1292 fastcall symbol names in .def file.
1294 2006-01-30 Nick Clifton <nickc@redhat.com>
1296 * po/vi.po: Updated Vietnamese translation.
1298 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
1300 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1301 file:" as informational message, not a warning.
1303 2006-01-18 Roger Sayle <roger@eyesopen.com>
1305 * emultempl/irix.em: Use lbasename instead of basename.
1307 2006-01-16 Nick Clifton <nickc@redhat.com>
1309 * po/zh_CN.po: New Chinese (simplified) translation.
1310 * configure.in (ALL_LINGUAS): Add "zh_CH".
1311 * configure: Regenerate.
1313 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
1315 * ld.texinfo (Options): Fix typo.
1317 For older changes see ChangeLog-2005
1323 version-control: never