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