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