1 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
3 * emulparams/scoreelf.sh: New file.
4 * emultempl/scoreelf.em: New file.
5 * Makefile.am: Add Score files.
6 * Makefile.in: Regenerate.
7 * configure.tgt: Add Score target.
8 * NEWS: Mention new target support.
10 2006-09-16 Nick Clifton <nickc@redhat.com>
11 Pedro Alves <pedro_alves@portugalmail.pt>
13 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
14 macros defined in bfd.h.
16 * ldwrite.c: Likewise.
19 * emultempl/aix.em: Likewise.
20 * emultempl/beos.em: Likewise.
21 * emultempl/elf32.em: Likewise.
22 * emultempl/pe.em: Likewise.
23 * emultempl/sunos.em: Likewise.
24 * emultempl/xtensaelf.em: Likewise.
26 2006-09-15 Nick Clifton <nickc@redhat.com>
29 * ldlang.c (lang_size_sections_1): Do not abort when encountering
30 a non-empty section that is ignored. Instead produce a warning
33 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
35 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
37 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
39 * Makefile.am (CXX): Set to g++.
40 (CXX_FOR_TARGET): Likewise.
41 * Makefile.in: Regenerated.
43 * NEWS: Mention --dynamic-list.
45 * ld.texinfo: Document --dynamic-list.
47 * ldgram.y: Support dynamic list.
49 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
50 on link_info.dynamic if needed.
51 (lang_append_dynamic_list): New.
52 (lang_append_dynamic_list_cpp_typeinfo): New.
53 * ldlang.h (lang_append_dynamic_list): Likewise.
54 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
56 * ldlex.h (input_enum): Add input_dynamic_list.
59 * ldmain.c (main): Initialize link_info.dynamic.
61 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
62 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
63 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
64 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
65 (parse_args): Handle OPTION_DYNAMIC_LIST and
66 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
68 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
70 * emulparams/h8300elf.sh: _tinydata should not be placed in
72 * emulparams/h8300.sh: Likewise.
73 * emulparams/h8300sxelf.sh: Likewise.
75 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
78 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
81 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
83 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
85 2006-08-28 Alan Modra <amodra@bigpond.net.au>
87 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
88 not match random object files in a path containing "crtbegin" or
89 "crtend" as part of a directory name.
90 * scripttempl/armbpabi.sc: Likewise.
91 * scripttempl/crisaout.sc: Likewise.
92 * scripttempl/elf32crx.sc: Likewise.
93 * scripttempl/elf32sh-symbian.sc: Likewise.
94 * scripttempl/elf_chaos.sc: Likewise.
95 * scripttempl/elfd10v.sc: Likewise.
96 * scripttempl/elfd30v.sc: Likewise.
97 * scripttempl/elfxtensa.sc: Likewise.
98 * scripttempl/iq2000.sc: Likewise.
99 * scripttempl/mmo.sc: Likewise.
100 * scripttempl/xstormy16.sc: Likewise.
102 2006-08-24 Bob Wilson <bob.wilson@acm.org>
104 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
105 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
107 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
109 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
110 Adjust the current address of DEFAULT_MEMORY_REGION even
111 when dot hasn't changed.
113 2006-08-23 Alan Modra <amodra@bigpond.net.au>
115 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
116 rather than a section relative value.
118 2006-08-22 Alan Modra <amodra@bigpond.net.au>
120 * NEWS: Mention LMA default change.
121 * ld.texinfo (Output Section LMA): Update default description.
122 (Location Counter): Clarify backward movement.
123 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
124 default lma equal to vma. Warn on backward movement of dot.
126 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
128 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
131 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
133 * Makefile.am: Split arm-wince into its own emulation.
134 * Makefile.in: Regenerate.
135 * pe-dll.c : Define PE_ARCH_arm_wince.
136 (pe_detail_list): Add PE_ARCH_arm_wince case.
137 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
138 * emulparams/arm_wince_pe.sh: New file.
139 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
140 Remap bfd_arm_allocate_interworking_sections,
141 bfd_arm_get_bfd_for_interworking and
142 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
144 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
145 arm-epoc bfd format names.
147 2006-08-18 Paul Brook <paul@codesourcery.com>
149 * emultempl/armelf.em (arm_elf_before_allocation): Call
150 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
152 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
154 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
155 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
156 and to not skipping .idata* sections.
158 2006-08-16 Alan Modra <amodra@bigpond.net.au>
161 * ldlang.h (lang_output_section_statement_type): Replace
162 "processed" field with "processed_vma" and "processed_lma".
163 * ldlang.c (lang_do_assignments_1): Move lma setting code..
164 (lang_size_sections_1): ..to here.
165 (lang_reset_memory_regions): Adjust for
166 lang_output_section_statement_type change.
167 * ldexp.c (fold_name): Likewise.
169 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
171 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
172 "CONSTANT (MAXPAGESIZE)".
174 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
177 * ldlang.c (lang_section_bst_type): Moved to ...
180 * ldlang.h (lang_wild_statement_struct): Add a tree field.
182 * ldlang.c (wild_sort_fast): Use the tree field for BST.
184 (analyze_walk_wild_section_handler): Initialize the tree field.
186 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
189 * ldlang.c (update_wild_statements): Update the whole wild
192 2006-08-04 Nick Clifton <nickc@redhat.com>
193 Mike Frysinger <michael.frysinger@analog.com>
195 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
196 (__preinit_array_start, __preinit_array_end, __init_array_start,
197 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
198 Use ${USER_LABEL_PREFIX}.
199 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
200 (USER_LABEL_PREFIX): Set.
202 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
204 * ldmain.c (main): Initialise print_gc_sections field of link_info
206 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
208 * ld.texinfo: Document new switches.
209 * NEWS: Mention new switches.
211 2006-08-04 Richard Sandiford <richard@codesourcery.com>
212 Kazu Hirata <kazu@codesourcery.com>
213 Phil Edwards <phil@codesourcery.com>
215 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
217 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
218 * Makefile.in: Regenerate.
219 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
221 * emulparams/shelf_vxworks.sh: New file.
222 * emulparams/shlelf_vxworks.sh: Likewise.
223 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
224 (OTHER_END_SYMBOLS): Likewise _ehdr.
225 (DATA_END_SYMBOLS): Likewise _edata.
226 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
227 is indeed an ELF file before dealing with --force-dynamic.
229 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
232 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
233 elf64-x86-64-freebsd.
235 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
237 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
238 bfd_make_section_with_flags.
239 (exp_init_os): Updated.
240 (lang_add_section): Call init_os with flags.
241 (map_input_to_output_sections): Likewise.
243 2006-07-29 Richard Sandiford <richard@codesourcery.com>
245 * Makefile.am (eelf32b4300.c): Update dependencies.
246 (eelf32bmip.c): Likewise.
247 (eelf32bsmip.c): Likewise.
248 (eelf32btsmip.c): Likewise.
249 (eelf32btsmipn32.c): Likewise.
250 (eelf32ltsmip.c): Likewise.
251 (eelf32ltsmipn32.c): Likewise.
252 (eelf32ebmip.c): Likewise.
253 (eelf32ebmipvxworks.c): Likewise.
254 (eelf32elmip.c): Likewise.
255 (eelf32elmipvxworks.c): Likewise.
256 (eelf32bmipn32.c): Likewise.
257 (eelf32lmip.c): Likewise.
258 (eelf32mipswindiss.c): Likewise.
259 (eelf32lsmip.c): Likewise.
260 (eelf64bmip.c): Likewise.
261 (eelf64btsmip.c): Likewise.
262 (eelf64ltsmip.c): Likewise.
263 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
264 (emipsbsd.c): Likewise.
265 (emipsidt.c): Update dependencies.
266 (emipsidtl.c): Likewise.
267 (emipslit.c): Likewise.
268 (emipslnews.c): Likewise.
269 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
270 * Makefile.in: Regenerate.
271 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
272 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
273 * emultempl/irix.em: Include emultempl/mipself.em.
274 * emultempl/mipself.em: New file.
276 2006-07-26 Alan Modra <amodra@bigpond.net.au>
278 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
279 layout happens before segment map. Don't do segment map on
282 2006-07-26 Alan Modra <amodra@bigpond.net.au>
284 * ldexp.c (fold_name <LOADADDR>): Use the lma.
285 * ldlang.h (lang_memory_region_type): Delete old_length. Add
287 * ldlang.c (lang_memory_region_lookup): Init new field.
288 (lang_reset_memory_regions): Reset new field.
289 (lang_insert_orphan): Don't set load_base.
290 (lang_leave_overlay): Likewise.
291 (lang_size_sections_1): Delete unnecessary code setting lma_region
292 to region. Correct lma region check.
293 (lang_do_assignments_1): Rename output_section_statement parm
294 to current_os. Set lma from previous section in region.
296 * ldlang.c: Formatting.
298 2006-07-25 Bob Wilson <bob.wilson@acm.org>
300 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
301 Set discarded section's output_section to bfd_abs_section_ptr.
303 2006-07-26 Alan Modra <amodra@bigpond.net.au>
305 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
308 2006-07-24 Bob Wilson <bob.wilson@acm.org>
310 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
311 in dep_sec_name for null terminator. Make sure dep_sec_name has a
314 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
316 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
317 Set for *-*-solaris2*.
319 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
321 * ld.texinfo: Fix spelling mistakes.
322 * ldint.texinfo: Likewise.
324 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
326 * ldlang.c (lang_section_bst): New structure for sorting sections
328 (wild_sort_fast): New function: Insert a section into a binary
330 (output_section_callback_fast): New function: Store a section in
332 (output_section_callback_tree_to_list): New function: Convert a
334 (analyze_walk_wild_section_handler): Initialize handler_data
336 (wild): If the data is sorted by name use the BST method to sort
339 2006-07-19 Alan Modra <amodra@bigpond.net.au>
341 * ld.h (handle_asneeded_cref): Declare.
342 * ldcref.c: Include objalloc.h.
343 (old_table, old_count, old_tab, alloc_mark): New variables.
344 (tabsize, entsize, refsize, old_symcount): Likewise.
345 (add_cref): Use bfd_hash_allocate for refs.
346 (handle_asneeded_cref): New function.
347 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
349 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
351 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
352 typo setting targ_extra_libpath.
354 2006-07-10 Jakub Jelinek <jakub@redhat.com>
356 * scripttempl/elf.sc: Add .gnu.hash section.
357 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
358 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
359 (gld${EMULATION_NAME}_handle_option): Handle it.
360 (gld${EMULATION_NAME}_list_options): Document it.
361 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
362 * ld.texinfo: Document --hash-style option.
364 2006-07-10 Nick Clifton <nickc@redhat.com>
366 * po/zh_TW.po: New Chinese (traditional) translation.
367 * configure.in (ALL_LINGUAS): Add zh_TW.
368 * configure: Regenerate.
370 2006-07-07 Nick Clifton <nickc@redhat.com>
373 * ld.texinfo: Remove "Using LD" from the title since it is
376 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
379 * ld.texinfo: Fix spelling mistakes.
381 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
382 Nick Clifton <nickc@redhat.com>
384 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
385 length of format strings in the libname_fmt[] array, rather than
386 relying upon a statically chosen value. Adjust xmalloc call to
387 use this longest length.
389 2006-06-27 Nick Clifton <nickc@redhat.com>
391 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
394 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
396 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
399 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
401 * pe-dll.c (pe_details_type): Add new pointer for symbols list
403 (autofilter_symbollist): Split into autofilter_symbollist_generic
404 and autofilter_symbollist_i386.
405 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
406 autofilter_symbollist_generic for all the others.
407 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
408 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
409 into autofilter_symbollist_i386.
410 (auto_export): Get autofilter_symbollist from pe_details.
412 2006-06-22 Nick Clifton <nickc@redhat.com>
415 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
416 output files mention the file name and the fact that it is an
419 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
421 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
422 Restructure. Add native "%s.lib" format to search list
423 * ld.texinfo (node WIN32): Update documentation on dynamic lib
424 search order. Add another reason for using import libs.
426 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
428 * ldlang.c (lang_insert_orphan): Correctly handle the case where
429 the section is to end up after the section currently at the end
430 of the list in output_bfd.
432 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
434 * emultempl/mmo.em: Improve comments. Explain why there's
437 2006-06-21 Alan Modra <amodra@bigpond.net.au>
439 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
440 loop to ten iterations. Throw away any previous linker generated
442 * ldlang.c (lang_phdr_list): Make global.
443 * ldlang.h (lang_phdr_list): Declare.
444 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
445 * Makefile.in: Regenerate.
447 2006-06-20 Alan Modra <amodra@bigpond.net.au>
449 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
450 many ELF emul file deps that incorrectly said they needed elf32.em
451 instead of generic.em. Add genelf.em as required.
452 * Makefile.in: Regenerate.
453 * ldlang.c (lang_process): Call ldemul_finish before
454 lang_check_section_addresses.
455 * emulparams/arcelf.sh: Generic elf target needs genelf.
456 * emulparams/d30v_e.sh: Likewise.
457 * emulparams/d30v_o.sh: Likewise.
458 * emulparams/d30velf.sh: Likewise.
459 * emulparams/elf32_dlx.sh: Likewise.
460 * emulparams/elf32_i860.sh: Likewise.
461 * emulparams/elf32fr30.sh: Likewise.
462 * emulparams/elf32frv.sh: Likewise.
463 * emulparams/elf32iq10.sh: Likewise.
464 * emulparams/elf32iq2000.sh: Likewise.
465 * emulparams/elf32mt.sh: Likewise.
466 * emulparams/mn10200.sh: Likewise.
467 * emulparams/or32.sh: Likewise.
468 * emulparams/or32elf.sh: Likewise.
469 * emulparams/pjelf.sh: Likewise.
470 * emulparams/msp430all.sh: Likewise. Extract common entries.
471 * emulparams/pjlelf.sh: Include pjelf.sh.
472 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
473 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
474 * emultempl/elf-generic.em: New file.
475 * emultempl/genelf.em: New file.
476 * emultempl/elf32.em: Include elf-generic.em.
477 (gld${EMULATION_NAME}_layout_sections_again): Delete.
478 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
479 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
480 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
481 gld${EMULATION_NAME}_map_segments.
482 (LDEMUL_FINISH): Update.
483 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
484 source elf-generic.em.
485 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
486 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
487 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
488 gld${EMULATION_NAME}_map_segments.
489 (LDEMUL_FINISH): Update.
491 2006-06-19 Alan Modra <amodra@bigpond.net.au>
493 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
495 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
497 * ld.texinfo: Document new -z lazy option.
498 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
500 (gld${EMULATION_NAME}_list_options): Update help text.
502 2006-06-12 Fred Fish <fnf@specifix.com>
504 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
505 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
506 generated by mips gcc.
508 2006-06-12 Thiemo Seufer <ths@mips.com>
510 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
513 2006-06-09 Alan Modra <amodra@bigpond.net.au>
515 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
516 * ldlang.c (struct out_section_hash_entry): Rename from
517 output_statement_hash_entry. Delete output_section_statement_type
518 entry. Add statement_union_type entry. Adjust all users.
519 (output_section_statement_table): Rename from output_statement_table.
521 (output_section_statement_newfunc): Rename from
522 output_statement_newfunc. Adjust all users.
523 (output_section_statement_table_init): Rename from
524 output_statement_table_init. Adjust all users.
525 (output_section_statement_table_free): Rename from
526 output_statement_table_free. Adjust all users.
528 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
530 * po/Make-in (pdf, ps): New dummy targets.
532 2006-06-07 Alan Modra <amodra@bigpond.net.au>
534 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
535 info_section and overlay_section. Add noalloc_section.
536 * ldlang.c (lang_add_section): Adjust.
537 * ldgram.y (type): Adjust.
539 2006-06-06 Alan Modra <amodra@bigpond.net.au>
541 * ldlang.c (init_os): Whitespace.
542 (map_input_to_output_sections): Don't init_os for lang_input_section.
543 (print_all_symbols): Remove forward declaration. Convert to ISO C.
545 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
547 * po/Make-in (top_builddir): Define.
549 2006-06-05 Alan Modra <amodra@bigpond.net.au>
551 * ldexp.c (exp_get_abs_int): Make error message the same as
552 others emitted in this file.
554 2006-06-05 Alan Modra <amodra@bigpond.net.au>
556 * config.in: Regenerate.
558 2006-06-05 Alan Modra <amodra@bigpond.net.au>
560 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
562 2006-06-03 Alan Modra <amodra@bigpond.net.au>
564 * emultempl/elf32.em (global_found): Make it a pointer.
565 (stat_needed, try_needed): Adjust.
566 (check_needed): Don't skip non-loaded as-needed entries. Only
567 consider entries with both filename and the_bfd non-null.
568 (after_open): Try loading non-loaded as-needed libs to satisfy
571 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
573 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
574 * Makefile.in: Regenerate.
576 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
578 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
579 and LIBINTL_DEP everywhere.
581 (INCLUDES): Use @INCINTL@.
582 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
583 Remove local code for po/Makefile.
584 * Makefile.in, configure: Regenerated.
586 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
588 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
589 "CONSTANT (MAXPAGESIZE)".
590 * emulparams/armelf_nbsd.sh: Likewise.
591 * emulparams/armelf_vxworks.sh: Likewise.
592 * emulparams/armnto.sh: Likewise.
593 * emulparams/armsymbian.sh: Likewise.
594 * emulparams/crislinux.sh: Likewise.
595 * emulparams/elf32_i860.sh: Likewise.
596 * emulparams/elf32_i960.sh: Likewise.
597 * emulparams/elf32am33lin.sh: Likewise.
598 * emulparams/elf32bfinfd.sh: Likewise.
599 * emulparams/elf32bmipn32-defs.sh: Likewise.
600 * emulparams/elf32frvfd.sh: Likewise.
601 * emulparams/elf32i370.sh: Likewise.
602 * emulparams/elf32lppcnto.sh: Likewise.
603 * emulparams/elf32mcore.sh: Likewise.
604 * emulparams/elf32openrisc.sh: Likewise.
605 * emulparams/elf32ppcnto.sh: Likewise.
606 * emulparams/elf32ppcwindiss.sh: Likewise.
607 * emulparams/elf32vax.sh: Likewise.
608 * emulparams/elf32xc16x.sh: Likewise.
609 * emulparams/elf32xc16xl.sh: Likewise.
610 * emulparams/elf32xc16xs.sh: Likewise.
611 * emulparams/elf64_aix.sh: Likewise.
612 * emulparams/elf64hppa.sh: Likewise.
613 * emulparams/elf64mmix.sh: Likewise.
614 * emulparams/elf_i386_be.sh: Likewise.
615 * emulparams/elf_i386_chaos.sh: Likewise.
616 * emulparams/elf_i386_ldso.sh: Likewise.
617 * emulparams/hppa64linux.sh: Likewise.
618 * emulparams/hppalinux.sh: Likewise.
619 * emulparams/hppaobsd.sh: Likewise.
620 * emulparams/i386lynx.sh: Likewise.
621 * emulparams/i386moss.sh: Likewise.
622 * emulparams/i386nto.sh: Likewise.
623 * emulparams/i386nw.sh: Likewise.
624 * emulparams/m32relf_linux.sh: Likewise.
625 * emulparams/m68kpsos.sh: Likewise.
626 * emulparams/or32elf.sh: Likewise.
627 * emulparams/pjelf.sh: Likewise.
628 * emulparams/pjlelf.sh: Likewise.
629 * emulparams/ppclynx.sh: Likewise.
630 * emulparams/ppcnw.sh: Likewise.
631 * emulparams/shelf32_nbsd.sh : Likewise.
632 * emulparams/shelf_nbsd.sh: Likewise.
633 * emulparams/shelf_nto.sh: Likewise.
634 * emulparams/shlelf_nto.sh: Likewise.
635 * emulparams/xtensa-config.sh: Likewise.
637 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
638 "CONSTANT (MAXPAGESIZE)".
639 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
640 * emulparams/elf32_sparc.sh: Likewise.
641 * emulparams/elf32bmip.sh: Likewise.
642 * emulparams/elf32ppccommon.sh: Likewise.
643 * emulparams/elf64_ia64.sh: Likewise.
644 * emulparams/elf64_s390.sh: Likewise.
645 * emulparams/elf64_sparc.sh: Likewise.
646 * emulparams/elf64alpha.sh: Likewise.
647 * emulparams/elf64ppc.sh: Likewise.
648 * emulparams/elf_i386.sh: Likewise.
649 * emulparams/elf_i386_vxworks.sh: Likewise.
650 * emulparams/elf_s390.sh: Likewise.
651 * emulparams/elf_x86_64.sh: Likewise.
652 * emulparams/shlelf32_linux.sh: Likewise.
653 * emulparams/shlelf_linux.sh: Likewise.
655 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
656 "CONSTANT (COMMONPAGESIZE)".
657 * emulparams/elf32btsmipn32.sh: Likewise.
659 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
660 "-z max-page-size=" and "-z common-page-size=".
661 (gld${EMULATION_NAME}_list_options): Likewise.
663 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
665 * ld.texinfo: Document "-z max-page-size=" and
666 "-z common-page-size=".
668 * ldexp.c (exp_print_token): Handle CONSTANT.
669 (fold_name): Likewise.
670 * ldgram.y: Likewise.
673 * ldmain.c (main): Initiliaze config.maxpagesize and
674 config.commonpagesize. Call bfd_emul_set_maxpagesize if
675 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
676 config.commonpagesize config.maxpagesize isn't 0.
678 2006-05-30 Nick Clifton <nickc@redhat.com>
680 * po/es.po: Updated Spanish translation.
682 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
684 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
686 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
689 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
690 bfd. Support 64bit host for --enable-targets=all.
691 * configure: Regenerated.
693 2006-05-24 Nick Clifton <nickc@redhat.com>
695 * po/vi.po: Updated Vietnamese translation.
697 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
699 * configure.tgt: Add avr6 to emulation list.
700 * Makefile.am: Add eavr6.o and corresponding rule.
701 * Makefile.in: Regenerate.
702 * emulparams/avr6.sh: New file.
703 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
704 for target option support.
705 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
706 * scripttempl/avr.sc: Add ".trampolines" section.
707 * emultempl/avrelf.em: Add new file for target specific options.
709 2006-05-22 Nick Clifton <nickc@redhat.com>
711 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
713 2006-05-19 Alan Modra <amodra@bigpond.net.au>
715 * ldlang.c (lang_size_sections_1): Don't check mem regions for
716 os->ignored sections.
718 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
720 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
721 before redoing one_lang_size_sections_pass.
723 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
725 * ld.texinfo: Rename "Index" to "LD Index"
727 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
729 * pe-dll.c (autofilter_symbollist): Add Dllmain,
730 DllMainCRTStartup, _DllMainCRTStartup and .text.
731 (autofilter_liblist): Add libcegcc.
732 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
733 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
734 they can still contain relocs that need processing.
735 Skip the .idata$6 section.
736 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
737 (make_one): Use the new array.
738 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
739 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
741 2006-05-05 Alan Modra <amodra@bigpond.net.au>
743 * ld.texinfo: Document PowerPC and PowerPC64 options.
744 * gen-doc.texi: Enable.
746 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
748 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
749 (TEXI2POD): Use AM_MAKEINFOFLAGS.
750 (configdoc.texi): Don't set top_srcdir.
751 * ld.texinfo: Don't use top_srcdir.
752 * aclocal.m4, Makefile.in: Regenerated.
754 2006-04-19 Alan Modra <amodra@bigpond.net.au>
756 * ldlang.c (wild): Tidy default_common_section loop.
757 (print_input_section): Format.
759 * configure: Regenerate.
761 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
763 * po/POTFILES.in: Regenerated.
765 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
767 * config.in: Regenerated.
769 2006-04-14 David Heine <dlheine@tensilica.com>
770 Bob Wilson <bob.wilson@acm.org>
772 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
773 function to strip inconsistent linkonce sections.
774 (input_section_linked_worker, input_section_linked): New.
775 (is_inconsistent_linkonce_section): New.
776 (xtensa_strip_inconsistent_linkonce_sections): New.
778 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
780 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
781 and Dragonfly targets.
782 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
783 * Makefile.am (HFILES): Add elf-hints-local.h.
784 * elf-hints-local.h: New file.
785 * Makefile.in: Regenerate.
786 * configure: Regenerate.
788 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
790 * ld.texinfo: Fix typo in documentation of --check-sections.
792 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
794 * ldlang.c (load_symbols): Set as_needed and add_needed according
795 to the corresponding script's fields while processing it.
797 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
799 * Makefile.am: Add install-html, install-html-am, and
800 install-html-recursive targets.
801 * Makefile.in: Regenerate.
802 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
803 * configure: Regenerate.
804 * po/Make-in: Add install-html target.
806 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
808 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
809 link_info.need_relax_finalize.
811 * ldlang.c (relax_sections): New.
812 (lang_process): Use. Call relax_sections link_info.relax_pass
815 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
816 link_info.need_relax_finalize.
818 2006-04-05 Alan Modra <amodra@bigpond.net.au>
820 * Makefile.am (GENSCRIPTS): Pass prefix.
821 * Makefile.in: Regenerate.
822 * genscripts.sh: Adjust for extra parameter.
823 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
825 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
828 2006-04-05 Richard Sandiford <richard@codesourcery.com>
829 Daniel Jacobowitz <dan@codesourcery.com>
831 * configure.tgt (sparc*-*-vxworks*): New stanza.
832 * emulparams/elf32_sparc_vxworks.sh: New file.
833 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
834 (eelf32_sparc_vxworks.c): New rule.
835 * Makefile.in: Regenerate.
837 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
839 * ldlang.c (lang_map): Print the list of discarded input sections.
840 (print_input_section): Change parameter and print zero-sized sections.
841 (print_statement): Adjust call to print_input_section.
843 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
845 * deffilep.y (def_image_name): If LIBRARY or NAME statement
846 specifies an empty string, retain the name specified on command
848 * ld.texinfo: Document above.
850 2006-03-31 Jakub Jelinek <jakub@redhat.com>
852 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
853 bfd_find_nearest_line succeeded for %C or %D, but filename
854 is NULL, print section+offset at the end.
856 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
858 * emulparams/elf32bfinfd.sh: New file.
859 * emultempl/bfin.em: Delete.
860 * emulparams/bfin.sh: Lose reference to bfin.em.
861 * Makefile.am (eelf32bfin.c): Likewise.
862 (eelf32bfinfd.c): New.
863 * Makefile.in: Regenerate.
864 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
867 2006-03-22 Richard Sandiford <richard@codesourcery.com>
868 Daniel Jacobowitz <dan@codesourcery.com>
869 Phil Edwards <phil@codesourcery.com>
870 Zack Weinberg <zack@codesourcery.com>
871 Mark Mitchell <mark@codesourcery.com>
872 Nathan Sidwell <nathan@codesourcery.com>
874 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
875 separate VxWorks emulations.
876 * emulparams/elf32ebmipvxworks.sh: New file.
877 * emulparams/elf32elmipvxworks.sh: New file.
878 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
879 eelf32elmipvxworks.o.
880 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
881 * Makefile.in: Regenerate.
883 2006-03-16 Alan Modra <amodra@bigpond.net.au>
886 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
887 * ldlang.c (output_statement_table_init, lang_init): Likewise.
888 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
889 (undefined_symbol): Likewise.
891 2006-03-07 Richard Sandiford <richard@codesourcery.com>
892 Daniel Jacobowitz <dan@codesourcery.com>
893 Zack Weinberg <zack@codesourcery.com>
894 Nathan Sidwell <nathan@codesourcery.com>
895 Paul Brook <paul@codesourcery.com>
896 Ricardo Anguiano <anguiano@codesourcery.com>
897 Phil Edwards <phil@codesourcery.com>
899 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
900 (MAXPAGESIZE): Define.
901 * emulparams/vxworks.sh: Undefine EMBEDDED.
902 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
903 * Makefile.in: Regenerate.
905 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
907 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
908 Add KEEP() directives.
909 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
910 .bss output sections.
912 2006-03-03 Richard Sandiford <richard@codesourcery.com>
914 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
915 (EXTRA_EM_FILE): Define.
916 * emultempl/vxworks.em: New file.
917 * ld.texinfo (--force-dynamic): Document.
918 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
920 * Makefile.in: Regenerate.
922 2006-03-02 Richard Sandiford <richard@codesourcery.com>
924 * emulparams/elf32ppccommon.sh: New file, extracted from...
925 * emulparams/elf32ppc.sh: ...here.
926 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
927 instead of elf32ppc.sh.
928 (BSS_PLT): Remove override.
929 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
930 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
931 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
932 (eelf32ppclinux.c): Likewise.
933 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
934 * Makefile.in: Regenerate.
936 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
938 * Makefile.am: Add html target.
939 * Makefile.in: Regenerate.
940 * po/Make-in: Add html target.
942 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
943 Anil Paranjape <anilp1@kpitcummins.com>
944 Shilin Shakti <shilins@kpitcummins.com>
946 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
947 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
948 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
949 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
950 * emulparams/elf32xc16xl.sh: Emulation script for large model.
951 * emulparams/elf32xc16xs.sh: Emulation script for small model.
952 * Makefile.am: Add entry to make xc16x target.
953 * Makefile.in: Regenerate.
954 * configure.tgt: Specify default and other emulation parameters
956 * NEWS: Announce the support for the new target.
958 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
960 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
961 Use the traditional target.
963 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
965 * configure.tgt (arm*b-*-linux-gnueabi): Change to
967 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
969 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
972 * NEWS: Updated for the Linux linker search order change.
974 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
975 gld${EMULATION_NAME}_check_ld_so_conf before checking default
976 search directories for DT_NEEDED entries.
978 2006-02-07 Paul Brook <paul@codesourcery.com>
980 * emultempl/armelf.em: Include elf/arm.h.
981 (arm_elf_finish): Set low address bit if enty point is a Thumb
984 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
986 * deffilep.y (def_image_name): If the image name does not have
987 a suffix, append the default.
988 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
990 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
992 * NEWS: Mention support for forward exports in PE-COFF dll's.
993 * ld.texinfo: Expand documentation of EXPORT statements in
996 2006-01-31 Filip Navara <navaraf@reactos.com>
998 * deffile.h (struct def_file_export): Add field flag_forward.
999 * pe-dll.c (process_def_file): Check for forward exports.
1000 (generate_edata): Generate forward export symbols.
1001 (fill_edata): Emit them.
1003 * pe-dll.c (process_def_file): Don't crash on malformed
1004 fastcall symbol names in .def file.
1006 2006-01-30 Nick Clifton <nickc@redhat.com>
1008 * po/vi.po: Updated Vietnamese translation.
1010 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
1012 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1013 file:" as informational message, not a warning.
1015 2006-01-18 Roger Sayle <roger@eyesopen.com>
1017 * emultempl/irix.em: Use lbasename instead of basename.
1019 2006-01-16 Nick Clifton <nickc@redhat.com>
1021 * po/zh_CN.po: New Chinese (simplified) translation.
1022 * configure.in (ALL_LINGUAS): Add "zh_CH".
1023 * configure: Regenerate.
1025 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
1027 * ld.texinfo (Options): Fix typo.
1029 For older changes see ChangeLog-2005
1035 version-control: never