1 2006-12-12 Ina Pandit <inap@kpitcummins.com>
3 * ldlang.c (print_output_section_statement): Print load address
4 when lma differs from vma.
6 2006-12-11 Daniel Jacobowitz <dan@codesourcery.com>
8 * configure.in: Define GENINSRC_NEVER.
9 * doc/Makefile.am (ld.info): Remove srcdir prefix.
10 (MAINTAINERCLEANFILES): Add info file.
11 (DISTCLEANFILES): Pretend to add info file.
12 * po/Make-in (.po.gmo): Put gmo files in objdir.
13 * configure, Makefile.in: Regenerated.
15 2006-12-04 Jan Beulich <jbeulich@novell.com>
17 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
18 .eh_frame_hdr section here.
20 2006-11-27 Ian Lance Taylor <ian@airs.com>
22 * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
24 * Makefile.in: Regenerate.
26 2006-11-27 Bob Wilson <bob.wilson@acm.org>
28 * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
29 (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
30 Delete redundant code to set sections flags and alignment.
31 (xt_config_info_unpack_and_check, check_xtensa_info): New.
32 (elf_xtensa_after_open): Iterate over input statements instead of
34 (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
35 each input, and write a new .xtensa.info section in the output.
37 2006-11-22 Nick Clifton <nickc@redhat.com>
39 * configure.in (LINGUAS): Add ga.
40 * po/ga.po: New Irish translation.
42 2006-11-20 H.J. Lu <hongjiu.lu@intel.com>
44 * ld.texinfo: Fix a typo.
46 2006-11-20 Alan Modra <amodra@bigpond.net.au>
48 * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
50 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
52 * emultempl/armelf.em (arm_elf_before_allocation): Only call
53 bfd_elf32_arm_process_before_allocation if no dynamic sections.
55 2006-11-08 Alan Modra <amodra@bigpond.net.au>
57 * emultempl/elf32.em (gld*_before_allocation): Adjust output section
58 size for warning sections.
60 2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
62 * emultempl/elf32.em (gld*_before_allocation): Don't prepend
63 "warning" to the message.
65 2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
67 * pe-dll.c (autofilter_entry_type): Change name to const.
68 (pe_details_type) : Change target_name, object_target and
69 autofilter_symbollist to const.
70 (autofilter_symbollist_generic): Change to const.
71 (autofilter_symbollist_i386, pe_detail_list, pe_details,
72 autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
73 autofilter_symbolsuffixlist): Likewise.
74 (is_import): Fix indentation.
75 (auto_export): Change afptr to const. Move name declaration to
77 (make_tail): Clear undefined byte.
78 (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
80 (make_one): Change jmp_bytes to const. Make idata$6 member size
81 arithmetic explicit and add comment.
83 2006-10-30 H.J. Lu <hongjiu.lu@intel.com>
86 * ld.h (args_type): Remove reduce_memory_overheads.
88 * ldlang.c (lang_map): Updated.
89 (section_already_linked): Likewise.
90 (print_input_section): Likewise.
91 * ldmain.c (main): Likewise.
92 * lexsup.c (parse_args): Likewise.
94 2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
96 * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
98 2006-10-27 Alan Modra <amodra@bigpond.net.au>
100 * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
101 sections have been discarded.
102 (lang_do_version_exports_section): Set SEC_KEEP on export section.
103 * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
106 2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
107 Mark Mitchell <mark@codesourcery.com>
109 * configure.tgt (arm*linux*): Support both big- and little-endian.
111 2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
113 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
114 (OTHER_BSS_SECTIONS): This.
115 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
116 (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
118 2006-10-25 Alan Modra <amodra@bigpond.net.au>
119 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
120 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
121 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
122 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
124 * emulparams/elf32_spu.sh: New file.
125 * emultempl/spu_inc.s: New file.
126 * emultempl/spu_ovl.S: New file.
127 * emultempl/spu_ovl.o: New file.
128 * emultempl/spuelf.em: New file.
129 * Makefile.am: Add SPU support.
130 * configure.tgt: Likewise.
131 * ldlang.c (load_symbols): Make global.
132 * ldlang.h (load_symbols): Declare.
133 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
134 * Makefile.in: Regenerate.
136 2006-10-24 Ben Elliston <bje@au.ibm.com>
138 * lexsup.c (parse_args): Add a comment noting a fall-through.
140 2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
142 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
143 * configure: Regenerated.
144 * config.in: Likewise.
146 2006-10-23 Alan Modra <amodra@bigpond.net.au>
148 * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
149 set section address on a relocatable link.
151 * ld.texinfo (Output Section Discarding): Fix xref.
153 2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
155 * emulparams/shelf32.sh: Set default stack to 0x80000.
156 * emulparams/shelf64.sh: Likewise.
158 2006-10-20 Richard Sandiford <richard@codesourcery.com>
160 * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
161 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
163 2006-10-19 Alan Modra <amodra@bigpond.net.au>
165 * emultempl/armelf.em (arm_elf_before_allocation): Run
166 gld${EMULATION_NAME}_before_allocation later.
167 * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
169 2006-10-18 Roy Marples <uberlord@gentoo.org>
171 * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
174 2006-10-18 Joseph Myers <joseph@codesourcery.com>
176 * configure.tgt (i[3-7]86-*-linux-*): Also define
177 targ_extra_libpath in want64 case.
178 * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
181 2006-10-17 Alan Modra <amodra@bigpond.net.au>
183 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
184 (INITIAL_READONLY_SECTIONS): ..here.
185 * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
186 * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
187 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
189 2006-10-17 Alan Modra <amodra@bigpond.net.au>
191 * ldlang.c (strip_excluded_output_sections): Do strip sections
192 that define syms, but don't ignore them.
193 * ld.texinfo (Output Section Discarding): Revise.
194 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
197 2006-10-16 Richard Sandiford <richard@codesourcery.com>
199 * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
200 (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
201 * Makefile.in: Regenerate.
202 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
203 .reginfo rather than .MIPS.options.
204 * emulparams/elf64bmip-defs.sh: New file.
205 * emulparams/elf64bmip.sh: Include it.
206 (COMMONPAGESIZE): Delete.
207 * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
209 2006-10-12 Bob Wilson <bob.wilson@acm.org>
211 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
212 for linkonce XCC exception tables (".e" and ".h").
214 2006-10-11 Bob Wilson <bob.wilson@acm.org>
216 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
217 (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
218 (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
219 (OTHER_SDATA_SECTIONS): New.
220 * scripttempl/elfxtensa.sc: Import changes from elf.sc.
222 2006-10-11 Jakub Jelinek <jakub@redhat.com>
224 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
225 of the dynamic list rather than just the first entry.
227 2006-10-10 Bob Wilson <bob.wilson@acm.org>
229 * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
231 2006-10-06 Mike Frysinger <vapier@gentoo.org>
233 * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
235 2006-10-04 Bob Wilson <bob.wilson@acm.org>
237 * emulparams/xtensa-config.sh: Delete file.
238 * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
240 * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
241 * Makefile.in: Regenerate.
243 2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
245 * pe-dll.c : Fix typo.
246 (autofilter_symbolprefixlist) : Remove __imp_.
248 (auto-export) : Remove re-import check. Moved to callers.
249 (process_def_file) : Check is symbol is an import. Always
251 Only skip underscore on underscored targets.
252 (make_one) : Always underscore __imp_.
253 (pe_create_runtime_relocator_reference) : Only underscore
254 _pei386_runtime_relocator on underscored targets.
255 (pe_process_import_defs) : Always underscore __imp_.
256 * pe.em (U) : New macro.
257 (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
258 on wince subsystem case.
259 (pe_find_data_imports) : Use U on "_head_".
260 (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
262 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
266 * ld.texinfo: Updated Output Section Discarding.
268 * ldlang.h (lang_output_section_statement_type): Add
269 section_relative_symbol.
270 * ldlang.c (strip_excluded_output_sections): Don't strip a
271 section with a symbol relative to it.
272 (lang_size_sections_1): Mark if an output section has a symbol
273 symbol relative to it.
275 2006-09-25 Bob Wilson <bob.wilson@acm.org>
277 * ld.texinfo (Options): Update description of local symbols for -X.
279 2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
282 * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
283 and .gnu.linkonce.wi.* sections with .data and .debug_info for
286 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
288 * configure.in: Add new target x86_64-pc-mingw64.
289 * configure: Regenerate.
290 * configure.tgt: Add definition of target emulation i386pep.
291 * Makefile.am: Add new target files for target-all.
292 * Makefile.in: Regenerate.
293 * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
294 Fix memory out of bounds excess for idata relocation section data.
295 * pep-dll.c: Add target specific shared object handling.
296 * pep-dll.h: Add target specific definitions for shared object handling.
297 * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
298 * emultempl/pep.em: Add new emulation file for target x86_64 coff.
299 * po/POTFILES.in: Regenerate.
300 * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
301 * NEWS: Mention new target.
303 2006-09-18 Thiemo Seufer <ths@networkno.de>
305 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
308 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
310 * emulparams/scoreelf.sh: New file.
311 * emultempl/scoreelf.em: New file.
312 * Makefile.am: Add Score files.
313 * Makefile.in: Regenerate.
314 * configure.tgt: Add Score target.
315 * NEWS: Mention new target support.
317 2006-09-16 Nick Clifton <nickc@redhat.com>
318 Pedro Alves <pedro_alves@portugalmail.pt>
320 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
321 macros defined in bfd.h.
322 * ldmain.c: Likewise.
323 * ldwrite.c: Likewise.
324 * lexsup.c: Likewise.
325 * pe-dll.c: Likewise.
326 * emultempl/aix.em: Likewise.
327 * emultempl/beos.em: Likewise.
328 * emultempl/elf32.em: Likewise.
329 * emultempl/pe.em: Likewise.
330 * emultempl/sunos.em: Likewise.
331 * emultempl/xtensaelf.em: Likewise.
333 2006-09-15 Nick Clifton <nickc@redhat.com>
336 * ldlang.c (lang_size_sections_1): Do not abort when encountering
337 a non-empty section that is ignored. Instead produce a warning
340 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
342 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
344 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
346 * Makefile.am (CXX): Set to g++.
347 (CXX_FOR_TARGET): Likewise.
348 * Makefile.in: Regenerated.
350 * NEWS: Mention --dynamic-list.
352 * ld.texinfo: Document --dynamic-list.
354 * ldgram.y: Support dynamic list.
356 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
357 on link_info.dynamic if needed.
358 (lang_append_dynamic_list): New.
359 (lang_append_dynamic_list_cpp_typeinfo): New.
360 * ldlang.h (lang_append_dynamic_list): Likewise.
361 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
363 * ldlex.h (input_enum): Add input_dynamic_list.
364 * ldlex.l: Handle it.
366 * ldmain.c (main): Initialize link_info.dynamic.
368 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
369 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
370 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
371 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
372 (parse_args): Handle OPTION_DYNAMIC_LIST and
373 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
375 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
377 * emulparams/h8300elf.sh: _tinydata should not be placed in
379 * emulparams/h8300.sh: Likewise.
380 * emulparams/h8300sxelf.sh: Likewise.
382 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
385 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
388 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
390 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
392 2006-08-28 Alan Modra <amodra@bigpond.net.au>
394 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
395 not match random object files in a path containing "crtbegin" or
396 "crtend" as part of a directory name.
397 * scripttempl/armbpabi.sc: Likewise.
398 * scripttempl/crisaout.sc: Likewise.
399 * scripttempl/elf32crx.sc: Likewise.
400 * scripttempl/elf32sh-symbian.sc: Likewise.
401 * scripttempl/elf_chaos.sc: Likewise.
402 * scripttempl/elfd10v.sc: Likewise.
403 * scripttempl/elfd30v.sc: Likewise.
404 * scripttempl/elfxtensa.sc: Likewise.
405 * scripttempl/iq2000.sc: Likewise.
406 * scripttempl/mmo.sc: Likewise.
407 * scripttempl/xstormy16.sc: Likewise.
409 2006-08-24 Bob Wilson <bob.wilson@acm.org>
411 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
412 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
414 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
416 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
417 Adjust the current address of DEFAULT_MEMORY_REGION even
418 when dot hasn't changed.
420 2006-08-23 Alan Modra <amodra@bigpond.net.au>
422 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
423 rather than a section relative value.
425 2006-08-22 Alan Modra <amodra@bigpond.net.au>
427 * NEWS: Mention LMA default change.
428 * ld.texinfo (Output Section LMA): Update default description.
429 (Location Counter): Clarify backward movement.
430 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
431 default lma equal to vma. Warn on backward movement of dot.
433 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
435 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
438 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
440 * Makefile.am: Split arm-wince into its own emulation.
441 * Makefile.in: Regenerate.
442 * pe-dll.c : Define PE_ARCH_arm_wince.
443 (pe_detail_list): Add PE_ARCH_arm_wince case.
444 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
445 * emulparams/arm_wince_pe.sh: New file.
446 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
447 Remap bfd_arm_allocate_interworking_sections,
448 bfd_arm_get_bfd_for_interworking and
449 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
451 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
452 arm-epoc bfd format names.
454 2006-08-18 Paul Brook <paul@codesourcery.com>
456 * emultempl/armelf.em (arm_elf_before_allocation): Call
457 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
459 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
461 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
462 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
463 and to not skipping .idata* sections.
465 2006-08-16 Alan Modra <amodra@bigpond.net.au>
468 * ldlang.h (lang_output_section_statement_type): Replace
469 "processed" field with "processed_vma" and "processed_lma".
470 * ldlang.c (lang_do_assignments_1): Move lma setting code..
471 (lang_size_sections_1): ..to here.
472 (lang_reset_memory_regions): Adjust for
473 lang_output_section_statement_type change.
474 * ldexp.c (fold_name): Likewise.
476 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
478 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
479 "CONSTANT (MAXPAGESIZE)".
481 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
484 * ldlang.c (lang_section_bst_type): Moved to ...
487 * ldlang.h (lang_wild_statement_struct): Add a tree field.
489 * ldlang.c (wild_sort_fast): Use the tree field for BST.
491 (analyze_walk_wild_section_handler): Initialize the tree field.
493 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
496 * ldlang.c (update_wild_statements): Update the whole wild
499 2006-08-04 Nick Clifton <nickc@redhat.com>
500 Mike Frysinger <michael.frysinger@analog.com>
502 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
503 (__preinit_array_start, __preinit_array_end, __init_array_start,
504 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
505 Use ${USER_LABEL_PREFIX}.
506 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
507 (USER_LABEL_PREFIX): Set.
509 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
511 * ldmain.c (main): Initialise print_gc_sections field of link_info
513 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
515 * ld.texinfo: Document new switches.
516 * NEWS: Mention new switches.
518 2006-08-04 Richard Sandiford <richard@codesourcery.com>
519 Kazu Hirata <kazu@codesourcery.com>
520 Phil Edwards <phil@codesourcery.com>
522 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
524 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
525 * Makefile.in: Regenerate.
526 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
528 * emulparams/shelf_vxworks.sh: New file.
529 * emulparams/shlelf_vxworks.sh: Likewise.
530 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
531 (OTHER_END_SYMBOLS): Likewise _ehdr.
532 (DATA_END_SYMBOLS): Likewise _edata.
533 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
534 is indeed an ELF file before dealing with --force-dynamic.
536 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
539 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
540 elf64-x86-64-freebsd.
542 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
544 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
545 bfd_make_section_with_flags.
546 (exp_init_os): Updated.
547 (lang_add_section): Call init_os with flags.
548 (map_input_to_output_sections): Likewise.
550 2006-07-29 Richard Sandiford <richard@codesourcery.com>
552 * Makefile.am (eelf32b4300.c): Update dependencies.
553 (eelf32bmip.c): Likewise.
554 (eelf32bsmip.c): Likewise.
555 (eelf32btsmip.c): Likewise.
556 (eelf32btsmipn32.c): Likewise.
557 (eelf32ltsmip.c): Likewise.
558 (eelf32ltsmipn32.c): Likewise.
559 (eelf32ebmip.c): Likewise.
560 (eelf32ebmipvxworks.c): Likewise.
561 (eelf32elmip.c): Likewise.
562 (eelf32elmipvxworks.c): Likewise.
563 (eelf32bmipn32.c): Likewise.
564 (eelf32lmip.c): Likewise.
565 (eelf32mipswindiss.c): Likewise.
566 (eelf32lsmip.c): Likewise.
567 (eelf64bmip.c): Likewise.
568 (eelf64btsmip.c): Likewise.
569 (eelf64ltsmip.c): Likewise.
570 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
571 (emipsbsd.c): Likewise.
572 (emipsidt.c): Update dependencies.
573 (emipsidtl.c): Likewise.
574 (emipslit.c): Likewise.
575 (emipslnews.c): Likewise.
576 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
577 * Makefile.in: Regenerate.
578 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
579 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
580 * emultempl/irix.em: Include emultempl/mipself.em.
581 * emultempl/mipself.em: New file.
583 2006-07-26 Alan Modra <amodra@bigpond.net.au>
585 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
586 layout happens before segment map. Don't do segment map on
589 2006-07-26 Alan Modra <amodra@bigpond.net.au>
591 * ldexp.c (fold_name <LOADADDR>): Use the lma.
592 * ldlang.h (lang_memory_region_type): Delete old_length. Add
594 * ldlang.c (lang_memory_region_lookup): Init new field.
595 (lang_reset_memory_regions): Reset new field.
596 (lang_insert_orphan): Don't set load_base.
597 (lang_leave_overlay): Likewise.
598 (lang_size_sections_1): Delete unnecessary code setting lma_region
599 to region. Correct lma region check.
600 (lang_do_assignments_1): Rename output_section_statement parm
601 to current_os. Set lma from previous section in region.
603 * ldlang.c: Formatting.
605 2006-07-25 Bob Wilson <bob.wilson@acm.org>
607 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
608 Set discarded section's output_section to bfd_abs_section_ptr.
610 2006-07-26 Alan Modra <amodra@bigpond.net.au>
612 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
615 2006-07-24 Bob Wilson <bob.wilson@acm.org>
617 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
618 in dep_sec_name for null terminator. Make sure dep_sec_name has a
621 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
623 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
624 Set for *-*-solaris2*.
626 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
628 * ld.texinfo: Fix spelling mistakes.
629 * ldint.texinfo: Likewise.
631 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
633 * ldlang.c (lang_section_bst): New structure for sorting sections
635 (wild_sort_fast): New function: Insert a section into a binary
637 (output_section_callback_fast): New function: Store a section in
639 (output_section_callback_tree_to_list): New function: Convert a
641 (analyze_walk_wild_section_handler): Initialize handler_data
643 (wild): If the data is sorted by name use the BST method to sort
646 2006-07-19 Alan Modra <amodra@bigpond.net.au>
648 * ld.h (handle_asneeded_cref): Declare.
649 * ldcref.c: Include objalloc.h.
650 (old_table, old_count, old_tab, alloc_mark): New variables.
651 (tabsize, entsize, refsize, old_symcount): Likewise.
652 (add_cref): Use bfd_hash_allocate for refs.
653 (handle_asneeded_cref): New function.
654 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
656 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
658 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
659 typo setting targ_extra_libpath.
661 2006-07-10 Jakub Jelinek <jakub@redhat.com>
663 * scripttempl/elf.sc: Add .gnu.hash section.
664 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
665 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
666 (gld${EMULATION_NAME}_handle_option): Handle it.
667 (gld${EMULATION_NAME}_list_options): Document it.
668 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
669 * ld.texinfo: Document --hash-style option.
671 2006-07-10 Nick Clifton <nickc@redhat.com>
673 * po/zh_TW.po: New Chinese (traditional) translation.
674 * configure.in (ALL_LINGUAS): Add zh_TW.
675 * configure: Regenerate.
677 2006-07-07 Nick Clifton <nickc@redhat.com>
680 * ld.texinfo: Remove "Using LD" from the title since it is
683 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
686 * ld.texinfo: Fix spelling mistakes.
688 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
689 Nick Clifton <nickc@redhat.com>
691 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
692 length of format strings in the libname_fmt[] array, rather than
693 relying upon a statically chosen value. Adjust xmalloc call to
694 use this longest length.
696 2006-06-27 Nick Clifton <nickc@redhat.com>
698 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
701 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
703 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
706 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
708 * pe-dll.c (pe_details_type): Add new pointer for symbols list
710 (autofilter_symbollist): Split into autofilter_symbollist_generic
711 and autofilter_symbollist_i386.
712 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
713 autofilter_symbollist_generic for all the others.
714 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
715 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
716 into autofilter_symbollist_i386.
717 (auto_export): Get autofilter_symbollist from pe_details.
719 2006-06-22 Nick Clifton <nickc@redhat.com>
722 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
723 output files mention the file name and the fact that it is an
726 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
728 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
729 Restructure. Add native "%s.lib" format to search list
730 * ld.texinfo (node WIN32): Update documentation on dynamic lib
731 search order. Add another reason for using import libs.
733 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
735 * ldlang.c (lang_insert_orphan): Correctly handle the case where
736 the section is to end up after the section currently at the end
737 of the list in output_bfd.
739 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
741 * emultempl/mmo.em: Improve comments. Explain why there's
744 2006-06-21 Alan Modra <amodra@bigpond.net.au>
746 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
747 loop to ten iterations. Throw away any previous linker generated
749 * ldlang.c (lang_phdr_list): Make global.
750 * ldlang.h (lang_phdr_list): Declare.
751 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
752 * Makefile.in: Regenerate.
754 2006-06-20 Alan Modra <amodra@bigpond.net.au>
756 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
757 many ELF emul file deps that incorrectly said they needed elf32.em
758 instead of generic.em. Add genelf.em as required.
759 * Makefile.in: Regenerate.
760 * ldlang.c (lang_process): Call ldemul_finish before
761 lang_check_section_addresses.
762 * emulparams/arcelf.sh: Generic elf target needs genelf.
763 * emulparams/d30v_e.sh: Likewise.
764 * emulparams/d30v_o.sh: Likewise.
765 * emulparams/d30velf.sh: Likewise.
766 * emulparams/elf32_dlx.sh: Likewise.
767 * emulparams/elf32_i860.sh: Likewise.
768 * emulparams/elf32fr30.sh: Likewise.
769 * emulparams/elf32frv.sh: Likewise.
770 * emulparams/elf32iq10.sh: Likewise.
771 * emulparams/elf32iq2000.sh: Likewise.
772 * emulparams/elf32mt.sh: Likewise.
773 * emulparams/mn10200.sh: Likewise.
774 * emulparams/or32.sh: Likewise.
775 * emulparams/or32elf.sh: Likewise.
776 * emulparams/pjelf.sh: Likewise.
777 * emulparams/msp430all.sh: Likewise. Extract common entries.
778 * emulparams/pjlelf.sh: Include pjelf.sh.
779 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
780 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
781 * emultempl/elf-generic.em: New file.
782 * emultempl/genelf.em: New file.
783 * emultempl/elf32.em: Include elf-generic.em.
784 (gld${EMULATION_NAME}_layout_sections_again): Delete.
785 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
786 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
787 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
788 gld${EMULATION_NAME}_map_segments.
789 (LDEMUL_FINISH): Update.
790 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
791 source elf-generic.em.
792 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
793 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
794 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
795 gld${EMULATION_NAME}_map_segments.
796 (LDEMUL_FINISH): Update.
798 2006-06-19 Alan Modra <amodra@bigpond.net.au>
800 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
802 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
804 * ld.texinfo: Document new -z lazy option.
805 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
807 (gld${EMULATION_NAME}_list_options): Update help text.
809 2006-06-12 Fred Fish <fnf@specifix.com>
811 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
812 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
813 generated by mips gcc.
815 2006-06-12 Thiemo Seufer <ths@mips.com>
817 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
820 2006-06-09 Alan Modra <amodra@bigpond.net.au>
822 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
823 * ldlang.c (struct out_section_hash_entry): Rename from
824 output_statement_hash_entry. Delete output_section_statement_type
825 entry. Add statement_union_type entry. Adjust all users.
826 (output_section_statement_table): Rename from output_statement_table.
828 (output_section_statement_newfunc): Rename from
829 output_statement_newfunc. Adjust all users.
830 (output_section_statement_table_init): Rename from
831 output_statement_table_init. Adjust all users.
832 (output_section_statement_table_free): Rename from
833 output_statement_table_free. Adjust all users.
835 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
837 * po/Make-in (pdf, ps): New dummy targets.
839 2006-06-07 Alan Modra <amodra@bigpond.net.au>
841 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
842 info_section and overlay_section. Add noalloc_section.
843 * ldlang.c (lang_add_section): Adjust.
844 * ldgram.y (type): Adjust.
846 2006-06-06 Alan Modra <amodra@bigpond.net.au>
848 * ldlang.c (init_os): Whitespace.
849 (map_input_to_output_sections): Don't init_os for lang_input_section.
850 (print_all_symbols): Remove forward declaration. Convert to ISO C.
852 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
854 * po/Make-in (top_builddir): Define.
856 2006-06-05 Alan Modra <amodra@bigpond.net.au>
858 * ldexp.c (exp_get_abs_int): Make error message the same as
859 others emitted in this file.
861 2006-06-05 Alan Modra <amodra@bigpond.net.au>
863 * config.in: Regenerate.
865 2006-06-05 Alan Modra <amodra@bigpond.net.au>
867 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
869 2006-06-03 Alan Modra <amodra@bigpond.net.au>
871 * emultempl/elf32.em (global_found): Make it a pointer.
872 (stat_needed, try_needed): Adjust.
873 (check_needed): Don't skip non-loaded as-needed entries. Only
874 consider entries with both filename and the_bfd non-null.
875 (after_open): Try loading non-loaded as-needed libs to satisfy
878 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
880 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
881 * Makefile.in: Regenerate.
883 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
885 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
886 and LIBINTL_DEP everywhere.
888 (INCLUDES): Use @INCINTL@.
889 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
890 Remove local code for po/Makefile.
891 * Makefile.in, configure: Regenerated.
893 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
895 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
896 "CONSTANT (MAXPAGESIZE)".
897 * emulparams/armelf_nbsd.sh: Likewise.
898 * emulparams/armelf_vxworks.sh: Likewise.
899 * emulparams/armnto.sh: Likewise.
900 * emulparams/armsymbian.sh: Likewise.
901 * emulparams/crislinux.sh: Likewise.
902 * emulparams/elf32_i860.sh: Likewise.
903 * emulparams/elf32_i960.sh: Likewise.
904 * emulparams/elf32am33lin.sh: Likewise.
905 * emulparams/elf32bfinfd.sh: Likewise.
906 * emulparams/elf32bmipn32-defs.sh: Likewise.
907 * emulparams/elf32frvfd.sh: Likewise.
908 * emulparams/elf32i370.sh: Likewise.
909 * emulparams/elf32lppcnto.sh: Likewise.
910 * emulparams/elf32mcore.sh: Likewise.
911 * emulparams/elf32openrisc.sh: Likewise.
912 * emulparams/elf32ppcnto.sh: Likewise.
913 * emulparams/elf32ppcwindiss.sh: Likewise.
914 * emulparams/elf32vax.sh: Likewise.
915 * emulparams/elf32xc16x.sh: Likewise.
916 * emulparams/elf32xc16xl.sh: Likewise.
917 * emulparams/elf32xc16xs.sh: Likewise.
918 * emulparams/elf64_aix.sh: Likewise.
919 * emulparams/elf64hppa.sh: Likewise.
920 * emulparams/elf64mmix.sh: Likewise.
921 * emulparams/elf_i386_be.sh: Likewise.
922 * emulparams/elf_i386_chaos.sh: Likewise.
923 * emulparams/elf_i386_ldso.sh: Likewise.
924 * emulparams/hppa64linux.sh: Likewise.
925 * emulparams/hppalinux.sh: Likewise.
926 * emulparams/hppaobsd.sh: Likewise.
927 * emulparams/i386lynx.sh: Likewise.
928 * emulparams/i386moss.sh: Likewise.
929 * emulparams/i386nto.sh: Likewise.
930 * emulparams/i386nw.sh: Likewise.
931 * emulparams/m32relf_linux.sh: Likewise.
932 * emulparams/m68kpsos.sh: Likewise.
933 * emulparams/or32elf.sh: Likewise.
934 * emulparams/pjelf.sh: Likewise.
935 * emulparams/pjlelf.sh: Likewise.
936 * emulparams/ppclynx.sh: Likewise.
937 * emulparams/ppcnw.sh: Likewise.
938 * emulparams/shelf32_nbsd.sh : Likewise.
939 * emulparams/shelf_nbsd.sh: Likewise.
940 * emulparams/shelf_nto.sh: Likewise.
941 * emulparams/shlelf_nto.sh: Likewise.
942 * emulparams/xtensa-config.sh: Likewise.
944 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
945 "CONSTANT (MAXPAGESIZE)".
946 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
947 * emulparams/elf32_sparc.sh: Likewise.
948 * emulparams/elf32bmip.sh: Likewise.
949 * emulparams/elf32ppccommon.sh: Likewise.
950 * emulparams/elf64_ia64.sh: Likewise.
951 * emulparams/elf64_s390.sh: Likewise.
952 * emulparams/elf64_sparc.sh: Likewise.
953 * emulparams/elf64alpha.sh: Likewise.
954 * emulparams/elf64ppc.sh: Likewise.
955 * emulparams/elf_i386.sh: Likewise.
956 * emulparams/elf_i386_vxworks.sh: Likewise.
957 * emulparams/elf_s390.sh: Likewise.
958 * emulparams/elf_x86_64.sh: Likewise.
959 * emulparams/shlelf32_linux.sh: Likewise.
960 * emulparams/shlelf_linux.sh: Likewise.
962 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
963 "CONSTANT (COMMONPAGESIZE)".
964 * emulparams/elf32btsmipn32.sh: Likewise.
966 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
967 "-z max-page-size=" and "-z common-page-size=".
968 (gld${EMULATION_NAME}_list_options): Likewise.
970 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
972 * ld.texinfo: Document "-z max-page-size=" and
973 "-z common-page-size=".
975 * ldexp.c (exp_print_token): Handle CONSTANT.
976 (fold_name): Likewise.
977 * ldgram.y: Likewise.
980 * ldmain.c (main): Initiliaze config.maxpagesize and
981 config.commonpagesize. Call bfd_emul_set_maxpagesize if
982 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
983 config.commonpagesize config.maxpagesize isn't 0.
985 2006-05-30 Nick Clifton <nickc@redhat.com>
987 * po/es.po: Updated Spanish translation.
989 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
991 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
993 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
996 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
997 bfd. Support 64bit host for --enable-targets=all.
998 * configure: Regenerated.
1000 2006-05-24 Nick Clifton <nickc@redhat.com>
1002 * po/vi.po: Updated Vietnamese translation.
1004 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
1006 * configure.tgt: Add avr6 to emulation list.
1007 * Makefile.am: Add eavr6.o and corresponding rule.
1008 * Makefile.in: Regenerate.
1009 * emulparams/avr6.sh: New file.
1010 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
1011 for target option support.
1012 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
1013 * scripttempl/avr.sc: Add ".trampolines" section.
1014 * emultempl/avrelf.em: Add new file for target specific options.
1016 2006-05-22 Nick Clifton <nickc@redhat.com>
1018 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
1020 2006-05-19 Alan Modra <amodra@bigpond.net.au>
1022 * ldlang.c (lang_size_sections_1): Don't check mem regions for
1023 os->ignored sections.
1025 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1027 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
1028 before redoing one_lang_size_sections_pass.
1030 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
1032 * ld.texinfo: Rename "Index" to "LD Index"
1034 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
1036 * pe-dll.c (autofilter_symbollist): Add Dllmain,
1037 DllMainCRTStartup, _DllMainCRTStartup and .text.
1038 (autofilter_liblist): Add libcegcc.
1039 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
1040 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
1041 they can still contain relocs that need processing.
1042 Skip the .idata$6 section.
1043 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
1044 (make_one): Use the new array.
1045 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
1046 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
1048 2006-05-05 Alan Modra <amodra@bigpond.net.au>
1050 * ld.texinfo: Document PowerPC and PowerPC64 options.
1051 * gen-doc.texi: Enable.
1053 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1055 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
1056 (TEXI2POD): Use AM_MAKEINFOFLAGS.
1057 (configdoc.texi): Don't set top_srcdir.
1058 * ld.texinfo: Don't use top_srcdir.
1059 * aclocal.m4, Makefile.in: Regenerated.
1061 2006-04-19 Alan Modra <amodra@bigpond.net.au>
1063 * ldlang.c (wild): Tidy default_common_section loop.
1064 (print_input_section): Format.
1066 * configure: Regenerate.
1068 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1070 * po/POTFILES.in: Regenerated.
1072 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1074 * config.in: Regenerated.
1076 2006-04-14 David Heine <dlheine@tensilica.com>
1077 Bob Wilson <bob.wilson@acm.org>
1079 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
1080 function to strip inconsistent linkonce sections.
1081 (input_section_linked_worker, input_section_linked): New.
1082 (is_inconsistent_linkonce_section): New.
1083 (xtensa_strip_inconsistent_linkonce_sections): New.
1085 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
1087 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
1088 and Dragonfly targets.
1089 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
1090 * Makefile.am (HFILES): Add elf-hints-local.h.
1091 * elf-hints-local.h: New file.
1092 * Makefile.in: Regenerate.
1093 * configure: Regenerate.
1095 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
1097 * ld.texinfo: Fix typo in documentation of --check-sections.
1099 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1101 * ldlang.c (load_symbols): Set as_needed and add_needed according
1102 to the corresponding script's fields while processing it.
1104 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
1106 * Makefile.am: Add install-html, install-html-am, and
1107 install-html-recursive targets.
1108 * Makefile.in: Regenerate.
1109 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
1110 * configure: Regenerate.
1111 * po/Make-in: Add install-html target.
1113 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
1115 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
1116 link_info.need_relax_finalize.
1118 * ldlang.c (relax_sections): New.
1119 (lang_process): Use. Call relax_sections link_info.relax_pass
1122 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
1123 link_info.need_relax_finalize.
1125 2006-04-05 Alan Modra <amodra@bigpond.net.au>
1127 * Makefile.am (GENSCRIPTS): Pass prefix.
1128 * Makefile.in: Regenerate.
1129 * genscripts.sh: Adjust for extra parameter.
1130 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
1132 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
1135 2006-04-05 Richard Sandiford <richard@codesourcery.com>
1136 Daniel Jacobowitz <dan@codesourcery.com>
1138 * configure.tgt (sparc*-*-vxworks*): New stanza.
1139 * emulparams/elf32_sparc_vxworks.sh: New file.
1140 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
1141 (eelf32_sparc_vxworks.c): New rule.
1142 * Makefile.in: Regenerate.
1144 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
1146 * ldlang.c (lang_map): Print the list of discarded input sections.
1147 (print_input_section): Change parameter and print zero-sized sections.
1148 (print_statement): Adjust call to print_input_section.
1150 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1152 * deffilep.y (def_image_name): If LIBRARY or NAME statement
1153 specifies an empty string, retain the name specified on command
1155 * ld.texinfo: Document above.
1157 2006-03-31 Jakub Jelinek <jakub@redhat.com>
1159 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
1160 bfd_find_nearest_line succeeded for %C or %D, but filename
1161 is NULL, print section+offset at the end.
1163 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
1165 * emulparams/elf32bfinfd.sh: New file.
1166 * emultempl/bfin.em: Delete.
1167 * emulparams/bfin.sh: Lose reference to bfin.em.
1168 * Makefile.am (eelf32bfin.c): Likewise.
1169 (eelf32bfinfd.c): New.
1170 * Makefile.in: Regenerate.
1171 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
1174 2006-03-22 Richard Sandiford <richard@codesourcery.com>
1175 Daniel Jacobowitz <dan@codesourcery.com>
1176 Phil Edwards <phil@codesourcery.com>
1177 Zack Weinberg <zack@codesourcery.com>
1178 Mark Mitchell <mark@codesourcery.com>
1179 Nathan Sidwell <nathan@codesourcery.com>
1181 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
1182 separate VxWorks emulations.
1183 * emulparams/elf32ebmipvxworks.sh: New file.
1184 * emulparams/elf32elmipvxworks.sh: New file.
1185 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
1186 eelf32elmipvxworks.o.
1187 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
1188 * Makefile.in: Regenerate.
1190 2006-03-16 Alan Modra <amodra@bigpond.net.au>
1193 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
1194 * ldlang.c (output_statement_table_init, lang_init): Likewise.
1195 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
1196 (undefined_symbol): Likewise.
1198 2006-03-07 Richard Sandiford <richard@codesourcery.com>
1199 Daniel Jacobowitz <dan@codesourcery.com>
1200 Zack Weinberg <zack@codesourcery.com>
1201 Nathan Sidwell <nathan@codesourcery.com>
1202 Paul Brook <paul@codesourcery.com>
1203 Ricardo Anguiano <anguiano@codesourcery.com>
1204 Phil Edwards <phil@codesourcery.com>
1206 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
1207 (MAXPAGESIZE): Define.
1208 * emulparams/vxworks.sh: Undefine EMBEDDED.
1209 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
1210 * Makefile.in: Regenerate.
1212 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
1214 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
1215 Add KEEP() directives.
1216 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
1217 .bss output sections.
1219 2006-03-03 Richard Sandiford <richard@codesourcery.com>
1221 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
1222 (EXTRA_EM_FILE): Define.
1223 * emultempl/vxworks.em: New file.
1224 * ld.texinfo (--force-dynamic): Document.
1225 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
1227 * Makefile.in: Regenerate.
1229 2006-03-02 Richard Sandiford <richard@codesourcery.com>
1231 * emulparams/elf32ppccommon.sh: New file, extracted from...
1232 * emulparams/elf32ppc.sh: ...here.
1233 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
1234 instead of elf32ppc.sh.
1235 (BSS_PLT): Remove override.
1236 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
1237 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
1238 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
1239 (eelf32ppclinux.c): Likewise.
1240 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
1241 * Makefile.in: Regenerate.
1243 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
1245 * Makefile.am: Add html target.
1246 * Makefile.in: Regenerate.
1247 * po/Make-in: Add html target.
1249 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
1250 Anil Paranjape <anilp1@kpitcummins.com>
1251 Shilin Shakti <shilins@kpitcummins.com>
1253 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
1254 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
1255 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
1256 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
1257 * emulparams/elf32xc16xl.sh: Emulation script for large model.
1258 * emulparams/elf32xc16xs.sh: Emulation script for small model.
1259 * Makefile.am: Add entry to make xc16x target.
1260 * Makefile.in: Regenerate.
1261 * configure.tgt: Specify default and other emulation parameters
1263 * NEWS: Announce the support for the new target.
1265 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
1267 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1268 Use the traditional target.
1270 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
1272 * configure.tgt (arm*b-*-linux-gnueabi): Change to
1273 arm*b-*-linux-*eabi.
1274 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
1276 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
1279 * NEWS: Updated for the Linux linker search order change.
1281 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1282 gld${EMULATION_NAME}_check_ld_so_conf before checking default
1283 search directories for DT_NEEDED entries.
1285 2006-02-07 Paul Brook <paul@codesourcery.com>
1287 * emultempl/armelf.em: Include elf/arm.h.
1288 (arm_elf_finish): Set low address bit if enty point is a Thumb
1291 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1293 * deffilep.y (def_image_name): If the image name does not have
1294 a suffix, append the default.
1295 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
1297 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
1299 * NEWS: Mention support for forward exports in PE-COFF dll's.
1300 * ld.texinfo: Expand documentation of EXPORT statements in
1303 2006-01-31 Filip Navara <navaraf@reactos.com>
1305 * deffile.h (struct def_file_export): Add field flag_forward.
1306 * pe-dll.c (process_def_file): Check for forward exports.
1307 (generate_edata): Generate forward export symbols.
1308 (fill_edata): Emit them.
1310 * pe-dll.c (process_def_file): Don't crash on malformed
1311 fastcall symbol names in .def file.
1313 2006-01-30 Nick Clifton <nickc@redhat.com>
1315 * po/vi.po: Updated Vietnamese translation.
1317 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
1319 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1320 file:" as informational message, not a warning.
1322 2006-01-18 Roger Sayle <roger@eyesopen.com>
1324 * emultempl/irix.em: Use lbasename instead of basename.
1326 2006-01-16 Nick Clifton <nickc@redhat.com>
1328 * po/zh_CN.po: New Chinese (simplified) translation.
1329 * configure.in (ALL_LINGUAS): Add "zh_CH".
1330 * configure: Regenerate.
1332 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
1334 * ld.texinfo (Options): Fix typo.
1336 For older changes see ChangeLog-2005
1342 version-control: never