OSDN Git Service

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