1 2006-11-08 Alan Modra <amodra@bigpond.net.au>
3 * emultempl/elf32.em (gld*_before_allocation): Adjust output section
4 size for warning sections.
6 2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
8 * emultempl/elf32.em (gld*_before_allocation): Don't prepend
9 "warning" to the message.
11 2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
13 * pe-dll.c (autofilter_entry_type): Change name to const.
14 (pe_details_type) : Change target_name, object_target and
15 autofilter_symbollist to const.
16 (autofilter_symbollist_generic): Change to const.
17 (autofilter_symbollist_i386, pe_detail_list, pe_details,
18 autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
19 autofilter_symbolsuffixlist): Likewise.
20 (is_import): Fix indentation.
21 (auto_export): Change afptr to const. Move name declaration to
23 (make_tail): Clear undefined byte.
24 (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
26 (make_one): Change jmp_bytes to const. Make idata$6 member size
27 arithmetic explicit and add comment.
29 2006-10-30 H.J. Lu <hongjiu.lu@intel.com>
32 * ld.h (args_type): Remove reduce_memory_overheads.
34 * ldlang.c (lang_map): Updated.
35 (section_already_linked): Likewise.
36 (print_input_section): Likewise.
37 * ldmain.c (main): Likewise.
38 * lexsup.c (parse_args): Likewise.
40 2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
42 * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
44 2006-10-27 Alan Modra <amodra@bigpond.net.au>
46 * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
47 sections have been discarded.
48 (lang_do_version_exports_section): Set SEC_KEEP on export section.
49 * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
52 2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
53 Mark Mitchell <mark@codesourcery.com>
55 * configure.tgt (arm*linux*): Support both big- and little-endian.
57 2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
59 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
60 (OTHER_BSS_SECTIONS): This.
61 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
62 (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
64 2006-10-25 Alan Modra <amodra@bigpond.net.au>
65 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
66 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
67 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
68 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
70 * emulparams/elf32_spu.sh: New file.
71 * emultempl/spu_inc.s: New file.
72 * emultempl/spu_ovl.S: New file.
73 * emultempl/spu_ovl.o: New file.
74 * emultempl/spuelf.em: New file.
75 * Makefile.am: Add SPU support.
76 * configure.tgt: Likewise.
77 * ldlang.c (load_symbols): Make global.
78 * ldlang.h (load_symbols): Declare.
79 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
80 * Makefile.in: Regenerate.
82 2006-10-24 Ben Elliston <bje@au.ibm.com>
84 * lexsup.c (parse_args): Add a comment noting a fall-through.
86 2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
88 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
89 * configure: Regenerated.
90 * config.in: Likewise.
92 2006-10-23 Alan Modra <amodra@bigpond.net.au>
94 * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
95 set section address on a relocatable link.
97 * ld.texinfo (Output Section Discarding): Fix xref.
99 2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
101 * emulparams/shelf32.sh: Set default stack to 0x80000.
102 * emulparams/shelf64.sh: Likewise.
104 2006-10-20 Richard Sandiford <richard@codesourcery.com>
106 * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
107 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
109 2006-10-19 Alan Modra <amodra@bigpond.net.au>
111 * emultempl/armelf.em (arm_elf_before_allocation): Run
112 gld${EMULATION_NAME}_before_allocation later.
113 * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
115 2006-10-18 Roy Marples <uberlord@gentoo.org>
117 * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
120 2006-10-18 Joseph Myers <joseph@codesourcery.com>
122 * configure.tgt (i[3-7]86-*-linux-*): Also define
123 targ_extra_libpath in want64 case.
124 * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
127 2006-10-17 Alan Modra <amodra@bigpond.net.au>
129 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
130 (INITIAL_READONLY_SECTIONS): ..here.
131 * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
132 * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
133 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
135 2006-10-17 Alan Modra <amodra@bigpond.net.au>
137 * ldlang.c (strip_excluded_output_sections): Do strip sections
138 that define syms, but don't ignore them.
139 * ld.texinfo (Output Section Discarding): Revise.
140 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
143 2006-10-16 Richard Sandiford <richard@codesourcery.com>
145 * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
146 (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
147 * Makefile.in: Regenerate.
148 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
149 .reginfo rather than .MIPS.options.
150 * emulparams/elf64bmip-defs.sh: New file.
151 * emulparams/elf64bmip.sh: Include it.
152 (COMMONPAGESIZE): Delete.
153 * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
155 2006-10-12 Bob Wilson <bob.wilson@acm.org>
157 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
158 for linkonce XCC exception tables (".e" and ".h").
160 2006-10-11 Bob Wilson <bob.wilson@acm.org>
162 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
163 (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
164 (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
165 (OTHER_SDATA_SECTIONS): New.
166 * scripttempl/elfxtensa.sc: Import changes from elf.sc.
168 2006-10-11 Jakub Jelinek <jakub@redhat.com>
170 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
171 of the dynamic list rather than just the first entry.
173 2006-10-10 Bob Wilson <bob.wilson@acm.org>
175 * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
177 2006-10-06 Mike Frysinger <vapier@gentoo.org>
179 * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
181 2006-10-04 Bob Wilson <bob.wilson@acm.org>
183 * emulparams/xtensa-config.sh: Delete file.
184 * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
186 * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
187 * Makefile.in: Regenerate.
189 2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
191 * pe-dll.c : Fix typo.
192 (autofilter_symbolprefixlist) : Remove __imp_.
194 (auto-export) : Remove re-import check. Moved to callers.
195 (process_def_file) : Check is symbol is an import. Always
197 Only skip underscore on underscored targets.
198 (make_one) : Always underscore __imp_.
199 (pe_create_runtime_relocator_reference) : Only underscore
200 _pei386_runtime_relocator on underscored targets.
201 (pe_process_import_defs) : Always underscore __imp_.
202 * pe.em (U) : New macro.
203 (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
204 on wince subsystem case.
205 (pe_find_data_imports) : Use U on "_head_".
206 (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
208 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
212 * ld.texinfo: Updated Output Section Discarding.
214 * ldlang.h (lang_output_section_statement_type): Add
215 section_relative_symbol.
216 * ldlang.c (strip_excluded_output_sections): Don't strip a
217 section with a symbol relative to it.
218 (lang_size_sections_1): Mark if an output section has a symbol
219 symbol relative to it.
221 2006-09-25 Bob Wilson <bob.wilson@acm.org>
223 * ld.texinfo (Options): Update description of local symbols for -X.
225 2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
228 * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
229 and .gnu.linkonce.wi.* sections with .data and .debug_info for
232 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
234 * configure.in: Add new target x86_64-pc-mingw64.
235 * configure: Regenerate.
236 * configure.tgt: Add definition of target emulation i386pep.
237 * Makefile.am: Add new target files for target-all.
238 * Makefile.in: Regenerate.
239 * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
240 Fix memory out of bounds excess for idata relocation section data.
241 * pep-dll.c: Add target specific shared object handling.
242 * pep-dll.h: Add target specific definitions for shared object handling.
243 * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
244 * emultempl/pep.em: Add new emulation file for target x86_64 coff.
245 * po/POTFILES.in: Regenerate.
246 * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
247 * NEWS: Mention new target.
249 2006-09-18 Thiemo Seufer <ths@networkno.de>
251 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
254 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
256 * emulparams/scoreelf.sh: New file.
257 * emultempl/scoreelf.em: New file.
258 * Makefile.am: Add Score files.
259 * Makefile.in: Regenerate.
260 * configure.tgt: Add Score target.
261 * NEWS: Mention new target support.
263 2006-09-16 Nick Clifton <nickc@redhat.com>
264 Pedro Alves <pedro_alves@portugalmail.pt>
266 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
267 macros defined in bfd.h.
268 * ldmain.c: Likewise.
269 * ldwrite.c: Likewise.
270 * lexsup.c: Likewise.
271 * pe-dll.c: Likewise.
272 * emultempl/aix.em: Likewise.
273 * emultempl/beos.em: Likewise.
274 * emultempl/elf32.em: Likewise.
275 * emultempl/pe.em: Likewise.
276 * emultempl/sunos.em: Likewise.
277 * emultempl/xtensaelf.em: Likewise.
279 2006-09-15 Nick Clifton <nickc@redhat.com>
282 * ldlang.c (lang_size_sections_1): Do not abort when encountering
283 a non-empty section that is ignored. Instead produce a warning
286 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
288 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
290 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
292 * Makefile.am (CXX): Set to g++.
293 (CXX_FOR_TARGET): Likewise.
294 * Makefile.in: Regenerated.
296 * NEWS: Mention --dynamic-list.
298 * ld.texinfo: Document --dynamic-list.
300 * ldgram.y: Support dynamic list.
302 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
303 on link_info.dynamic if needed.
304 (lang_append_dynamic_list): New.
305 (lang_append_dynamic_list_cpp_typeinfo): New.
306 * ldlang.h (lang_append_dynamic_list): Likewise.
307 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
309 * ldlex.h (input_enum): Add input_dynamic_list.
310 * ldlex.l: Handle it.
312 * ldmain.c (main): Initialize link_info.dynamic.
314 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
315 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
316 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
317 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
318 (parse_args): Handle OPTION_DYNAMIC_LIST and
319 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
321 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
323 * emulparams/h8300elf.sh: _tinydata should not be placed in
325 * emulparams/h8300.sh: Likewise.
326 * emulparams/h8300sxelf.sh: Likewise.
328 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
331 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
334 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
336 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
338 2006-08-28 Alan Modra <amodra@bigpond.net.au>
340 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
341 not match random object files in a path containing "crtbegin" or
342 "crtend" as part of a directory name.
343 * scripttempl/armbpabi.sc: Likewise.
344 * scripttempl/crisaout.sc: Likewise.
345 * scripttempl/elf32crx.sc: Likewise.
346 * scripttempl/elf32sh-symbian.sc: Likewise.
347 * scripttempl/elf_chaos.sc: Likewise.
348 * scripttempl/elfd10v.sc: Likewise.
349 * scripttempl/elfd30v.sc: Likewise.
350 * scripttempl/elfxtensa.sc: Likewise.
351 * scripttempl/iq2000.sc: Likewise.
352 * scripttempl/mmo.sc: Likewise.
353 * scripttempl/xstormy16.sc: Likewise.
355 2006-08-24 Bob Wilson <bob.wilson@acm.org>
357 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
358 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
360 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
362 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
363 Adjust the current address of DEFAULT_MEMORY_REGION even
364 when dot hasn't changed.
366 2006-08-23 Alan Modra <amodra@bigpond.net.au>
368 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
369 rather than a section relative value.
371 2006-08-22 Alan Modra <amodra@bigpond.net.au>
373 * NEWS: Mention LMA default change.
374 * ld.texinfo (Output Section LMA): Update default description.
375 (Location Counter): Clarify backward movement.
376 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
377 default lma equal to vma. Warn on backward movement of dot.
379 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
381 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
384 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
386 * Makefile.am: Split arm-wince into its own emulation.
387 * Makefile.in: Regenerate.
388 * pe-dll.c : Define PE_ARCH_arm_wince.
389 (pe_detail_list): Add PE_ARCH_arm_wince case.
390 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
391 * emulparams/arm_wince_pe.sh: New file.
392 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
393 Remap bfd_arm_allocate_interworking_sections,
394 bfd_arm_get_bfd_for_interworking and
395 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
397 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
398 arm-epoc bfd format names.
400 2006-08-18 Paul Brook <paul@codesourcery.com>
402 * emultempl/armelf.em (arm_elf_before_allocation): Call
403 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
405 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
407 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
408 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
409 and to not skipping .idata* sections.
411 2006-08-16 Alan Modra <amodra@bigpond.net.au>
414 * ldlang.h (lang_output_section_statement_type): Replace
415 "processed" field with "processed_vma" and "processed_lma".
416 * ldlang.c (lang_do_assignments_1): Move lma setting code..
417 (lang_size_sections_1): ..to here.
418 (lang_reset_memory_regions): Adjust for
419 lang_output_section_statement_type change.
420 * ldexp.c (fold_name): Likewise.
422 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
424 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
425 "CONSTANT (MAXPAGESIZE)".
427 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
430 * ldlang.c (lang_section_bst_type): Moved to ...
433 * ldlang.h (lang_wild_statement_struct): Add a tree field.
435 * ldlang.c (wild_sort_fast): Use the tree field for BST.
437 (analyze_walk_wild_section_handler): Initialize the tree field.
439 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
442 * ldlang.c (update_wild_statements): Update the whole wild
445 2006-08-04 Nick Clifton <nickc@redhat.com>
446 Mike Frysinger <michael.frysinger@analog.com>
448 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
449 (__preinit_array_start, __preinit_array_end, __init_array_start,
450 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
451 Use ${USER_LABEL_PREFIX}.
452 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
453 (USER_LABEL_PREFIX): Set.
455 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
457 * ldmain.c (main): Initialise print_gc_sections field of link_info
459 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
461 * ld.texinfo: Document new switches.
462 * NEWS: Mention new switches.
464 2006-08-04 Richard Sandiford <richard@codesourcery.com>
465 Kazu Hirata <kazu@codesourcery.com>
466 Phil Edwards <phil@codesourcery.com>
468 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
470 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
471 * Makefile.in: Regenerate.
472 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
474 * emulparams/shelf_vxworks.sh: New file.
475 * emulparams/shlelf_vxworks.sh: Likewise.
476 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
477 (OTHER_END_SYMBOLS): Likewise _ehdr.
478 (DATA_END_SYMBOLS): Likewise _edata.
479 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
480 is indeed an ELF file before dealing with --force-dynamic.
482 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
485 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
486 elf64-x86-64-freebsd.
488 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
490 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
491 bfd_make_section_with_flags.
492 (exp_init_os): Updated.
493 (lang_add_section): Call init_os with flags.
494 (map_input_to_output_sections): Likewise.
496 2006-07-29 Richard Sandiford <richard@codesourcery.com>
498 * Makefile.am (eelf32b4300.c): Update dependencies.
499 (eelf32bmip.c): Likewise.
500 (eelf32bsmip.c): Likewise.
501 (eelf32btsmip.c): Likewise.
502 (eelf32btsmipn32.c): Likewise.
503 (eelf32ltsmip.c): Likewise.
504 (eelf32ltsmipn32.c): Likewise.
505 (eelf32ebmip.c): Likewise.
506 (eelf32ebmipvxworks.c): Likewise.
507 (eelf32elmip.c): Likewise.
508 (eelf32elmipvxworks.c): Likewise.
509 (eelf32bmipn32.c): Likewise.
510 (eelf32lmip.c): Likewise.
511 (eelf32mipswindiss.c): Likewise.
512 (eelf32lsmip.c): Likewise.
513 (eelf64bmip.c): Likewise.
514 (eelf64btsmip.c): Likewise.
515 (eelf64ltsmip.c): Likewise.
516 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
517 (emipsbsd.c): Likewise.
518 (emipsidt.c): Update dependencies.
519 (emipsidtl.c): Likewise.
520 (emipslit.c): Likewise.
521 (emipslnews.c): Likewise.
522 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
523 * Makefile.in: Regenerate.
524 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
525 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
526 * emultempl/irix.em: Include emultempl/mipself.em.
527 * emultempl/mipself.em: New file.
529 2006-07-26 Alan Modra <amodra@bigpond.net.au>
531 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
532 layout happens before segment map. Don't do segment map on
535 2006-07-26 Alan Modra <amodra@bigpond.net.au>
537 * ldexp.c (fold_name <LOADADDR>): Use the lma.
538 * ldlang.h (lang_memory_region_type): Delete old_length. Add
540 * ldlang.c (lang_memory_region_lookup): Init new field.
541 (lang_reset_memory_regions): Reset new field.
542 (lang_insert_orphan): Don't set load_base.
543 (lang_leave_overlay): Likewise.
544 (lang_size_sections_1): Delete unnecessary code setting lma_region
545 to region. Correct lma region check.
546 (lang_do_assignments_1): Rename output_section_statement parm
547 to current_os. Set lma from previous section in region.
549 * ldlang.c: Formatting.
551 2006-07-25 Bob Wilson <bob.wilson@acm.org>
553 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
554 Set discarded section's output_section to bfd_abs_section_ptr.
556 2006-07-26 Alan Modra <amodra@bigpond.net.au>
558 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
561 2006-07-24 Bob Wilson <bob.wilson@acm.org>
563 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
564 in dep_sec_name for null terminator. Make sure dep_sec_name has a
567 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
569 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
570 Set for *-*-solaris2*.
572 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
574 * ld.texinfo: Fix spelling mistakes.
575 * ldint.texinfo: Likewise.
577 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
579 * ldlang.c (lang_section_bst): New structure for sorting sections
581 (wild_sort_fast): New function: Insert a section into a binary
583 (output_section_callback_fast): New function: Store a section in
585 (output_section_callback_tree_to_list): New function: Convert a
587 (analyze_walk_wild_section_handler): Initialize handler_data
589 (wild): If the data is sorted by name use the BST method to sort
592 2006-07-19 Alan Modra <amodra@bigpond.net.au>
594 * ld.h (handle_asneeded_cref): Declare.
595 * ldcref.c: Include objalloc.h.
596 (old_table, old_count, old_tab, alloc_mark): New variables.
597 (tabsize, entsize, refsize, old_symcount): Likewise.
598 (add_cref): Use bfd_hash_allocate for refs.
599 (handle_asneeded_cref): New function.
600 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
602 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
604 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
605 typo setting targ_extra_libpath.
607 2006-07-10 Jakub Jelinek <jakub@redhat.com>
609 * scripttempl/elf.sc: Add .gnu.hash section.
610 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
611 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
612 (gld${EMULATION_NAME}_handle_option): Handle it.
613 (gld${EMULATION_NAME}_list_options): Document it.
614 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
615 * ld.texinfo: Document --hash-style option.
617 2006-07-10 Nick Clifton <nickc@redhat.com>
619 * po/zh_TW.po: New Chinese (traditional) translation.
620 * configure.in (ALL_LINGUAS): Add zh_TW.
621 * configure: Regenerate.
623 2006-07-07 Nick Clifton <nickc@redhat.com>
626 * ld.texinfo: Remove "Using LD" from the title since it is
629 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
632 * ld.texinfo: Fix spelling mistakes.
634 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
635 Nick Clifton <nickc@redhat.com>
637 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
638 length of format strings in the libname_fmt[] array, rather than
639 relying upon a statically chosen value. Adjust xmalloc call to
640 use this longest length.
642 2006-06-27 Nick Clifton <nickc@redhat.com>
644 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
647 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
649 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
652 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
654 * pe-dll.c (pe_details_type): Add new pointer for symbols list
656 (autofilter_symbollist): Split into autofilter_symbollist_generic
657 and autofilter_symbollist_i386.
658 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
659 autofilter_symbollist_generic for all the others.
660 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
661 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
662 into autofilter_symbollist_i386.
663 (auto_export): Get autofilter_symbollist from pe_details.
665 2006-06-22 Nick Clifton <nickc@redhat.com>
668 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
669 output files mention the file name and the fact that it is an
672 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
674 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
675 Restructure. Add native "%s.lib" format to search list
676 * ld.texinfo (node WIN32): Update documentation on dynamic lib
677 search order. Add another reason for using import libs.
679 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
681 * ldlang.c (lang_insert_orphan): Correctly handle the case where
682 the section is to end up after the section currently at the end
683 of the list in output_bfd.
685 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
687 * emultempl/mmo.em: Improve comments. Explain why there's
690 2006-06-21 Alan Modra <amodra@bigpond.net.au>
692 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
693 loop to ten iterations. Throw away any previous linker generated
695 * ldlang.c (lang_phdr_list): Make global.
696 * ldlang.h (lang_phdr_list): Declare.
697 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
698 * Makefile.in: Regenerate.
700 2006-06-20 Alan Modra <amodra@bigpond.net.au>
702 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
703 many ELF emul file deps that incorrectly said they needed elf32.em
704 instead of generic.em. Add genelf.em as required.
705 * Makefile.in: Regenerate.
706 * ldlang.c (lang_process): Call ldemul_finish before
707 lang_check_section_addresses.
708 * emulparams/arcelf.sh: Generic elf target needs genelf.
709 * emulparams/d30v_e.sh: Likewise.
710 * emulparams/d30v_o.sh: Likewise.
711 * emulparams/d30velf.sh: Likewise.
712 * emulparams/elf32_dlx.sh: Likewise.
713 * emulparams/elf32_i860.sh: Likewise.
714 * emulparams/elf32fr30.sh: Likewise.
715 * emulparams/elf32frv.sh: Likewise.
716 * emulparams/elf32iq10.sh: Likewise.
717 * emulparams/elf32iq2000.sh: Likewise.
718 * emulparams/elf32mt.sh: Likewise.
719 * emulparams/mn10200.sh: Likewise.
720 * emulparams/or32.sh: Likewise.
721 * emulparams/or32elf.sh: Likewise.
722 * emulparams/pjelf.sh: Likewise.
723 * emulparams/msp430all.sh: Likewise. Extract common entries.
724 * emulparams/pjlelf.sh: Include pjelf.sh.
725 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
726 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
727 * emultempl/elf-generic.em: New file.
728 * emultempl/genelf.em: New file.
729 * emultempl/elf32.em: Include elf-generic.em.
730 (gld${EMULATION_NAME}_layout_sections_again): Delete.
731 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
732 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
733 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
734 gld${EMULATION_NAME}_map_segments.
735 (LDEMUL_FINISH): Update.
736 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
737 source elf-generic.em.
738 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
739 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
740 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
741 gld${EMULATION_NAME}_map_segments.
742 (LDEMUL_FINISH): Update.
744 2006-06-19 Alan Modra <amodra@bigpond.net.au>
746 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
748 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
750 * ld.texinfo: Document new -z lazy option.
751 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
753 (gld${EMULATION_NAME}_list_options): Update help text.
755 2006-06-12 Fred Fish <fnf@specifix.com>
757 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
758 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
759 generated by mips gcc.
761 2006-06-12 Thiemo Seufer <ths@mips.com>
763 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
766 2006-06-09 Alan Modra <amodra@bigpond.net.au>
768 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
769 * ldlang.c (struct out_section_hash_entry): Rename from
770 output_statement_hash_entry. Delete output_section_statement_type
771 entry. Add statement_union_type entry. Adjust all users.
772 (output_section_statement_table): Rename from output_statement_table.
774 (output_section_statement_newfunc): Rename from
775 output_statement_newfunc. Adjust all users.
776 (output_section_statement_table_init): Rename from
777 output_statement_table_init. Adjust all users.
778 (output_section_statement_table_free): Rename from
779 output_statement_table_free. Adjust all users.
781 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
783 * po/Make-in (pdf, ps): New dummy targets.
785 2006-06-07 Alan Modra <amodra@bigpond.net.au>
787 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
788 info_section and overlay_section. Add noalloc_section.
789 * ldlang.c (lang_add_section): Adjust.
790 * ldgram.y (type): Adjust.
792 2006-06-06 Alan Modra <amodra@bigpond.net.au>
794 * ldlang.c (init_os): Whitespace.
795 (map_input_to_output_sections): Don't init_os for lang_input_section.
796 (print_all_symbols): Remove forward declaration. Convert to ISO C.
798 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
800 * po/Make-in (top_builddir): Define.
802 2006-06-05 Alan Modra <amodra@bigpond.net.au>
804 * ldexp.c (exp_get_abs_int): Make error message the same as
805 others emitted in this file.
807 2006-06-05 Alan Modra <amodra@bigpond.net.au>
809 * config.in: Regenerate.
811 2006-06-05 Alan Modra <amodra@bigpond.net.au>
813 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
815 2006-06-03 Alan Modra <amodra@bigpond.net.au>
817 * emultempl/elf32.em (global_found): Make it a pointer.
818 (stat_needed, try_needed): Adjust.
819 (check_needed): Don't skip non-loaded as-needed entries. Only
820 consider entries with both filename and the_bfd non-null.
821 (after_open): Try loading non-loaded as-needed libs to satisfy
824 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
826 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
827 * Makefile.in: Regenerate.
829 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
831 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
832 and LIBINTL_DEP everywhere.
834 (INCLUDES): Use @INCINTL@.
835 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
836 Remove local code for po/Makefile.
837 * Makefile.in, configure: Regenerated.
839 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
841 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
842 "CONSTANT (MAXPAGESIZE)".
843 * emulparams/armelf_nbsd.sh: Likewise.
844 * emulparams/armelf_vxworks.sh: Likewise.
845 * emulparams/armnto.sh: Likewise.
846 * emulparams/armsymbian.sh: Likewise.
847 * emulparams/crislinux.sh: Likewise.
848 * emulparams/elf32_i860.sh: Likewise.
849 * emulparams/elf32_i960.sh: Likewise.
850 * emulparams/elf32am33lin.sh: Likewise.
851 * emulparams/elf32bfinfd.sh: Likewise.
852 * emulparams/elf32bmipn32-defs.sh: Likewise.
853 * emulparams/elf32frvfd.sh: Likewise.
854 * emulparams/elf32i370.sh: Likewise.
855 * emulparams/elf32lppcnto.sh: Likewise.
856 * emulparams/elf32mcore.sh: Likewise.
857 * emulparams/elf32openrisc.sh: Likewise.
858 * emulparams/elf32ppcnto.sh: Likewise.
859 * emulparams/elf32ppcwindiss.sh: Likewise.
860 * emulparams/elf32vax.sh: Likewise.
861 * emulparams/elf32xc16x.sh: Likewise.
862 * emulparams/elf32xc16xl.sh: Likewise.
863 * emulparams/elf32xc16xs.sh: Likewise.
864 * emulparams/elf64_aix.sh: Likewise.
865 * emulparams/elf64hppa.sh: Likewise.
866 * emulparams/elf64mmix.sh: Likewise.
867 * emulparams/elf_i386_be.sh: Likewise.
868 * emulparams/elf_i386_chaos.sh: Likewise.
869 * emulparams/elf_i386_ldso.sh: Likewise.
870 * emulparams/hppa64linux.sh: Likewise.
871 * emulparams/hppalinux.sh: Likewise.
872 * emulparams/hppaobsd.sh: Likewise.
873 * emulparams/i386lynx.sh: Likewise.
874 * emulparams/i386moss.sh: Likewise.
875 * emulparams/i386nto.sh: Likewise.
876 * emulparams/i386nw.sh: Likewise.
877 * emulparams/m32relf_linux.sh: Likewise.
878 * emulparams/m68kpsos.sh: Likewise.
879 * emulparams/or32elf.sh: Likewise.
880 * emulparams/pjelf.sh: Likewise.
881 * emulparams/pjlelf.sh: Likewise.
882 * emulparams/ppclynx.sh: Likewise.
883 * emulparams/ppcnw.sh: Likewise.
884 * emulparams/shelf32_nbsd.sh : Likewise.
885 * emulparams/shelf_nbsd.sh: Likewise.
886 * emulparams/shelf_nto.sh: Likewise.
887 * emulparams/shlelf_nto.sh: Likewise.
888 * emulparams/xtensa-config.sh: Likewise.
890 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
891 "CONSTANT (MAXPAGESIZE)".
892 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
893 * emulparams/elf32_sparc.sh: Likewise.
894 * emulparams/elf32bmip.sh: Likewise.
895 * emulparams/elf32ppccommon.sh: Likewise.
896 * emulparams/elf64_ia64.sh: Likewise.
897 * emulparams/elf64_s390.sh: Likewise.
898 * emulparams/elf64_sparc.sh: Likewise.
899 * emulparams/elf64alpha.sh: Likewise.
900 * emulparams/elf64ppc.sh: Likewise.
901 * emulparams/elf_i386.sh: Likewise.
902 * emulparams/elf_i386_vxworks.sh: Likewise.
903 * emulparams/elf_s390.sh: Likewise.
904 * emulparams/elf_x86_64.sh: Likewise.
905 * emulparams/shlelf32_linux.sh: Likewise.
906 * emulparams/shlelf_linux.sh: Likewise.
908 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
909 "CONSTANT (COMMONPAGESIZE)".
910 * emulparams/elf32btsmipn32.sh: Likewise.
912 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
913 "-z max-page-size=" and "-z common-page-size=".
914 (gld${EMULATION_NAME}_list_options): Likewise.
916 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
918 * ld.texinfo: Document "-z max-page-size=" and
919 "-z common-page-size=".
921 * ldexp.c (exp_print_token): Handle CONSTANT.
922 (fold_name): Likewise.
923 * ldgram.y: Likewise.
926 * ldmain.c (main): Initiliaze config.maxpagesize and
927 config.commonpagesize. Call bfd_emul_set_maxpagesize if
928 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
929 config.commonpagesize config.maxpagesize isn't 0.
931 2006-05-30 Nick Clifton <nickc@redhat.com>
933 * po/es.po: Updated Spanish translation.
935 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
937 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
939 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
942 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
943 bfd. Support 64bit host for --enable-targets=all.
944 * configure: Regenerated.
946 2006-05-24 Nick Clifton <nickc@redhat.com>
948 * po/vi.po: Updated Vietnamese translation.
950 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
952 * configure.tgt: Add avr6 to emulation list.
953 * Makefile.am: Add eavr6.o and corresponding rule.
954 * Makefile.in: Regenerate.
955 * emulparams/avr6.sh: New file.
956 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
957 for target option support.
958 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
959 * scripttempl/avr.sc: Add ".trampolines" section.
960 * emultempl/avrelf.em: Add new file for target specific options.
962 2006-05-22 Nick Clifton <nickc@redhat.com>
964 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
966 2006-05-19 Alan Modra <amodra@bigpond.net.au>
968 * ldlang.c (lang_size_sections_1): Don't check mem regions for
969 os->ignored sections.
971 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
973 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
974 before redoing one_lang_size_sections_pass.
976 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
978 * ld.texinfo: Rename "Index" to "LD Index"
980 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
982 * pe-dll.c (autofilter_symbollist): Add Dllmain,
983 DllMainCRTStartup, _DllMainCRTStartup and .text.
984 (autofilter_liblist): Add libcegcc.
985 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
986 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
987 they can still contain relocs that need processing.
988 Skip the .idata$6 section.
989 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
990 (make_one): Use the new array.
991 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
992 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
994 2006-05-05 Alan Modra <amodra@bigpond.net.au>
996 * ld.texinfo: Document PowerPC and PowerPC64 options.
997 * gen-doc.texi: Enable.
999 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1001 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
1002 (TEXI2POD): Use AM_MAKEINFOFLAGS.
1003 (configdoc.texi): Don't set top_srcdir.
1004 * ld.texinfo: Don't use top_srcdir.
1005 * aclocal.m4, Makefile.in: Regenerated.
1007 2006-04-19 Alan Modra <amodra@bigpond.net.au>
1009 * ldlang.c (wild): Tidy default_common_section loop.
1010 (print_input_section): Format.
1012 * configure: Regenerate.
1014 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1016 * po/POTFILES.in: Regenerated.
1018 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1020 * config.in: Regenerated.
1022 2006-04-14 David Heine <dlheine@tensilica.com>
1023 Bob Wilson <bob.wilson@acm.org>
1025 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
1026 function to strip inconsistent linkonce sections.
1027 (input_section_linked_worker, input_section_linked): New.
1028 (is_inconsistent_linkonce_section): New.
1029 (xtensa_strip_inconsistent_linkonce_sections): New.
1031 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
1033 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
1034 and Dragonfly targets.
1035 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
1036 * Makefile.am (HFILES): Add elf-hints-local.h.
1037 * elf-hints-local.h: New file.
1038 * Makefile.in: Regenerate.
1039 * configure: Regenerate.
1041 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
1043 * ld.texinfo: Fix typo in documentation of --check-sections.
1045 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1047 * ldlang.c (load_symbols): Set as_needed and add_needed according
1048 to the corresponding script's fields while processing it.
1050 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
1052 * Makefile.am: Add install-html, install-html-am, and
1053 install-html-recursive targets.
1054 * Makefile.in: Regenerate.
1055 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
1056 * configure: Regenerate.
1057 * po/Make-in: Add install-html target.
1059 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
1061 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
1062 link_info.need_relax_finalize.
1064 * ldlang.c (relax_sections): New.
1065 (lang_process): Use. Call relax_sections link_info.relax_pass
1068 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
1069 link_info.need_relax_finalize.
1071 2006-04-05 Alan Modra <amodra@bigpond.net.au>
1073 * Makefile.am (GENSCRIPTS): Pass prefix.
1074 * Makefile.in: Regenerate.
1075 * genscripts.sh: Adjust for extra parameter.
1076 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
1078 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
1081 2006-04-05 Richard Sandiford <richard@codesourcery.com>
1082 Daniel Jacobowitz <dan@codesourcery.com>
1084 * configure.tgt (sparc*-*-vxworks*): New stanza.
1085 * emulparams/elf32_sparc_vxworks.sh: New file.
1086 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
1087 (eelf32_sparc_vxworks.c): New rule.
1088 * Makefile.in: Regenerate.
1090 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
1092 * ldlang.c (lang_map): Print the list of discarded input sections.
1093 (print_input_section): Change parameter and print zero-sized sections.
1094 (print_statement): Adjust call to print_input_section.
1096 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1098 * deffilep.y (def_image_name): If LIBRARY or NAME statement
1099 specifies an empty string, retain the name specified on command
1101 * ld.texinfo: Document above.
1103 2006-03-31 Jakub Jelinek <jakub@redhat.com>
1105 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
1106 bfd_find_nearest_line succeeded for %C or %D, but filename
1107 is NULL, print section+offset at the end.
1109 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
1111 * emulparams/elf32bfinfd.sh: New file.
1112 * emultempl/bfin.em: Delete.
1113 * emulparams/bfin.sh: Lose reference to bfin.em.
1114 * Makefile.am (eelf32bfin.c): Likewise.
1115 (eelf32bfinfd.c): New.
1116 * Makefile.in: Regenerate.
1117 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
1120 2006-03-22 Richard Sandiford <richard@codesourcery.com>
1121 Daniel Jacobowitz <dan@codesourcery.com>
1122 Phil Edwards <phil@codesourcery.com>
1123 Zack Weinberg <zack@codesourcery.com>
1124 Mark Mitchell <mark@codesourcery.com>
1125 Nathan Sidwell <nathan@codesourcery.com>
1127 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
1128 separate VxWorks emulations.
1129 * emulparams/elf32ebmipvxworks.sh: New file.
1130 * emulparams/elf32elmipvxworks.sh: New file.
1131 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
1132 eelf32elmipvxworks.o.
1133 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
1134 * Makefile.in: Regenerate.
1136 2006-03-16 Alan Modra <amodra@bigpond.net.au>
1139 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
1140 * ldlang.c (output_statement_table_init, lang_init): Likewise.
1141 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
1142 (undefined_symbol): Likewise.
1144 2006-03-07 Richard Sandiford <richard@codesourcery.com>
1145 Daniel Jacobowitz <dan@codesourcery.com>
1146 Zack Weinberg <zack@codesourcery.com>
1147 Nathan Sidwell <nathan@codesourcery.com>
1148 Paul Brook <paul@codesourcery.com>
1149 Ricardo Anguiano <anguiano@codesourcery.com>
1150 Phil Edwards <phil@codesourcery.com>
1152 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
1153 (MAXPAGESIZE): Define.
1154 * emulparams/vxworks.sh: Undefine EMBEDDED.
1155 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
1156 * Makefile.in: Regenerate.
1158 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
1160 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
1161 Add KEEP() directives.
1162 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
1163 .bss output sections.
1165 2006-03-03 Richard Sandiford <richard@codesourcery.com>
1167 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
1168 (EXTRA_EM_FILE): Define.
1169 * emultempl/vxworks.em: New file.
1170 * ld.texinfo (--force-dynamic): Document.
1171 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
1173 * Makefile.in: Regenerate.
1175 2006-03-02 Richard Sandiford <richard@codesourcery.com>
1177 * emulparams/elf32ppccommon.sh: New file, extracted from...
1178 * emulparams/elf32ppc.sh: ...here.
1179 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
1180 instead of elf32ppc.sh.
1181 (BSS_PLT): Remove override.
1182 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
1183 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
1184 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
1185 (eelf32ppclinux.c): Likewise.
1186 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
1187 * Makefile.in: Regenerate.
1189 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
1191 * Makefile.am: Add html target.
1192 * Makefile.in: Regenerate.
1193 * po/Make-in: Add html target.
1195 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
1196 Anil Paranjape <anilp1@kpitcummins.com>
1197 Shilin Shakti <shilins@kpitcummins.com>
1199 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
1200 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
1201 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
1202 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
1203 * emulparams/elf32xc16xl.sh: Emulation script for large model.
1204 * emulparams/elf32xc16xs.sh: Emulation script for small model.
1205 * Makefile.am: Add entry to make xc16x target.
1206 * Makefile.in: Regenerate.
1207 * configure.tgt: Specify default and other emulation parameters
1209 * NEWS: Announce the support for the new target.
1211 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
1213 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1214 Use the traditional target.
1216 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
1218 * configure.tgt (arm*b-*-linux-gnueabi): Change to
1219 arm*b-*-linux-*eabi.
1220 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
1222 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
1225 * NEWS: Updated for the Linux linker search order change.
1227 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1228 gld${EMULATION_NAME}_check_ld_so_conf before checking default
1229 search directories for DT_NEEDED entries.
1231 2006-02-07 Paul Brook <paul@codesourcery.com>
1233 * emultempl/armelf.em: Include elf/arm.h.
1234 (arm_elf_finish): Set low address bit if enty point is a Thumb
1237 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1239 * deffilep.y (def_image_name): If the image name does not have
1240 a suffix, append the default.
1241 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
1243 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
1245 * NEWS: Mention support for forward exports in PE-COFF dll's.
1246 * ld.texinfo: Expand documentation of EXPORT statements in
1249 2006-01-31 Filip Navara <navaraf@reactos.com>
1251 * deffile.h (struct def_file_export): Add field flag_forward.
1252 * pe-dll.c (process_def_file): Check for forward exports.
1253 (generate_edata): Generate forward export symbols.
1254 (fill_edata): Emit them.
1256 * pe-dll.c (process_def_file): Don't crash on malformed
1257 fastcall symbol names in .def file.
1259 2006-01-30 Nick Clifton <nickc@redhat.com>
1261 * po/vi.po: Updated Vietnamese translation.
1263 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
1265 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1266 file:" as informational message, not a warning.
1268 2006-01-18 Roger Sayle <roger@eyesopen.com>
1270 * emultempl/irix.em: Use lbasename instead of basename.
1272 2006-01-16 Nick Clifton <nickc@redhat.com>
1274 * po/zh_CN.po: New Chinese (simplified) translation.
1275 * configure.in (ALL_LINGUAS): Add "zh_CH".
1276 * configure: Regenerate.
1278 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
1280 * ld.texinfo (Options): Fix typo.
1282 For older changes see ChangeLog-2005
1288 version-control: never