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