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