bfd/
[platform/upstream/binutils.git] / ld / ChangeLog
1 2006-10-10  Bob Wilson  <bob.wilson@acm.org>
2
3         * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
4
5 2006-10-06  Mike Frysinger  <vapier@gentoo.org>
6
7         * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
8
9 2006-10-04  Bob Wilson  <bob.wilson@acm.org>
10
11         * emulparams/xtensa-config.sh: Delete file.
12         * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
13         xtensa-config.sh.
14         * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
15         * Makefile.in: Regenerate.
16
17 2006-10-03  Pedro Alves  <pedro_alves@portugalmail.pt>
18
19         * pe-dll.c : Fix typo.
20         (autofilter_symbolprefixlist) : Remove __imp_.
21         (is_import) : New.
22         (auto-export) : Remove  re-import check. Moved to callers.
23         (process_def_file) : Check is symbol is an import. Always
24         underscore __imp_.
25         Only skip underscore on underscored targets.
26         (make_one) : Always underscore __imp_.
27         (pe_create_runtime_relocator_reference) : Only underscore
28         _pei386_runtime_relocator on underscored targets.
29         (pe_process_import_defs) : Always underscore __imp_.
30         * pe.em (U) : New macro.
31         (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
32         on wince subsystem case.
33         (pe_find_data_imports) : Use U on "_head_".
34         (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
35
36 2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
37
38         PR ld/3223
39         PR ld/3267
40         * ld.texinfo: Updated Output Section Discarding.
41
42         * ldlang.h (lang_output_section_statement_type): Add
43         section_relative_symbol.
44         * ldlang.c (strip_excluded_output_sections): Don't strip a
45         section with a symbol relative to it.
46         (lang_size_sections_1): Mark if an output section has a symbol
47         symbol relative to it.
48
49 2006-09-25  Bob Wilson  <bob.wilson@acm.org>
50
51         * ld.texinfo (Options): Update description of local symbols for -X.
52
53 2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>
54
55         PR ld/3249
56         * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
57         and .gnu.linkonce.wi.* sections with .data and .debug_info for
58         relocatable link.
59
60 2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
61
62         * configure.in: Add new target x86_64-pc-mingw64.
63         * configure: Regenerate.
64         * configure.tgt: Add definition of target emulation i386pep.
65         * Makefile.am: Add new target files for target-all.
66         * Makefile.in: Regenerate.
67         * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
68         Fix memory out of bounds excess for idata relocation section data.
69         * pep-dll.c: Add target specific shared object handling.
70         * pep-dll.h: Add target specific definitions for shared object handling.
71         * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
72         * emultempl/pep.em: Add new emulation file for target x86_64 coff.
73         * po/POTFILES.in: Regenerate.
74         * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
75         * NEWS: Mention new target.
76
77 2006-09-18  Thiemo Seufer  <ths@networkno.de>
78
79         * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
80         configurations.
81
82 2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
83
84         * emulparams/scoreelf.sh: New file.
85         * emultempl/scoreelf.em: New file.
86         * Makefile.am: Add Score files.
87         * Makefile.in: Regenerate.
88         * configure.tgt: Add Score target.
89         * NEWS: Mention new target support.
90         
91 2006-09-16  Nick Clifton  <nickc@redhat.com>
92             Pedro Alves  <pedro_alves@portugalmail.pt>
93
94         * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
95         macros defined in bfd.h.
96         * ldmain.c: Likewise.
97         * ldwrite.c: Likewise.
98         * lexsup.c: Likewise.
99         * pe-dll.c: Likewise.
100         * emultempl/aix.em: Likewise.
101         * emultempl/beos.em: Likewise.
102         * emultempl/elf32.em: Likewise.
103         * emultempl/pe.em: Likewise.
104         * emultempl/sunos.em: Likewise.
105         * emultempl/xtensaelf.em: Likewise.
106
107 2006-09-15  Nick Clifton  <nickc@redhat.com>
108
109         PR ld/3107
110         * ldlang.c (lang_size_sections_1): Do not abort when encountering
111         a non-empty section that is ignored.  Instead produce a warning
112         message.
113
114 2006-09-08  H.J. Lu  <hongjiu.lu@intel.com>
115
116         * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
117
118 2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
119
120         * Makefile.am (CXX): Set to g++.
121         (CXX_FOR_TARGET): Likewise.
122         * Makefile.in: Regenerated.
123
124         * NEWS: Mention --dynamic-list.
125
126         * ld.texinfo: Document --dynamic-list.
127
128         * ldgram.y: Support dynamic list.
129
130         * ldlang.c (lang_process): Call lang_finalize_version_expr_head
131         on link_info.dynamic if needed.
132         (lang_append_dynamic_list): New.
133         (lang_append_dynamic_list_cpp_typeinfo): New.
134         * ldlang.h (lang_append_dynamic_list): Likewise.
135         * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
136
137         * ldlex.h (input_enum): Add input_dynamic_list.
138         * ldlex.l: Handle it.
139
140         * ldmain.c (main): Initialize link_info.dynamic.
141
142         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
143         OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
144         (ld_options): Add entries for OPTION_DYNAMIC_LIST and
145         OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
146         (parse_args): Handle OPTION_DYNAMIC_LIST and
147         OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
148
149 2006-09-07  Joel Sherrill <joel.sherrill@oarcorp.com>
150
151         * emulparams/h8300elf.sh: _tinydata should not be placed in
152         relocatables.
153         * emulparams/h8300.sh: Likewise.
154         * emulparams/h8300sxelf.sh: Likewise.
155
156 2006-09-05  H.J. Lu  <hongjiu.lu@intel.com>
157
158         PR ld/3015
159         * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
160         is defined.
161
162 2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
163
164         * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
165
166 2006-08-28  Alan Modra  <amodra@bigpond.net.au>
167
168         * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
169         not match random object files in a path containing "crtbegin" or
170         "crtend" as part of a directory name.
171         * scripttempl/armbpabi.sc: Likewise.
172         * scripttempl/crisaout.sc: Likewise.
173         * scripttempl/elf32crx.sc: Likewise.
174         * scripttempl/elf32sh-symbian.sc: Likewise.
175         * scripttempl/elf_chaos.sc: Likewise.
176         * scripttempl/elfd10v.sc: Likewise.
177         * scripttempl/elfd30v.sc: Likewise.
178         * scripttempl/elfxtensa.sc: Likewise.
179         * scripttempl/iq2000.sc: Likewise.
180         * scripttempl/mmo.sc: Likewise.
181         * scripttempl/xstormy16.sc: Likewise.
182
183 2006-08-24  Bob Wilson  <bob.wilson@acm.org>
184
185         * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
186         * scripttempl/elfxtensa.sc (.text): Add .literal.*.
187
188 2006-08-24  Pedro Alves  <pedro_alves@portugalmail.pt>
189
190         * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
191         Adjust the current address of DEFAULT_MEMORY_REGION even
192         when dot hasn't changed.
193
194 2006-08-23  Alan Modra  <amodra@bigpond.net.au>
195
196         * ldexp.c (fold_name <LOADADDR>): Return an absolute value
197         rather than a section relative value.
198
199 2006-08-22  Alan Modra  <amodra@bigpond.net.au>
200
201         * NEWS: Mention LMA default change.
202         * ld.texinfo (Output Section LMA): Update default description.
203         (Location Counter): Clarify backward movement.
204         * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
205         default lma equal to vma.  Warn on backward movement of dot.
206
207 2006-08-22  Pedro Alves  <pedro_alves@portugalmail.pt>
208
209         * configure.tgt: Set targ_emul to arm_wince_pe for ARM
210         Windows CE targets.
211
212 2006-08-22  Pedro Alves  <pedro_alves@portugalmail.pt>
213
214         * Makefile.am: Split arm-wince into its own emulation.
215         * Makefile.in: Regenerate.
216         * pe-dll.c : Define PE_ARCH_arm_wince.
217         (pe_detail_list): Add PE_ARCH_arm_wince case.
218         (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
219         * emulparams/arm_wince_pe.sh: New file.
220         * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
221         Remap bfd_arm_allocate_interworking_sections,
222         bfd_arm_get_bfd_for_interworking and
223         bfd_arm_process_before_allocation for arm-pe and arm-wince-pe    
224         targets too.
225         (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and    
226         arm-epoc bfd format names.
227
228 2006-08-18  Paul Brook  <paul@codesourcery.com>
229
230         * emultempl/armelf.em (arm_elf_before_allocation): Call
231         gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
232
233 2006-08-17  Pedro Alves  <pedro_alves@portugalmail.pt>
234
235         * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
236         (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
237         and to not skipping .idata* sections.
238
239 2006-08-16  Alan Modra  <amodra@bigpond.net.au>
240
241         PR 3052
242         * ldlang.h (lang_output_section_statement_type): Replace
243         "processed" field with "processed_vma" and "processed_lma".
244         * ldlang.c (lang_do_assignments_1): Move lma setting code..
245         (lang_size_sections_1): ..to here.
246         (lang_reset_memory_regions): Adjust for
247         lang_output_section_statement_type change.
248         * ldexp.c (fold_name): Likewise.
249
250 2006-08-08  Peter S. Mazinger  <ps.m@gmx.net>
251
252         * emulparams/armelf.sh (MAXPAGESIZE): Changed to
253         "CONSTANT (MAXPAGESIZE)".
254
255 2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
256
257         PR ld/3006
258         * ldlang.c (lang_section_bst_type): Moved to ...
259         * ldlang.h: Here.
260
261         * ldlang.h (lang_wild_statement_struct): Add a tree field.
262
263         * ldlang.c (wild_sort_fast): Use the tree field for BST.
264         (wild): Likeise.
265         (analyze_walk_wild_section_handler): Initialize the tree field.
266
267 2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
268
269         PR ld/3009
270         * ldlang.c (update_wild_statements): Update the whole wild
271         section list.
272
273 2006-08-04  Nick Clifton  <nickc@redhat.com>
274             Mike Frysinger  <michael.frysinger@analog.com>
275
276         * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
277         (__preinit_array_start, __preinit_array_end, __init_array_start,
278         __init_array_end, __fini_array_start, __fini_array_end, edata, end):
279         Use ${USER_LABEL_PREFIX}.
280         * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
281         (USER_LABEL_PREFIX): Set.
282
283 2006-08-04  Marcelo Tosatti  <marcelo@kvack.org>
284
285         * ldmain.c (main): Initialise print_gc_sections field of link_info
286         structure.
287         * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
288         switches.
289         * ld.texinfo: Document new switches.
290         * NEWS: Mention new switches.
291
292 2006-08-04  Richard Sandiford  <richard@codesourcery.com>
293             Kazu Hirata  <kazu@codesourcery.com>
294             Phil Edwards  <phil@codesourcery.com>
295
296         * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
297         eshlelf_vxworks.o.
298         (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
299         * Makefile.in: Regenerate.
300         * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
301         shlelf_vxworks.
302         * emulparams/shelf_vxworks.sh: New file.
303         * emulparams/shlelf_vxworks.sh: Likewise.
304         * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
305         (OTHER_END_SYMBOLS): Likewise _ehdr.
306         (DATA_END_SYMBOLS): Likewise _edata.
307         * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
308         is indeed an ELF file before dealing with --force-dynamic.
309
310 2006-08-02  Petr Salinger  <Petr.Salinger@seznam.cz>
311
312         PR binutils/2983
313         * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
314         elf64-x86-64-freebsd.
315
316 2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>
317
318         * ldlang.c (init_os): Add flags. Replace bfd_make_section with
319         bfd_make_section_with_flags.
320         (exp_init_os): Updated.
321         (lang_add_section): Call init_os with flags.
322         (map_input_to_output_sections): Likewise.
323
324 2006-07-29  Richard Sandiford  <richard@codesourcery.com>
325
326         * Makefile.am (eelf32b4300.c): Update dependencies.
327         (eelf32bmip.c): Likewise.
328         (eelf32bsmip.c): Likewise.
329         (eelf32btsmip.c): Likewise.
330         (eelf32btsmipn32.c): Likewise.
331         (eelf32ltsmip.c): Likewise.
332         (eelf32ltsmipn32.c): Likewise.
333         (eelf32ebmip.c): Likewise.
334         (eelf32ebmipvxworks.c): Likewise.
335         (eelf32elmip.c): Likewise.
336         (eelf32elmipvxworks.c): Likewise.
337         (eelf32bmipn32.c): Likewise.
338         (eelf32lmip.c): Likewise.
339         (eelf32mipswindiss.c): Likewise.
340         (eelf32lsmip.c): Likewise.
341         (eelf64bmip.c): Likewise.
342         (eelf64btsmip.c): Likewise.
343         (eelf64ltsmip.c): Likewise.
344         (emipsbig.c): Likewise.  Canonicalize ${GENSCRIPTS} line.
345         (emipsbsd.c): Likewise.
346         (emipsidt.c): Update dependencies.
347         (emipsidtl.c): Likewise.
348         (emipslit.c): Likewise.
349         (emipslnews.c): Likewise.
350         (emipspe.c): Likewise.  Fix ${GENSCRIPTS} invocation.
351         * Makefile.in: Regenerate.
352         * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
353         * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
354         * emultempl/irix.em: Include emultempl/mipself.em.
355         * emultempl/mipself.em: New file.
356
357 2006-07-26  Alan Modra  <amodra@bigpond.net.au>
358
359         * emultempl/elf-generic.em (map_segments): Reorganise loop so that
360         layout happens before segment map.  Don't do segment map on
361         relocatable link.
362
363 2006-07-26  Alan Modra  <amodra@bigpond.net.au>
364
365         * ldexp.c (fold_name <LOADADDR>): Use the lma.
366         * ldlang.h (lang_memory_region_type): Delete old_length.  Add
367         last_os.
368         * ldlang.c (lang_memory_region_lookup): Init new field.
369         (lang_reset_memory_regions): Reset new field.
370         (lang_insert_orphan): Don't set load_base.
371         (lang_leave_overlay): Likewise.
372         (lang_size_sections_1): Delete unnecessary code setting lma_region
373         to region.  Correct lma region check.
374         (lang_do_assignments_1): Rename output_section_statement parm
375         to current_os.  Set lma from previous section in region.
376
377         * ldlang.c: Formatting.
378
379 2006-07-25  Bob Wilson  <bob.wilson@acm.org>
380
381         * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
382         Set discarded section's output_section to bfd_abs_section_ptr.
383
384 2006-07-26  Alan Modra  <amodra@bigpond.net.au>
385
386         * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
387         earlier.
388
389 2006-07-24  Bob Wilson  <bob.wilson@acm.org>
390
391         * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
392         in dep_sec_name for null terminator.  Make sure dep_sec_name has a
393         ".t" linkonce tag.
394
395 2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
396
397         * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
398         Set for *-*-solaris2*.
399
400 2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
401
402         * ld.texinfo: Fix spelling mistakes.
403         * ldint.texinfo: Likewise.
404
405 2006-07-23  Sonal Santan  <sonal.santan@xilinx.com>
406
407         * ldlang.c (lang_section_bst): New structure for sorting sections
408         by name.
409         (wild_sort_fast): New function: Insert a section into a binary
410         search tree.
411         (output_section_callback_fast): New function: Store a section in
412         BST.
413         (output_section_callback_tree_to_list): New function: Convert a
414         BST into a list.
415         (analyze_walk_wild_section_handler): Initialize handler_data
416         elements.
417         (wild): If the data is sorted by name use the BST method to sort
418         the names.
419
420 2006-07-19  Alan Modra  <amodra@bigpond.net.au>
421
422         * ld.h (handle_asneeded_cref): Declare.
423         * ldcref.c: Include objalloc.h.
424         (old_table, old_count, old_tab, alloc_mark): New variables.
425         (tabsize, entsize, refsize, old_symcount): Likewise.
426         (add_cref): Use bfd_hash_allocate for refs.
427         (handle_asneeded_cref): New function.
428         * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
429
430 2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
431
432         * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
433         typo setting targ_extra_libpath.
434
435 2006-07-10  Jakub Jelinek  <jakub@redhat.com>
436
437         * scripttempl/elf.sc: Add .gnu.hash section.
438         * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
439         (gld${EMULATION_NAME}_add_options): Register --hash-style option.
440         (gld${EMULATION_NAME}_handle_option): Handle it.
441         (gld${EMULATION_NAME}_list_options): Document it.
442         * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
443         * ld.texinfo: Document --hash-style option.
444
445 2006-07-10  Nick Clifton  <nickc@redhat.com>
446
447         * po/zh_TW.po: New Chinese (traditional) translation.
448         * configure.in (ALL_LINGUAS): Add zh_TW.
449         * configure: Regenerate.
450
451 2006-07-07  Nick Clifton  <nickc@redhat.com>
452
453         PR ld/2874
454         * ld.texinfo: Remove "Using LD" from the title since it is
455         redundant.
456
457 2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
458
459         PR ld/2877
460         * ld.texinfo: Fix spelling mistakes.
461
462 2006-06-27  Pedro Alves  <pedro_alves@portugalmail.pt>
463             Nick Clifton  <nickc@redhat.com>
464
465         * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
466         length of format strings in the libname_fmt[] array, rather than
467         relying upon a statically chosen value.  Adjust xmalloc call to
468         use this longest length.
469
470 2006-06-27  Nick Clifton  <nickc@redhat.com>
471
472         * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
473         -rpath-link.
474
475 2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
476
477         * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
478         targ_extra_libpath.
479
480 2006-06-23  Pedro Alves <pedro_alves@portugalmail.pt>
481
482         * pe-dll.c (pe_details_type): Add new pointer for symbols list
483         autofilter. 
484         (autofilter_symbollist): Split into autofilter_symbollist_generic
485         and autofilter_symbollist_i386.
486         (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
487         autofilter_symbollist_generic for all the others.
488         (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
489         cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
490         into autofilter_symbollist_i386.
491         (auto_export): Get autofilter_symbollist from pe_details.
492
493 2006-06-22  Nick Clifton  <nickc@redhat.com>
494
495         PR ld/2757
496         * emultempl/pe.em (gld_$_after_open): When reporting non PE format
497         output files mention the file name and the fact that it is an
498         output file.
499
500 2006-06-22  Danny Smith  <dannysmith@users.sourceforge.net>
501
502         * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): 
503         Restructure.  Add native "%s.lib" format to search list
504         * ld.texinfo (node WIN32): Update documentation on dynamic lib
505         search order. Add another reason for using import libs. 
506
507 2006-06-21  Mark Shinwell  <shinwell@codesourcery.com>
508
509         * ldlang.c (lang_insert_orphan): Correctly handle the case where
510         the section is to end up after the section currently at the end
511         of the list in output_bfd.
512
513 2006-06-21  Hans-Peter Nilsson  <hp@bitrange.com>
514
515         * emultempl/mmo.em: Improve comments.  Explain why there's
516         ELF-stuff here.
517
518 2006-06-21  Alan Modra  <amodra@bigpond.net.au>
519
520         * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
521         loop to ten iterations.  Throw away any previous linker generated
522         segment map.
523         * ldlang.c (lang_phdr_list): Make global.
524         * ldlang.h (lang_phdr_list): Declare.
525         * Makefile.am (ELF_GEN_DEPS): Define.  Use in emul deps.
526         * Makefile.in: Regenerate.
527
528 2006-06-20  Alan Modra  <amodra@bigpond.net.au>
529
530         * Makefile.am (ELF_DEPS): Define.  Use in emul file deps.  Fix
531         many ELF emul file deps that incorrectly said they needed elf32.em
532         instead of generic.em.  Add genelf.em as required.
533         * Makefile.in: Regenerate.
534         * ldlang.c (lang_process): Call ldemul_finish before
535         lang_check_section_addresses.
536         * emulparams/arcelf.sh: Generic elf target needs genelf.
537         * emulparams/d30v_e.sh: Likewise.
538         * emulparams/d30v_o.sh: Likewise.
539         * emulparams/d30velf.sh: Likewise.
540         * emulparams/elf32_dlx.sh: Likewise.
541         * emulparams/elf32_i860.sh: Likewise.
542         * emulparams/elf32fr30.sh: Likewise.
543         * emulparams/elf32frv.sh: Likewise.
544         * emulparams/elf32iq10.sh: Likewise.
545         * emulparams/elf32iq2000.sh: Likewise.
546         * emulparams/elf32mt.sh: Likewise.
547         * emulparams/mn10200.sh: Likewise.
548         * emulparams/or32.sh: Likewise.
549         * emulparams/or32elf.sh: Likewise.
550         * emulparams/pjelf.sh: Likewise.
551         * emulparams/msp430all.sh: Likewise.  Extract common entries.
552         * emulparams/pjlelf.sh: Include pjelf.sh.
553         * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
554         * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
555         * emultempl/elf-generic.em: New file.
556         * emultempl/genelf.em: New file.
557         * emultempl/elf32.em: Include elf-generic.em.
558         (gld${EMULATION_NAME}_layout_sections_again): Delete.
559         (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
560         * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
561         (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish.  Call
562         gld${EMULATION_NAME}_map_segments.
563         (LDEMUL_FINISH): Update.
564         * emultempl/mmo.em: Correct comment.  Include elf-bfd.h and
565         source elf-generic.em.
566         (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
567         * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
568         (gld${EMULATION_NAME}_finish): Rename from ppc_finish.  Call
569         gld${EMULATION_NAME}_map_segments.
570         (LDEMUL_FINISH): Update.
571
572 2006-06-19  Alan Modra  <amodra@bigpond.net.au>
573
574         * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
575
576 2006-06-14  Kevin F. Quinn  <kevquinn@gentoo.org>
577
578         * ld.texinfo: Document new -z lazy option.
579         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
580         new option.
581         (gld${EMULATION_NAME}_list_options): Update help text.
582
583 2006-06-12  Fred Fish  <fnf@specifix.com>
584
585         * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
586         ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
587         generated by mips gcc.
588
589 2006-06-12  Thiemo Seufer  <ths@mips.com>
590
591         * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
592         Define.
593
594 2006-06-09  Alan Modra  <amodra@bigpond.net.au>
595
596         * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
597         * ldlang.c (struct out_section_hash_entry): Rename from
598         output_statement_hash_entry.  Delete output_section_statement_type
599         entry.  Add statement_union_type entry.  Adjust all users.
600         (output_section_statement_table): Rename from output_statement_table.
601         Adjust all users.
602         (output_section_statement_newfunc): Rename from
603         output_statement_newfunc.  Adjust all users.
604         (output_section_statement_table_init): Rename from
605         output_statement_table_init.  Adjust all users.
606         (output_section_statement_table_free): Rename from
607         output_statement_table_free.  Adjust all users.
608
609 2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
610
611         * po/Make-in (pdf, ps): New dummy targets.
612
613 2006-06-07  Alan Modra  <amodra@bigpond.net.au>
614
615         * ldlang.h (enum section_type): Delete dsect_section, copy_section,
616         info_section and overlay_section.  Add noalloc_section.
617         * ldlang.c (lang_add_section): Adjust.
618         * ldgram.y (type): Adjust.
619
620 2006-06-06  Alan Modra  <amodra@bigpond.net.au>
621
622         * ldlang.c (init_os): Whitespace.
623         (map_input_to_output_sections): Don't init_os for lang_input_section.
624         (print_all_symbols): Remove forward declaration.  Convert to ISO C.
625
626 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
627
628         * po/Make-in (top_builddir): Define.
629
630 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
631
632         * ldexp.c (exp_get_abs_int): Make error message the same as
633         others emitted in this file.
634
635 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
636
637         * config.in: Regenerate.
638
639 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
640
641         * ldlang.c (lookup_name): Delete dead code.  Remove FIXMEs.
642
643 2006-06-03  Alan Modra  <amodra@bigpond.net.au>
644
645         * emultempl/elf32.em (global_found): Make it a pointer.
646         (stat_needed, try_needed): Adjust.
647         (check_needed): Don't skip non-loaded as-needed entries.  Only
648         consider entries with both filename and the_bfd non-null.
649         (after_open): Try loading non-loaded as-needed libs to satisfy
650         DT_NEEDED libs.
651
652 2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
653
654         * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
655         * Makefile.in: Regenerate.
656
657 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
658
659         * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
660         and LIBINTL_DEP everywhere.
661         (INTLLIBS): Remove.
662         (INCLUDES): Use @INCINTL@.
663         * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
664         Remove local code for po/Makefile.
665         * Makefile.in, configure: Regenerated.
666
667 2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>
668
669         * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
670         "CONSTANT (MAXPAGESIZE)".
671         * emulparams/armelf_nbsd.sh: Likewise.
672         * emulparams/armelf_vxworks.sh: Likewise.
673         * emulparams/armnto.sh: Likewise.
674         * emulparams/armsymbian.sh: Likewise.
675         * emulparams/crislinux.sh: Likewise.
676         * emulparams/elf32_i860.sh: Likewise.
677         * emulparams/elf32_i960.sh: Likewise.
678         * emulparams/elf32am33lin.sh: Likewise.
679         * emulparams/elf32bfinfd.sh: Likewise.
680         * emulparams/elf32bmipn32-defs.sh: Likewise.
681         * emulparams/elf32frvfd.sh: Likewise.
682         * emulparams/elf32i370.sh: Likewise.
683         * emulparams/elf32lppcnto.sh: Likewise.
684         * emulparams/elf32mcore.sh: Likewise.
685         * emulparams/elf32openrisc.sh: Likewise.
686         * emulparams/elf32ppcnto.sh: Likewise.
687         * emulparams/elf32ppcwindiss.sh: Likewise.
688         * emulparams/elf32vax.sh: Likewise.
689         * emulparams/elf32xc16x.sh: Likewise.
690         * emulparams/elf32xc16xl.sh: Likewise.
691         * emulparams/elf32xc16xs.sh: Likewise.
692         * emulparams/elf64_aix.sh: Likewise.
693         * emulparams/elf64hppa.sh: Likewise.
694         * emulparams/elf64mmix.sh: Likewise.
695         * emulparams/elf_i386_be.sh: Likewise.
696         * emulparams/elf_i386_chaos.sh: Likewise.
697         * emulparams/elf_i386_ldso.sh: Likewise.
698         * emulparams/hppa64linux.sh: Likewise.
699         * emulparams/hppalinux.sh: Likewise.
700         * emulparams/hppaobsd.sh: Likewise.
701         * emulparams/i386lynx.sh: Likewise.
702         * emulparams/i386moss.sh: Likewise.
703         * emulparams/i386nto.sh: Likewise.
704         * emulparams/i386nw.sh: Likewise.
705         * emulparams/m32relf_linux.sh: Likewise.
706         * emulparams/m68kpsos.sh: Likewise.
707         * emulparams/or32elf.sh: Likewise.
708         * emulparams/pjelf.sh: Likewise.
709         * emulparams/pjlelf.sh: Likewise.
710         * emulparams/ppclynx.sh: Likewise.
711         * emulparams/ppcnw.sh: Likewise.
712         * emulparams/shelf32_nbsd.sh : Likewise.
713         * emulparams/shelf_nbsd.sh: Likewise.
714         * emulparams/shelf_nto.sh: Likewise.
715         * emulparams/shlelf_nto.sh: Likewise.
716         * emulparams/xtensa-config.sh: Likewise.
717
718         * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
719         "CONSTANT (MAXPAGESIZE)".
720         (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
721         * emulparams/elf32_sparc.sh: Likewise.
722         * emulparams/elf32bmip.sh: Likewise.
723         * emulparams/elf32ppccommon.sh: Likewise.
724         * emulparams/elf64_ia64.sh: Likewise.
725         * emulparams/elf64_s390.sh: Likewise.
726         * emulparams/elf64_sparc.sh: Likewise.
727         * emulparams/elf64alpha.sh: Likewise.
728         * emulparams/elf64ppc.sh: Likewise.
729         * emulparams/elf_i386.sh: Likewise.
730         * emulparams/elf_i386_vxworks.sh: Likewise.
731         * emulparams/elf_s390.sh: Likewise.
732         * emulparams/elf_x86_64.sh: Likewise.
733         * emulparams/shlelf32_linux.sh: Likewise.
734         * emulparams/shlelf_linux.sh: Likewise.
735
736         * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
737         "CONSTANT (COMMONPAGESIZE)".
738         * emulparams/elf32btsmipn32.sh: Likewise.
739
740         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
741         "-z max-page-size=" and "-z common-page-size=".
742         (gld${EMULATION_NAME}_list_options): Likewise.
743
744         * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
745
746         * ld.texinfo: Document "-z max-page-size=" and
747         "-z common-page-size=".
748
749         * ldexp.c (exp_print_token): Handle CONSTANT.
750         (fold_name): Likewise.
751         * ldgram.y: Likewise.
752         * ldlex.l: Likewise.
753
754         * ldmain.c (main): Initiliaze config.maxpagesize and
755         config.commonpagesize. Call bfd_emul_set_maxpagesize if
756         config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
757         config.commonpagesize config.maxpagesize isn't 0.
758
759 2006-05-30  Nick Clifton  <nickc@redhat.com>
760
761         * po/es.po: Updated Spanish translation.
762
763 2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
764
765         * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
766
767 2006-05-24  H.J. Lu  <hongjiu.lu@intel.com>
768
769         PR ld/1485
770         * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
771         bfd.  Support 64bit host for --enable-targets=all.
772         * configure: Regenerated.
773
774 2006-05-24  Nick Clifton  <nickc@redhat.com>
775
776         * po/vi.po: Updated Vietnamese translation.
777
778 2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de> 
779
780         * configure.tgt: Add avr6 to emulation list.
781         * Makefile.am: Add eavr6.o and corresponding rule.
782         * Makefile.in: Regenerate.
783         * emulparams/avr6.sh: New file.
784         * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
785         for target option support.
786         (EXTRA_EM_FILE): Add reference to new em template file avrelf.
787         * scripttempl/avr.sc: Add ".trampolines" section.       
788         * emultempl/avrelf.em: Add new file for target specific options.
789
790 2006-05-22  Nick Clifton  <nickc@redhat.com>
791
792         * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
793
794 2006-05-19  Alan Modra  <amodra@bigpond.net.au>
795
796         * ldlang.c (lang_size_sections_1): Don't check mem regions for
797         os->ignored sections.
798
799 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
800
801         * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
802         before redoing one_lang_size_sections_pass.
803
804 2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
805
806         * ld.texinfo: Rename "Index" to "LD Index" 
807
808 2006-05-11  Pedro Alves  <pedro_alves@portugalmail.pt>
809
810         * pe-dll.c (autofilter_symbollist): Add Dllmain,
811         DllMainCRTStartup, _DllMainCRTStartup and .text.
812         (autofilter_liblist): Add libcegcc.
813         (autofilter_symbolprefixlist): Add __imp_ and .idata$.
814         (generate_reloc): Do not skip sections without a SEC_LOAD flag,
815         they can still contain relocs that need processing.
816         Skip the .idata$6 section.
817         (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
818         (make_one): Use the new array.
819         (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
820         * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
821
822 2006-05-05  Alan Modra  <amodra@bigpond.net.au>
823
824         * ld.texinfo: Document PowerPC and PowerPC64 options.
825         * gen-doc.texi: Enable.
826
827 2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
828
829         * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
830         (TEXI2POD): Use AM_MAKEINFOFLAGS.
831         (configdoc.texi): Don't set top_srcdir.
832         * ld.texinfo: Don't use top_srcdir.
833         * aclocal.m4, Makefile.in: Regenerated.
834
835 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
836
837         * ldlang.c (wild): Tidy default_common_section loop.
838         (print_input_section): Format.
839
840         * configure: Regenerate.
841
842 2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
843
844         * po/POTFILES.in: Regenerated.
845
846 2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
847
848         * config.in: Regenerated.
849
850 2006-04-14  David Heine  <dlheine@tensilica.com>
851             Bob Wilson  <bob.wilson@acm.org>
852
853         * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
854         function to strip inconsistent linkonce sections.
855         (input_section_linked_worker, input_section_linked): New.
856         (is_inconsistent_linkonce_section): New.
857         (xtensa_strip_inconsistent_linkonce_sections): New.
858
859 2006-04-11  Diego Pettenò  <flameeyes@gentoo.org>
860
861         * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
862         and Dragonfly targets.
863         * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
864         * Makefile.am (HFILES): Add elf-hints-local.h.
865         * elf-hints-local.h: New file.
866         * Makefile.in: Regenerate.
867         * configure: Regenerate.
868
869 2006-04-07  Bernhard Fischer  <aldot@gcc.gnu.org>
870
871         * ld.texinfo: Fix typo in documentation of --check-sections.
872
873 2006-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
874
875         * ldlang.c (load_symbols): Set as_needed and add_needed according
876         to the corresponding script's fields while processing it.
877
878 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
879
880         * Makefile.am: Add install-html, install-html-am, and
881         install-html-recursive targets.
882         * Makefile.in: Regenerate.
883         * configure.in: AC_SUBST datarootdir, docdir, htmldir.
884         * configure: Regenerate.
885         * po/Make-in: Add install-html target.
886
887 2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
888
889         * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
890         link_info.need_relax_finalize.
891
892         * ldlang.c (relax_sections): New.
893         (lang_process): Use. Call relax_sections link_info.relax_pass
894         times.
895
896         * ldmain.c (main): Set link_info.relax_pass to 1. Remove
897         link_info.need_relax_finalize.
898
899 2006-04-05  Alan Modra  <amodra@bigpond.net.au>
900
901         * Makefile.am (GENSCRIPTS): Pass prefix.
902         * Makefile.in: Regenerate.
903         * genscripts.sh: Adjust for extra parameter.
904         * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
905         exists.
906         (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
907         * NEWS: Update.
908
909 2006-04-05  Richard Sandiford  <richard@codesourcery.com>
910             Daniel Jacobowitz  <dan@codesourcery.com>
911
912         * configure.tgt (sparc*-*-vxworks*): New stanza.
913         * emulparams/elf32_sparc_vxworks.sh: New file.
914         * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
915         (eelf32_sparc_vxworks.c): New rule.
916         * Makefile.in: Regenerate.
917
918 2006-04-04  Eric Botcazou  <ebotcazou@adacore.com>
919
920         * ldlang.c (lang_map): Print the list of discarded input sections.
921         (print_input_section): Change parameter and print zero-sized sections.
922         (print_statement): Adjust call to print_input_section.
923
924 2006-04-01  Danny Smith  <dannysmith@users.sourceforge.net>
925
926         * deffilep.y (def_image_name): If LIBRARY or NAME statement
927         specifies an empty string, retain the name specified on command
928         line.
929         * ld.texinfo: Document above.
930
931 2006-03-31  Jakub Jelinek  <jakub@redhat.com>
932
933         * ldmisc.c (vfinfo): Revert 2005-10-05 changes.  If
934         bfd_find_nearest_line succeeded for %C or %D, but filename
935         is NULL, print section+offset at the end.
936
937 2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
938
939         * emulparams/elf32bfinfd.sh: New file.
940         * emultempl/bfin.em: Delete.
941         * emulparams/bfin.sh: Lose reference to bfin.em.
942         * Makefile.am (eelf32bfin.c): Likewise.
943         (eelf32bfinfd.c): New.
944         * Makefile.in: Regenerate.
945         * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
946         targ_extra_emuls.
947
948 2006-03-22  Richard Sandiford  <richard@codesourcery.com>
949             Daniel Jacobowitz  <dan@codesourcery.com>
950             Phil Edwards  <phil@codesourcery.com>
951             Zack Weinberg  <zack@codesourcery.com>
952             Mark Mitchell  <mark@codesourcery.com>
953             Nathan Sidwell  <nathan@codesourcery.com>
954
955         * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
956         separate VxWorks emulations.
957         * emulparams/elf32ebmipvxworks.sh: New file.
958         * emulparams/elf32elmipvxworks.sh: New file.
959         * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
960         eelf32elmipvxworks.o.
961         (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
962         * Makefile.in: Regenerate.
963
964 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
965
966         PR 2434
967         * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
968         * ldlang.c (output_statement_table_init, lang_init): Likewise.
969         * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
970         (undefined_symbol): Likewise.
971
972 2006-03-07  Richard Sandiford  <richard@codesourcery.com>
973             Daniel Jacobowitz  <dan@codesourcery.com>
974             Zack Weinberg  <zack@codesourcery.com>
975             Nathan Sidwell  <nathan@codesourcery.com>
976             Paul Brook  <paul@codesourcery.com>
977             Ricardo Anguiano  <anguiano@codesourcery.com>
978             Phil Edwards  <phil@codesourcery.com>
979
980         * emulparams/armelf_vxworks.sh: Include vxworks.sh.
981         (MAXPAGESIZE): Define.
982         * emulparams/vxworks.sh: Undefine EMBEDDED.
983         * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
984         * Makefile.in: Regenerate.
985
986 2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
987
988         * scripttempl/avr.sc:  Add *(.jumptables) *(.lowtext) sections.
989         Add KEEP() directives.
990         Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
991         .bss output sections.
992
993 2006-03-03  Richard Sandiford  <richard@codesourcery.com>
994
995         * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
996         (EXTRA_EM_FILE): Define.
997         * emultempl/vxworks.em: New file.
998         * ld.texinfo (--force-dynamic): Document.
999         * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
1000         on vxworks.em.
1001         * Makefile.in: Regenerate.
1002
1003 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
1004
1005         * emulparams/elf32ppccommon.sh: New file, extracted from...
1006         * emulparams/elf32ppc.sh: ...here.
1007         * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
1008         instead of elf32ppc.sh.
1009         (BSS_PLT): Remove override.
1010         * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
1011         (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
1012         (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
1013         (eelf32ppclinux.c): Likewise.
1014         (eelf32ppcvxworks.c): Likewise.  Add missing vxworks.sh dependency.
1015         * Makefile.in: Regenerate.
1016
1017 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
1018
1019         * Makefile.am: Add html target.
1020         * Makefile.in: Regenerate.
1021         * po/Make-in: Add html target.
1022
1023 2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
1024             Anil Paranjape   <anilp1@kpitcummins.com>
1025             Shilin Shakti    <shilins@kpitcummins.com>
1026
1027         * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
1028         * scripttemp/elf32xc16xl.sc: Default linker script for large model.
1029         * scripttemp/elf32xc16xs.sc: Default linker script for small model.
1030         * emulparams/elf32xc16x.sh: Emulation script for tiny model.
1031         * emulparams/elf32xc16xl.sh: Emulation script for large model.
1032         * emulparams/elf32xc16xs.sh: Emulation script for small model.
1033         * Makefile.am: Add entry to make xc16x target.
1034         * Makefile.in: Regenerate.
1035         * configure.tgt: Specify default and other emulation parameters
1036         for xc16x.
1037         * NEWS: Announce the support for the new target.
1038
1039 2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
1040
1041         * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1042         Use the traditional target.
1043
1044 2006-02-13  Joseph S. Myers  <joseph@codesourcery.com>
1045
1046         * configure.tgt (arm*b-*-linux-gnueabi): Change to
1047         arm*b-*-linux-*eabi.
1048         (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
1049
1050 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
1051
1052         PR ld/2290
1053         * NEWS: Updated for the Linux linker search order change.
1054
1055         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1056         gld${EMULATION_NAME}_check_ld_so_conf before checking default
1057         search directories for DT_NEEDED entries.
1058
1059 2006-02-07  Paul Brook  <paul@codesourcery.com>
1060
1061         * emultempl/armelf.em: Include elf/arm.h.
1062         (arm_elf_finish): Set low address bit if enty point is a Thumb
1063         function.
1064
1065 2006-02-01  Danny Smith  <dannysmith@users.sourceforge.net>
1066
1067         * deffilep.y (def_image_name): If the image name does not have
1068         a suffix, append the default.
1069         * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
1070
1071 2006-01-31  Danny Smith  dannysmith@users.sourceforge.net
1072
1073         * NEWS: Mention support for forward exports in PE-COFF dll's.
1074         * ld.texinfo: Expand documentation of EXPORT statements in
1075         PE-COFF .def files.
1076
1077 2006-01-31  Filip Navara  <navaraf@reactos.com>
1078
1079         * deffile.h (struct def_file_export): Add field flag_forward.
1080         * pe-dll.c (process_def_file): Check for forward exports.
1081         (generate_edata): Generate forward export symbols.
1082         (fill_edata): Emit them.
1083
1084         * pe-dll.c (process_def_file): Don't crash on malformed
1085         fastcall symbol names in .def file.
1086
1087 2006-01-30  Nick Clifton  <nickc@redhat.com>
1088
1089         * po/vi.po: Updated Vietnamese translation.
1090
1091 2006-01-27  Yitzchak Scott-Thoennes  <sthoenna@efn.org>
1092
1093         * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1094         file:" as informational message, not a warning.
1095
1096 2006-01-18  Roger Sayle  <roger@eyesopen.com>
1097
1098         * emultempl/irix.em: Use lbasename instead of basename.
1099
1100 2006-01-16  Nick Clifton  <nickc@redhat.com>
1101
1102         * po/zh_CN.po: New Chinese (simplified) translation.
1103         * configure.in (ALL_LINGUAS): Add "zh_CH".
1104         * configure: Regenerate.
1105
1106 2006-01-16  Bernhard Fischer  <aldot@gcc.gnu.org>
1107
1108         * ld.texinfo (Options): Fix typo.
1109
1110 For older changes see ChangeLog-2005
1111 \f
1112 Local Variables:
1113 mode: change-log
1114 left-margin: 8
1115 fill-column: 74
1116 version-control: never
1117 End: