1 2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
2 Mark Mitchell <mark@codesourcery.com>
4 * configure.tgt (arm*linux*): Support both big- and little-endian.
6 2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
8 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
9 (OTHER_BSS_SECTIONS): This.
10 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
11 (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
13 2006-10-25 Alan Modra <amodra@bigpond.net.au>
14 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
15 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
16 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
17 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
19 * emulparams/elf32_spu.sh: New file.
20 * emultempl/spu_inc.s: New file.
21 * emultempl/spu_ovl.S: New file.
22 * emultempl/spu_ovl.o: New file.
23 * emultempl/spuelf.em: New file.
24 * Makefile.am: Add SPU support.
25 * configure.tgt: Likewise.
26 * ldlang.c (load_symbols): Make global.
27 * ldlang.h (load_symbols): Declare.
28 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
29 * Makefile.in: Regenerate.
31 2006-10-24 Ben Elliston <bje@au.ibm.com>
33 * lexsup.c (parse_args): Add a comment noting a fall-through.
35 2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
37 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
38 * configure: Regenerated.
39 * config.in: Likewise.
41 2006-10-23 Alan Modra <amodra@bigpond.net.au>
43 * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
44 set section address on a relocatable link.
46 * ld.texinfo (Output Section Discarding): Fix xref.
48 2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50 * emulparams/shelf32.sh: Set default stack to 0x80000.
51 * emulparams/shelf64.sh: Likewise.
53 2006-10-20 Richard Sandiford <richard@codesourcery.com>
55 * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
56 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
58 2006-10-19 Alan Modra <amodra@bigpond.net.au>
60 * emultempl/armelf.em (arm_elf_before_allocation): Run
61 gld${EMULATION_NAME}_before_allocation later.
62 * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
64 2006-10-18 Roy Marples <uberlord@gentoo.org>
66 * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
69 2006-10-18 Joseph Myers <joseph@codesourcery.com>
71 * configure.tgt (i[3-7]86-*-linux-*): Also define
72 targ_extra_libpath in want64 case.
73 * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
76 2006-10-17 Alan Modra <amodra@bigpond.net.au>
78 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
79 (INITIAL_READONLY_SECTIONS): ..here.
80 * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
81 * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
82 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
84 2006-10-17 Alan Modra <amodra@bigpond.net.au>
86 * ldlang.c (strip_excluded_output_sections): Do strip sections
87 that define syms, but don't ignore them.
88 * ld.texinfo (Output Section Discarding): Revise.
89 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
92 2006-10-16 Richard Sandiford <richard@codesourcery.com>
94 * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
95 (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
96 * Makefile.in: Regenerate.
97 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
98 .reginfo rather than .MIPS.options.
99 * emulparams/elf64bmip-defs.sh: New file.
100 * emulparams/elf64bmip.sh: Include it.
101 (COMMONPAGESIZE): Delete.
102 * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
104 2006-10-12 Bob Wilson <bob.wilson@acm.org>
106 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
107 for linkonce XCC exception tables (".e" and ".h").
109 2006-10-11 Bob Wilson <bob.wilson@acm.org>
111 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
112 (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
113 (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
114 (OTHER_SDATA_SECTIONS): New.
115 * scripttempl/elfxtensa.sc: Import changes from elf.sc.
117 2006-10-11 Jakub Jelinek <jakub@redhat.com>
119 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
120 of the dynamic list rather than just the first entry.
122 2006-10-10 Bob Wilson <bob.wilson@acm.org>
124 * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
126 2006-10-06 Mike Frysinger <vapier@gentoo.org>
128 * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
130 2006-10-04 Bob Wilson <bob.wilson@acm.org>
132 * emulparams/xtensa-config.sh: Delete file.
133 * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
135 * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
136 * Makefile.in: Regenerate.
138 2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
140 * pe-dll.c : Fix typo.
141 (autofilter_symbolprefixlist) : Remove __imp_.
143 (auto-export) : Remove re-import check. Moved to callers.
144 (process_def_file) : Check is symbol is an import. Always
146 Only skip underscore on underscored targets.
147 (make_one) : Always underscore __imp_.
148 (pe_create_runtime_relocator_reference) : Only underscore
149 _pei386_runtime_relocator on underscored targets.
150 (pe_process_import_defs) : Always underscore __imp_.
151 * pe.em (U) : New macro.
152 (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
153 on wince subsystem case.
154 (pe_find_data_imports) : Use U on "_head_".
155 (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
157 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
161 * ld.texinfo: Updated Output Section Discarding.
163 * ldlang.h (lang_output_section_statement_type): Add
164 section_relative_symbol.
165 * ldlang.c (strip_excluded_output_sections): Don't strip a
166 section with a symbol relative to it.
167 (lang_size_sections_1): Mark if an output section has a symbol
168 symbol relative to it.
170 2006-09-25 Bob Wilson <bob.wilson@acm.org>
172 * ld.texinfo (Options): Update description of local symbols for -X.
174 2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
177 * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
178 and .gnu.linkonce.wi.* sections with .data and .debug_info for
181 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
183 * configure.in: Add new target x86_64-pc-mingw64.
184 * configure: Regenerate.
185 * configure.tgt: Add definition of target emulation i386pep.
186 * Makefile.am: Add new target files for target-all.
187 * Makefile.in: Regenerate.
188 * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
189 Fix memory out of bounds excess for idata relocation section data.
190 * pep-dll.c: Add target specific shared object handling.
191 * pep-dll.h: Add target specific definitions for shared object handling.
192 * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
193 * emultempl/pep.em: Add new emulation file for target x86_64 coff.
194 * po/POTFILES.in: Regenerate.
195 * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
196 * NEWS: Mention new target.
198 2006-09-18 Thiemo Seufer <ths@networkno.de>
200 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
203 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
205 * emulparams/scoreelf.sh: New file.
206 * emultempl/scoreelf.em: New file.
207 * Makefile.am: Add Score files.
208 * Makefile.in: Regenerate.
209 * configure.tgt: Add Score target.
210 * NEWS: Mention new target support.
212 2006-09-16 Nick Clifton <nickc@redhat.com>
213 Pedro Alves <pedro_alves@portugalmail.pt>
215 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
216 macros defined in bfd.h.
217 * ldmain.c: Likewise.
218 * ldwrite.c: Likewise.
219 * lexsup.c: Likewise.
220 * pe-dll.c: Likewise.
221 * emultempl/aix.em: Likewise.
222 * emultempl/beos.em: Likewise.
223 * emultempl/elf32.em: Likewise.
224 * emultempl/pe.em: Likewise.
225 * emultempl/sunos.em: Likewise.
226 * emultempl/xtensaelf.em: Likewise.
228 2006-09-15 Nick Clifton <nickc@redhat.com>
231 * ldlang.c (lang_size_sections_1): Do not abort when encountering
232 a non-empty section that is ignored. Instead produce a warning
235 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
237 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
239 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
241 * Makefile.am (CXX): Set to g++.
242 (CXX_FOR_TARGET): Likewise.
243 * Makefile.in: Regenerated.
245 * NEWS: Mention --dynamic-list.
247 * ld.texinfo: Document --dynamic-list.
249 * ldgram.y: Support dynamic list.
251 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
252 on link_info.dynamic if needed.
253 (lang_append_dynamic_list): New.
254 (lang_append_dynamic_list_cpp_typeinfo): New.
255 * ldlang.h (lang_append_dynamic_list): Likewise.
256 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
258 * ldlex.h (input_enum): Add input_dynamic_list.
259 * ldlex.l: Handle it.
261 * ldmain.c (main): Initialize link_info.dynamic.
263 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
264 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
265 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
266 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
267 (parse_args): Handle OPTION_DYNAMIC_LIST and
268 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
270 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
272 * emulparams/h8300elf.sh: _tinydata should not be placed in
274 * emulparams/h8300.sh: Likewise.
275 * emulparams/h8300sxelf.sh: Likewise.
277 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
280 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
283 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
285 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
287 2006-08-28 Alan Modra <amodra@bigpond.net.au>
289 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
290 not match random object files in a path containing "crtbegin" or
291 "crtend" as part of a directory name.
292 * scripttempl/armbpabi.sc: Likewise.
293 * scripttempl/crisaout.sc: Likewise.
294 * scripttempl/elf32crx.sc: Likewise.
295 * scripttempl/elf32sh-symbian.sc: Likewise.
296 * scripttempl/elf_chaos.sc: Likewise.
297 * scripttempl/elfd10v.sc: Likewise.
298 * scripttempl/elfd30v.sc: Likewise.
299 * scripttempl/elfxtensa.sc: Likewise.
300 * scripttempl/iq2000.sc: Likewise.
301 * scripttempl/mmo.sc: Likewise.
302 * scripttempl/xstormy16.sc: Likewise.
304 2006-08-24 Bob Wilson <bob.wilson@acm.org>
306 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
307 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
309 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
311 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
312 Adjust the current address of DEFAULT_MEMORY_REGION even
313 when dot hasn't changed.
315 2006-08-23 Alan Modra <amodra@bigpond.net.au>
317 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
318 rather than a section relative value.
320 2006-08-22 Alan Modra <amodra@bigpond.net.au>
322 * NEWS: Mention LMA default change.
323 * ld.texinfo (Output Section LMA): Update default description.
324 (Location Counter): Clarify backward movement.
325 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
326 default lma equal to vma. Warn on backward movement of dot.
328 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
330 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
333 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
335 * Makefile.am: Split arm-wince into its own emulation.
336 * Makefile.in: Regenerate.
337 * pe-dll.c : Define PE_ARCH_arm_wince.
338 (pe_detail_list): Add PE_ARCH_arm_wince case.
339 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
340 * emulparams/arm_wince_pe.sh: New file.
341 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
342 Remap bfd_arm_allocate_interworking_sections,
343 bfd_arm_get_bfd_for_interworking and
344 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
346 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
347 arm-epoc bfd format names.
349 2006-08-18 Paul Brook <paul@codesourcery.com>
351 * emultempl/armelf.em (arm_elf_before_allocation): Call
352 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
354 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
356 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
357 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
358 and to not skipping .idata* sections.
360 2006-08-16 Alan Modra <amodra@bigpond.net.au>
363 * ldlang.h (lang_output_section_statement_type): Replace
364 "processed" field with "processed_vma" and "processed_lma".
365 * ldlang.c (lang_do_assignments_1): Move lma setting code..
366 (lang_size_sections_1): ..to here.
367 (lang_reset_memory_regions): Adjust for
368 lang_output_section_statement_type change.
369 * ldexp.c (fold_name): Likewise.
371 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
373 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
374 "CONSTANT (MAXPAGESIZE)".
376 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
379 * ldlang.c (lang_section_bst_type): Moved to ...
382 * ldlang.h (lang_wild_statement_struct): Add a tree field.
384 * ldlang.c (wild_sort_fast): Use the tree field for BST.
386 (analyze_walk_wild_section_handler): Initialize the tree field.
388 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
391 * ldlang.c (update_wild_statements): Update the whole wild
394 2006-08-04 Nick Clifton <nickc@redhat.com>
395 Mike Frysinger <michael.frysinger@analog.com>
397 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
398 (__preinit_array_start, __preinit_array_end, __init_array_start,
399 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
400 Use ${USER_LABEL_PREFIX}.
401 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
402 (USER_LABEL_PREFIX): Set.
404 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
406 * ldmain.c (main): Initialise print_gc_sections field of link_info
408 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
410 * ld.texinfo: Document new switches.
411 * NEWS: Mention new switches.
413 2006-08-04 Richard Sandiford <richard@codesourcery.com>
414 Kazu Hirata <kazu@codesourcery.com>
415 Phil Edwards <phil@codesourcery.com>
417 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
419 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
420 * Makefile.in: Regenerate.
421 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
423 * emulparams/shelf_vxworks.sh: New file.
424 * emulparams/shlelf_vxworks.sh: Likewise.
425 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
426 (OTHER_END_SYMBOLS): Likewise _ehdr.
427 (DATA_END_SYMBOLS): Likewise _edata.
428 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
429 is indeed an ELF file before dealing with --force-dynamic.
431 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
434 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
435 elf64-x86-64-freebsd.
437 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
439 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
440 bfd_make_section_with_flags.
441 (exp_init_os): Updated.
442 (lang_add_section): Call init_os with flags.
443 (map_input_to_output_sections): Likewise.
445 2006-07-29 Richard Sandiford <richard@codesourcery.com>
447 * Makefile.am (eelf32b4300.c): Update dependencies.
448 (eelf32bmip.c): Likewise.
449 (eelf32bsmip.c): Likewise.
450 (eelf32btsmip.c): Likewise.
451 (eelf32btsmipn32.c): Likewise.
452 (eelf32ltsmip.c): Likewise.
453 (eelf32ltsmipn32.c): Likewise.
454 (eelf32ebmip.c): Likewise.
455 (eelf32ebmipvxworks.c): Likewise.
456 (eelf32elmip.c): Likewise.
457 (eelf32elmipvxworks.c): Likewise.
458 (eelf32bmipn32.c): Likewise.
459 (eelf32lmip.c): Likewise.
460 (eelf32mipswindiss.c): Likewise.
461 (eelf32lsmip.c): Likewise.
462 (eelf64bmip.c): Likewise.
463 (eelf64btsmip.c): Likewise.
464 (eelf64ltsmip.c): Likewise.
465 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
466 (emipsbsd.c): Likewise.
467 (emipsidt.c): Update dependencies.
468 (emipsidtl.c): Likewise.
469 (emipslit.c): Likewise.
470 (emipslnews.c): Likewise.
471 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
472 * Makefile.in: Regenerate.
473 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
474 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
475 * emultempl/irix.em: Include emultempl/mipself.em.
476 * emultempl/mipself.em: New file.
478 2006-07-26 Alan Modra <amodra@bigpond.net.au>
480 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
481 layout happens before segment map. Don't do segment map on
484 2006-07-26 Alan Modra <amodra@bigpond.net.au>
486 * ldexp.c (fold_name <LOADADDR>): Use the lma.
487 * ldlang.h (lang_memory_region_type): Delete old_length. Add
489 * ldlang.c (lang_memory_region_lookup): Init new field.
490 (lang_reset_memory_regions): Reset new field.
491 (lang_insert_orphan): Don't set load_base.
492 (lang_leave_overlay): Likewise.
493 (lang_size_sections_1): Delete unnecessary code setting lma_region
494 to region. Correct lma region check.
495 (lang_do_assignments_1): Rename output_section_statement parm
496 to current_os. Set lma from previous section in region.
498 * ldlang.c: Formatting.
500 2006-07-25 Bob Wilson <bob.wilson@acm.org>
502 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
503 Set discarded section's output_section to bfd_abs_section_ptr.
505 2006-07-26 Alan Modra <amodra@bigpond.net.au>
507 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
510 2006-07-24 Bob Wilson <bob.wilson@acm.org>
512 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
513 in dep_sec_name for null terminator. Make sure dep_sec_name has a
516 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
518 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
519 Set for *-*-solaris2*.
521 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
523 * ld.texinfo: Fix spelling mistakes.
524 * ldint.texinfo: Likewise.
526 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
528 * ldlang.c (lang_section_bst): New structure for sorting sections
530 (wild_sort_fast): New function: Insert a section into a binary
532 (output_section_callback_fast): New function: Store a section in
534 (output_section_callback_tree_to_list): New function: Convert a
536 (analyze_walk_wild_section_handler): Initialize handler_data
538 (wild): If the data is sorted by name use the BST method to sort
541 2006-07-19 Alan Modra <amodra@bigpond.net.au>
543 * ld.h (handle_asneeded_cref): Declare.
544 * ldcref.c: Include objalloc.h.
545 (old_table, old_count, old_tab, alloc_mark): New variables.
546 (tabsize, entsize, refsize, old_symcount): Likewise.
547 (add_cref): Use bfd_hash_allocate for refs.
548 (handle_asneeded_cref): New function.
549 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
551 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
553 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
554 typo setting targ_extra_libpath.
556 2006-07-10 Jakub Jelinek <jakub@redhat.com>
558 * scripttempl/elf.sc: Add .gnu.hash section.
559 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
560 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
561 (gld${EMULATION_NAME}_handle_option): Handle it.
562 (gld${EMULATION_NAME}_list_options): Document it.
563 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
564 * ld.texinfo: Document --hash-style option.
566 2006-07-10 Nick Clifton <nickc@redhat.com>
568 * po/zh_TW.po: New Chinese (traditional) translation.
569 * configure.in (ALL_LINGUAS): Add zh_TW.
570 * configure: Regenerate.
572 2006-07-07 Nick Clifton <nickc@redhat.com>
575 * ld.texinfo: Remove "Using LD" from the title since it is
578 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
581 * ld.texinfo: Fix spelling mistakes.
583 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
584 Nick Clifton <nickc@redhat.com>
586 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
587 length of format strings in the libname_fmt[] array, rather than
588 relying upon a statically chosen value. Adjust xmalloc call to
589 use this longest length.
591 2006-06-27 Nick Clifton <nickc@redhat.com>
593 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
596 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
598 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
601 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
603 * pe-dll.c (pe_details_type): Add new pointer for symbols list
605 (autofilter_symbollist): Split into autofilter_symbollist_generic
606 and autofilter_symbollist_i386.
607 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
608 autofilter_symbollist_generic for all the others.
609 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
610 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
611 into autofilter_symbollist_i386.
612 (auto_export): Get autofilter_symbollist from pe_details.
614 2006-06-22 Nick Clifton <nickc@redhat.com>
617 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
618 output files mention the file name and the fact that it is an
621 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
623 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
624 Restructure. Add native "%s.lib" format to search list
625 * ld.texinfo (node WIN32): Update documentation on dynamic lib
626 search order. Add another reason for using import libs.
628 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
630 * ldlang.c (lang_insert_orphan): Correctly handle the case where
631 the section is to end up after the section currently at the end
632 of the list in output_bfd.
634 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
636 * emultempl/mmo.em: Improve comments. Explain why there's
639 2006-06-21 Alan Modra <amodra@bigpond.net.au>
641 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
642 loop to ten iterations. Throw away any previous linker generated
644 * ldlang.c (lang_phdr_list): Make global.
645 * ldlang.h (lang_phdr_list): Declare.
646 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
647 * Makefile.in: Regenerate.
649 2006-06-20 Alan Modra <amodra@bigpond.net.au>
651 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
652 many ELF emul file deps that incorrectly said they needed elf32.em
653 instead of generic.em. Add genelf.em as required.
654 * Makefile.in: Regenerate.
655 * ldlang.c (lang_process): Call ldemul_finish before
656 lang_check_section_addresses.
657 * emulparams/arcelf.sh: Generic elf target needs genelf.
658 * emulparams/d30v_e.sh: Likewise.
659 * emulparams/d30v_o.sh: Likewise.
660 * emulparams/d30velf.sh: Likewise.
661 * emulparams/elf32_dlx.sh: Likewise.
662 * emulparams/elf32_i860.sh: Likewise.
663 * emulparams/elf32fr30.sh: Likewise.
664 * emulparams/elf32frv.sh: Likewise.
665 * emulparams/elf32iq10.sh: Likewise.
666 * emulparams/elf32iq2000.sh: Likewise.
667 * emulparams/elf32mt.sh: Likewise.
668 * emulparams/mn10200.sh: Likewise.
669 * emulparams/or32.sh: Likewise.
670 * emulparams/or32elf.sh: Likewise.
671 * emulparams/pjelf.sh: Likewise.
672 * emulparams/msp430all.sh: Likewise. Extract common entries.
673 * emulparams/pjlelf.sh: Include pjelf.sh.
674 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
675 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
676 * emultempl/elf-generic.em: New file.
677 * emultempl/genelf.em: New file.
678 * emultempl/elf32.em: Include elf-generic.em.
679 (gld${EMULATION_NAME}_layout_sections_again): Delete.
680 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
681 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
682 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
683 gld${EMULATION_NAME}_map_segments.
684 (LDEMUL_FINISH): Update.
685 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
686 source elf-generic.em.
687 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
688 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
689 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
690 gld${EMULATION_NAME}_map_segments.
691 (LDEMUL_FINISH): Update.
693 2006-06-19 Alan Modra <amodra@bigpond.net.au>
695 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
697 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
699 * ld.texinfo: Document new -z lazy option.
700 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
702 (gld${EMULATION_NAME}_list_options): Update help text.
704 2006-06-12 Fred Fish <fnf@specifix.com>
706 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
707 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
708 generated by mips gcc.
710 2006-06-12 Thiemo Seufer <ths@mips.com>
712 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
715 2006-06-09 Alan Modra <amodra@bigpond.net.au>
717 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
718 * ldlang.c (struct out_section_hash_entry): Rename from
719 output_statement_hash_entry. Delete output_section_statement_type
720 entry. Add statement_union_type entry. Adjust all users.
721 (output_section_statement_table): Rename from output_statement_table.
723 (output_section_statement_newfunc): Rename from
724 output_statement_newfunc. Adjust all users.
725 (output_section_statement_table_init): Rename from
726 output_statement_table_init. Adjust all users.
727 (output_section_statement_table_free): Rename from
728 output_statement_table_free. Adjust all users.
730 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
732 * po/Make-in (pdf, ps): New dummy targets.
734 2006-06-07 Alan Modra <amodra@bigpond.net.au>
736 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
737 info_section and overlay_section. Add noalloc_section.
738 * ldlang.c (lang_add_section): Adjust.
739 * ldgram.y (type): Adjust.
741 2006-06-06 Alan Modra <amodra@bigpond.net.au>
743 * ldlang.c (init_os): Whitespace.
744 (map_input_to_output_sections): Don't init_os for lang_input_section.
745 (print_all_symbols): Remove forward declaration. Convert to ISO C.
747 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
749 * po/Make-in (top_builddir): Define.
751 2006-06-05 Alan Modra <amodra@bigpond.net.au>
753 * ldexp.c (exp_get_abs_int): Make error message the same as
754 others emitted in this file.
756 2006-06-05 Alan Modra <amodra@bigpond.net.au>
758 * config.in: Regenerate.
760 2006-06-05 Alan Modra <amodra@bigpond.net.au>
762 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
764 2006-06-03 Alan Modra <amodra@bigpond.net.au>
766 * emultempl/elf32.em (global_found): Make it a pointer.
767 (stat_needed, try_needed): Adjust.
768 (check_needed): Don't skip non-loaded as-needed entries. Only
769 consider entries with both filename and the_bfd non-null.
770 (after_open): Try loading non-loaded as-needed libs to satisfy
773 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
775 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
776 * Makefile.in: Regenerate.
778 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
780 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
781 and LIBINTL_DEP everywhere.
783 (INCLUDES): Use @INCINTL@.
784 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
785 Remove local code for po/Makefile.
786 * Makefile.in, configure: Regenerated.
788 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
790 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
791 "CONSTANT (MAXPAGESIZE)".
792 * emulparams/armelf_nbsd.sh: Likewise.
793 * emulparams/armelf_vxworks.sh: Likewise.
794 * emulparams/armnto.sh: Likewise.
795 * emulparams/armsymbian.sh: Likewise.
796 * emulparams/crislinux.sh: Likewise.
797 * emulparams/elf32_i860.sh: Likewise.
798 * emulparams/elf32_i960.sh: Likewise.
799 * emulparams/elf32am33lin.sh: Likewise.
800 * emulparams/elf32bfinfd.sh: Likewise.
801 * emulparams/elf32bmipn32-defs.sh: Likewise.
802 * emulparams/elf32frvfd.sh: Likewise.
803 * emulparams/elf32i370.sh: Likewise.
804 * emulparams/elf32lppcnto.sh: Likewise.
805 * emulparams/elf32mcore.sh: Likewise.
806 * emulparams/elf32openrisc.sh: Likewise.
807 * emulparams/elf32ppcnto.sh: Likewise.
808 * emulparams/elf32ppcwindiss.sh: Likewise.
809 * emulparams/elf32vax.sh: Likewise.
810 * emulparams/elf32xc16x.sh: Likewise.
811 * emulparams/elf32xc16xl.sh: Likewise.
812 * emulparams/elf32xc16xs.sh: Likewise.
813 * emulparams/elf64_aix.sh: Likewise.
814 * emulparams/elf64hppa.sh: Likewise.
815 * emulparams/elf64mmix.sh: Likewise.
816 * emulparams/elf_i386_be.sh: Likewise.
817 * emulparams/elf_i386_chaos.sh: Likewise.
818 * emulparams/elf_i386_ldso.sh: Likewise.
819 * emulparams/hppa64linux.sh: Likewise.
820 * emulparams/hppalinux.sh: Likewise.
821 * emulparams/hppaobsd.sh: Likewise.
822 * emulparams/i386lynx.sh: Likewise.
823 * emulparams/i386moss.sh: Likewise.
824 * emulparams/i386nto.sh: Likewise.
825 * emulparams/i386nw.sh: Likewise.
826 * emulparams/m32relf_linux.sh: Likewise.
827 * emulparams/m68kpsos.sh: Likewise.
828 * emulparams/or32elf.sh: Likewise.
829 * emulparams/pjelf.sh: Likewise.
830 * emulparams/pjlelf.sh: Likewise.
831 * emulparams/ppclynx.sh: Likewise.
832 * emulparams/ppcnw.sh: Likewise.
833 * emulparams/shelf32_nbsd.sh : Likewise.
834 * emulparams/shelf_nbsd.sh: Likewise.
835 * emulparams/shelf_nto.sh: Likewise.
836 * emulparams/shlelf_nto.sh: Likewise.
837 * emulparams/xtensa-config.sh: Likewise.
839 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
840 "CONSTANT (MAXPAGESIZE)".
841 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
842 * emulparams/elf32_sparc.sh: Likewise.
843 * emulparams/elf32bmip.sh: Likewise.
844 * emulparams/elf32ppccommon.sh: Likewise.
845 * emulparams/elf64_ia64.sh: Likewise.
846 * emulparams/elf64_s390.sh: Likewise.
847 * emulparams/elf64_sparc.sh: Likewise.
848 * emulparams/elf64alpha.sh: Likewise.
849 * emulparams/elf64ppc.sh: Likewise.
850 * emulparams/elf_i386.sh: Likewise.
851 * emulparams/elf_i386_vxworks.sh: Likewise.
852 * emulparams/elf_s390.sh: Likewise.
853 * emulparams/elf_x86_64.sh: Likewise.
854 * emulparams/shlelf32_linux.sh: Likewise.
855 * emulparams/shlelf_linux.sh: Likewise.
857 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
858 "CONSTANT (COMMONPAGESIZE)".
859 * emulparams/elf32btsmipn32.sh: Likewise.
861 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
862 "-z max-page-size=" and "-z common-page-size=".
863 (gld${EMULATION_NAME}_list_options): Likewise.
865 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
867 * ld.texinfo: Document "-z max-page-size=" and
868 "-z common-page-size=".
870 * ldexp.c (exp_print_token): Handle CONSTANT.
871 (fold_name): Likewise.
872 * ldgram.y: Likewise.
875 * ldmain.c (main): Initiliaze config.maxpagesize and
876 config.commonpagesize. Call bfd_emul_set_maxpagesize if
877 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
878 config.commonpagesize config.maxpagesize isn't 0.
880 2006-05-30 Nick Clifton <nickc@redhat.com>
882 * po/es.po: Updated Spanish translation.
884 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
886 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
888 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
891 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
892 bfd. Support 64bit host for --enable-targets=all.
893 * configure: Regenerated.
895 2006-05-24 Nick Clifton <nickc@redhat.com>
897 * po/vi.po: Updated Vietnamese translation.
899 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
901 * configure.tgt: Add avr6 to emulation list.
902 * Makefile.am: Add eavr6.o and corresponding rule.
903 * Makefile.in: Regenerate.
904 * emulparams/avr6.sh: New file.
905 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
906 for target option support.
907 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
908 * scripttempl/avr.sc: Add ".trampolines" section.
909 * emultempl/avrelf.em: Add new file for target specific options.
911 2006-05-22 Nick Clifton <nickc@redhat.com>
913 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
915 2006-05-19 Alan Modra <amodra@bigpond.net.au>
917 * ldlang.c (lang_size_sections_1): Don't check mem regions for
918 os->ignored sections.
920 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
922 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
923 before redoing one_lang_size_sections_pass.
925 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
927 * ld.texinfo: Rename "Index" to "LD Index"
929 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
931 * pe-dll.c (autofilter_symbollist): Add Dllmain,
932 DllMainCRTStartup, _DllMainCRTStartup and .text.
933 (autofilter_liblist): Add libcegcc.
934 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
935 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
936 they can still contain relocs that need processing.
937 Skip the .idata$6 section.
938 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
939 (make_one): Use the new array.
940 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
941 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
943 2006-05-05 Alan Modra <amodra@bigpond.net.au>
945 * ld.texinfo: Document PowerPC and PowerPC64 options.
946 * gen-doc.texi: Enable.
948 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
950 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
951 (TEXI2POD): Use AM_MAKEINFOFLAGS.
952 (configdoc.texi): Don't set top_srcdir.
953 * ld.texinfo: Don't use top_srcdir.
954 * aclocal.m4, Makefile.in: Regenerated.
956 2006-04-19 Alan Modra <amodra@bigpond.net.au>
958 * ldlang.c (wild): Tidy default_common_section loop.
959 (print_input_section): Format.
961 * configure: Regenerate.
963 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
965 * po/POTFILES.in: Regenerated.
967 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
969 * config.in: Regenerated.
971 2006-04-14 David Heine <dlheine@tensilica.com>
972 Bob Wilson <bob.wilson@acm.org>
974 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
975 function to strip inconsistent linkonce sections.
976 (input_section_linked_worker, input_section_linked): New.
977 (is_inconsistent_linkonce_section): New.
978 (xtensa_strip_inconsistent_linkonce_sections): New.
980 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
982 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
983 and Dragonfly targets.
984 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
985 * Makefile.am (HFILES): Add elf-hints-local.h.
986 * elf-hints-local.h: New file.
987 * Makefile.in: Regenerate.
988 * configure: Regenerate.
990 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
992 * ld.texinfo: Fix typo in documentation of --check-sections.
994 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
996 * ldlang.c (load_symbols): Set as_needed and add_needed according
997 to the corresponding script's fields while processing it.
999 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
1001 * Makefile.am: Add install-html, install-html-am, and
1002 install-html-recursive targets.
1003 * Makefile.in: Regenerate.
1004 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
1005 * configure: Regenerate.
1006 * po/Make-in: Add install-html target.
1008 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
1010 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
1011 link_info.need_relax_finalize.
1013 * ldlang.c (relax_sections): New.
1014 (lang_process): Use. Call relax_sections link_info.relax_pass
1017 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
1018 link_info.need_relax_finalize.
1020 2006-04-05 Alan Modra <amodra@bigpond.net.au>
1022 * Makefile.am (GENSCRIPTS): Pass prefix.
1023 * Makefile.in: Regenerate.
1024 * genscripts.sh: Adjust for extra parameter.
1025 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
1027 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
1030 2006-04-05 Richard Sandiford <richard@codesourcery.com>
1031 Daniel Jacobowitz <dan@codesourcery.com>
1033 * configure.tgt (sparc*-*-vxworks*): New stanza.
1034 * emulparams/elf32_sparc_vxworks.sh: New file.
1035 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
1036 (eelf32_sparc_vxworks.c): New rule.
1037 * Makefile.in: Regenerate.
1039 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
1041 * ldlang.c (lang_map): Print the list of discarded input sections.
1042 (print_input_section): Change parameter and print zero-sized sections.
1043 (print_statement): Adjust call to print_input_section.
1045 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1047 * deffilep.y (def_image_name): If LIBRARY or NAME statement
1048 specifies an empty string, retain the name specified on command
1050 * ld.texinfo: Document above.
1052 2006-03-31 Jakub Jelinek <jakub@redhat.com>
1054 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
1055 bfd_find_nearest_line succeeded for %C or %D, but filename
1056 is NULL, print section+offset at the end.
1058 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
1060 * emulparams/elf32bfinfd.sh: New file.
1061 * emultempl/bfin.em: Delete.
1062 * emulparams/bfin.sh: Lose reference to bfin.em.
1063 * Makefile.am (eelf32bfin.c): Likewise.
1064 (eelf32bfinfd.c): New.
1065 * Makefile.in: Regenerate.
1066 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
1069 2006-03-22 Richard Sandiford <richard@codesourcery.com>
1070 Daniel Jacobowitz <dan@codesourcery.com>
1071 Phil Edwards <phil@codesourcery.com>
1072 Zack Weinberg <zack@codesourcery.com>
1073 Mark Mitchell <mark@codesourcery.com>
1074 Nathan Sidwell <nathan@codesourcery.com>
1076 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
1077 separate VxWorks emulations.
1078 * emulparams/elf32ebmipvxworks.sh: New file.
1079 * emulparams/elf32elmipvxworks.sh: New file.
1080 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
1081 eelf32elmipvxworks.o.
1082 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
1083 * Makefile.in: Regenerate.
1085 2006-03-16 Alan Modra <amodra@bigpond.net.au>
1088 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
1089 * ldlang.c (output_statement_table_init, lang_init): Likewise.
1090 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
1091 (undefined_symbol): Likewise.
1093 2006-03-07 Richard Sandiford <richard@codesourcery.com>
1094 Daniel Jacobowitz <dan@codesourcery.com>
1095 Zack Weinberg <zack@codesourcery.com>
1096 Nathan Sidwell <nathan@codesourcery.com>
1097 Paul Brook <paul@codesourcery.com>
1098 Ricardo Anguiano <anguiano@codesourcery.com>
1099 Phil Edwards <phil@codesourcery.com>
1101 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
1102 (MAXPAGESIZE): Define.
1103 * emulparams/vxworks.sh: Undefine EMBEDDED.
1104 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
1105 * Makefile.in: Regenerate.
1107 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
1109 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
1110 Add KEEP() directives.
1111 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
1112 .bss output sections.
1114 2006-03-03 Richard Sandiford <richard@codesourcery.com>
1116 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
1117 (EXTRA_EM_FILE): Define.
1118 * emultempl/vxworks.em: New file.
1119 * ld.texinfo (--force-dynamic): Document.
1120 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
1122 * Makefile.in: Regenerate.
1124 2006-03-02 Richard Sandiford <richard@codesourcery.com>
1126 * emulparams/elf32ppccommon.sh: New file, extracted from...
1127 * emulparams/elf32ppc.sh: ...here.
1128 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
1129 instead of elf32ppc.sh.
1130 (BSS_PLT): Remove override.
1131 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
1132 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
1133 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
1134 (eelf32ppclinux.c): Likewise.
1135 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
1136 * Makefile.in: Regenerate.
1138 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
1140 * Makefile.am: Add html target.
1141 * Makefile.in: Regenerate.
1142 * po/Make-in: Add html target.
1144 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
1145 Anil Paranjape <anilp1@kpitcummins.com>
1146 Shilin Shakti <shilins@kpitcummins.com>
1148 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
1149 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
1150 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
1151 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
1152 * emulparams/elf32xc16xl.sh: Emulation script for large model.
1153 * emulparams/elf32xc16xs.sh: Emulation script for small model.
1154 * Makefile.am: Add entry to make xc16x target.
1155 * Makefile.in: Regenerate.
1156 * configure.tgt: Specify default and other emulation parameters
1158 * NEWS: Announce the support for the new target.
1160 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
1162 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1163 Use the traditional target.
1165 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
1167 * configure.tgt (arm*b-*-linux-gnueabi): Change to
1168 arm*b-*-linux-*eabi.
1169 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
1171 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
1174 * NEWS: Updated for the Linux linker search order change.
1176 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1177 gld${EMULATION_NAME}_check_ld_so_conf before checking default
1178 search directories for DT_NEEDED entries.
1180 2006-02-07 Paul Brook <paul@codesourcery.com>
1182 * emultempl/armelf.em: Include elf/arm.h.
1183 (arm_elf_finish): Set low address bit if enty point is a Thumb
1186 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1188 * deffilep.y (def_image_name): If the image name does not have
1189 a suffix, append the default.
1190 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
1192 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
1194 * NEWS: Mention support for forward exports in PE-COFF dll's.
1195 * ld.texinfo: Expand documentation of EXPORT statements in
1198 2006-01-31 Filip Navara <navaraf@reactos.com>
1200 * deffile.h (struct def_file_export): Add field flag_forward.
1201 * pe-dll.c (process_def_file): Check for forward exports.
1202 (generate_edata): Generate forward export symbols.
1203 (fill_edata): Emit them.
1205 * pe-dll.c (process_def_file): Don't crash on malformed
1206 fastcall symbol names in .def file.
1208 2006-01-30 Nick Clifton <nickc@redhat.com>
1210 * po/vi.po: Updated Vietnamese translation.
1212 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
1214 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1215 file:" as informational message, not a warning.
1217 2006-01-18 Roger Sayle <roger@eyesopen.com>
1219 * emultempl/irix.em: Use lbasename instead of basename.
1221 2006-01-16 Nick Clifton <nickc@redhat.com>
1223 * po/zh_CN.po: New Chinese (simplified) translation.
1224 * configure.in (ALL_LINGUAS): Add "zh_CH".
1225 * configure: Regenerate.
1227 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
1229 * ld.texinfo (Options): Fix typo.
1231 For older changes see ChangeLog-2005
1237 version-control: never