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