* ldlang.c (lang_section_bst): New structure for sorting sections by name.
[platform/upstream/binutils.git] / ld / ChangeLog
1 2006-07-23  Sonal Santan  <sonal.santan@xilinx.com>
2
3         * ldlang.c (lang_section_bst): New structure for sorting sections
4         by name.
5         (wild_sort_fast): New function: Insert a section into a binary
6         search tree.
7         (output_section_callback_fast): New function: Store a section in
8         BST.
9         (output_section_callback_tree_to_list): New function: Convert a
10         BST into a list.
11         (analyze_walk_wild_section_handler): Initialize handler_data
12         elements.
13         (wild): If the data is sorted by name use the BST method to sort
14         the names.
15
16 2006-07-19  Alan Modra  <amodra@bigpond.net.au>
17
18         * ld.h (handle_asneeded_cref): Declare.
19         * ldcref.c: Include objalloc.h.
20         (old_table, old_count, old_tab, alloc_mark): New variables.
21         (tabsize, entsize, refsize, old_symcount): Likewise.
22         (add_cref): Use bfd_hash_allocate for refs.
23         (handle_asneeded_cref): New function.
24         * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
25
26 2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
27
28         * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
29         typo setting targ_extra_libpath.
30
31 2006-07-10  Jakub Jelinek  <jakub@redhat.com>
32
33         * scripttempl/elf.sc: Add .gnu.hash section.
34         * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
35         (gld${EMULATION_NAME}_add_options): Register --hash-style option.
36         (gld${EMULATION_NAME}_handle_option): Handle it.
37         (gld${EMULATION_NAME}_list_options): Document it.
38         * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
39         * ld.texinfo: Document --hash-style option.
40
41 2006-07-10  Nick Clifton  <nickc@redhat.com>
42
43         * po/zh_TW.po: New Chinese (traditional) translation.
44         * configure.in (ALL_LINGUAS): Add zh_TW.
45         * configure: Regenerate.
46
47 2006-07-07  Nick Clifton  <nickc@redhat.com>
48
49         PR ld/2874
50         * ld.texinfo: Remove "Using LD" from the title since it is
51         redundant.
52
53 2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
54
55         PR ld/2877
56         * ld.texinfo: Fix spelling mistakes.
57
58 2006-06-27  Pedro Alves  <pedro_alves@portugalmail.pt>
59             Nick Clifton  <nickc@redhat.com>
60
61         * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
62         length of format strings in the libname_fmt[] array, rather than
63         relying upon a statically chosen value.  Adjust xmalloc call to
64         use this longest length.
65
66 2006-06-27  Nick Clifton  <nickc@redhat.com>
67
68         * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
69         -rpath-link.
70
71 2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
72
73         * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
74         targ_extra_libpath.
75
76 2006-06-23  Pedro Alves <pedro_alves@portugalmail.pt>
77
78         * pe-dll.c (pe_details_type): Add new pointer for symbols list
79         autofilter. 
80         (autofilter_symbollist): Split into autofilter_symbollist_generic
81         and autofilter_symbollist_i386.
82         (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
83         autofilter_symbollist_generic for all the others.
84         (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
85         cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
86         into autofilter_symbollist_i386.
87         (auto_export): Get autofilter_symbollist from pe_details.
88
89 2006-06-22  Nick Clifton  <nickc@redhat.com>
90
91         PR ld/2757
92         * emultempl/pe.em (gld_$_after_open): When reporting non PE format
93         output files mention the file name and the fact that it is an
94         output file.
95
96 2006-06-22  Danny Smith  <dannysmith@users.sourceforge.net>
97
98         * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): 
99         Restructure.  Add native "%s.lib" format to search list
100         * ld.texinfo (node WIN32): Update documentation on dynamic lib
101         search order. Add another reason for using import libs. 
102
103 2006-06-21  Mark Shinwell  <shinwell@codesourcery.com>
104
105         * ldlang.c (lang_insert_orphan): Correctly handle the case where
106         the section is to end up after the section currently at the end
107         of the list in output_bfd.
108
109 2006-06-21  Hans-Peter Nilsson  <hp@bitrange.com>
110
111         * emultempl/mmo.em: Improve comments.  Explain why there's
112         ELF-stuff here.
113
114 2006-06-21  Alan Modra  <amodra@bigpond.net.au>
115
116         * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
117         loop to ten iterations.  Throw away any previous linker generated
118         segment map.
119         * ldlang.c (lang_phdr_list): Make global.
120         * ldlang.h (lang_phdr_list): Declare.
121         * Makefile.am (ELF_GEN_DEPS): Define.  Use in emul deps.
122         * Makefile.in: Regenerate.
123
124 2006-06-20  Alan Modra  <amodra@bigpond.net.au>
125
126         * Makefile.am (ELF_DEPS): Define.  Use in emul file deps.  Fix
127         many ELF emul file deps that incorrectly said they needed elf32.em
128         instead of generic.em.  Add genelf.em as required.
129         * Makefile.in: Regenerate.
130         * ldlang.c (lang_process): Call ldemul_finish before
131         lang_check_section_addresses.
132         * emulparams/arcelf.sh: Generic elf target needs genelf.
133         * emulparams/d30v_e.sh: Likewise.
134         * emulparams/d30v_o.sh: Likewise.
135         * emulparams/d30velf.sh: Likewise.
136         * emulparams/elf32_dlx.sh: Likewise.
137         * emulparams/elf32_i860.sh: Likewise.
138         * emulparams/elf32fr30.sh: Likewise.
139         * emulparams/elf32frv.sh: Likewise.
140         * emulparams/elf32iq10.sh: Likewise.
141         * emulparams/elf32iq2000.sh: Likewise.
142         * emulparams/elf32mt.sh: Likewise.
143         * emulparams/mn10200.sh: Likewise.
144         * emulparams/or32.sh: Likewise.
145         * emulparams/or32elf.sh: Likewise.
146         * emulparams/pjelf.sh: Likewise.
147         * emulparams/msp430all.sh: Likewise.  Extract common entries.
148         * emulparams/pjlelf.sh: Include pjelf.sh.
149         * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
150         * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
151         * emultempl/elf-generic.em: New file.
152         * emultempl/genelf.em: New file.
153         * emultempl/elf32.em: Include elf-generic.em.
154         (gld${EMULATION_NAME}_layout_sections_again): Delete.
155         (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
156         * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
157         (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish.  Call
158         gld${EMULATION_NAME}_map_segments.
159         (LDEMUL_FINISH): Update.
160         * emultempl/mmo.em: Correct comment.  Include elf-bfd.h and
161         source elf-generic.em.
162         (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
163         * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
164         (gld${EMULATION_NAME}_finish): Rename from ppc_finish.  Call
165         gld${EMULATION_NAME}_map_segments.
166         (LDEMUL_FINISH): Update.
167
168 2006-06-19  Alan Modra  <amodra@bigpond.net.au>
169
170         * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
171
172 2006-06-14  Kevin F. Quinn  <kevquinn@gentoo.org>
173
174         * ld.texinfo: Document new -z lazy option.
175         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
176         new option.
177         (gld${EMULATION_NAME}_list_options): Update help text.
178
179 2006-06-12  Fred Fish  <fnf@specifix.com>
180
181         * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
182         ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
183         generated by mips gcc.
184
185 2006-06-12  Thiemo Seufer  <ths@mips.com>
186
187         * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
188         Define.
189
190 2006-06-09  Alan Modra  <amodra@bigpond.net.au>
191
192         * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
193         * ldlang.c (struct out_section_hash_entry): Rename from
194         output_statement_hash_entry.  Delete output_section_statement_type
195         entry.  Add statement_union_type entry.  Adjust all users.
196         (output_section_statement_table): Rename from output_statement_table.
197         Adjust all users.
198         (output_section_statement_newfunc): Rename from
199         output_statement_newfunc.  Adjust all users.
200         (output_section_statement_table_init): Rename from
201         output_statement_table_init.  Adjust all users.
202         (output_section_statement_table_free): Rename from
203         output_statement_table_free.  Adjust all users.
204
205 2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
206
207         * po/Make-in (pdf, ps): New dummy targets.
208
209 2006-06-07  Alan Modra  <amodra@bigpond.net.au>
210
211         * ldlang.h (enum section_type): Delete dsect_section, copy_section,
212         info_section and overlay_section.  Add noalloc_section.
213         * ldlang.c (lang_add_section): Adjust.
214         * ldgram.y (type): Adjust.
215
216 2006-06-06  Alan Modra  <amodra@bigpond.net.au>
217
218         * ldlang.c (init_os): Whitespace.
219         (map_input_to_output_sections): Don't init_os for lang_input_section.
220         (print_all_symbols): Remove forward declaration.  Convert to ISO C.
221
222 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
223
224         * po/Make-in (top_builddir): Define.
225
226 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
227
228         * ldexp.c (exp_get_abs_int): Make error message the same as
229         others emitted in this file.
230
231 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
232
233         * config.in: Regenerate.
234
235 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
236
237         * ldlang.c (lookup_name): Delete dead code.  Remove FIXMEs.
238
239 2006-06-03  Alan Modra  <amodra@bigpond.net.au>
240
241         * emultempl/elf32.em (global_found): Make it a pointer.
242         (stat_needed, try_needed): Adjust.
243         (check_needed): Don't skip non-loaded as-needed entries.  Only
244         consider entries with both filename and the_bfd non-null.
245         (after_open): Try loading non-loaded as-needed libs to satisfy
246         DT_NEEDED libs.
247
248 2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
249
250         * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
251         * Makefile.in: Regenerate.
252
253 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
254
255         * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
256         and LIBINTL_DEP everywhere.
257         (INTLLIBS): Remove.
258         (INCLUDES): Use @INCINTL@.
259         * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
260         Remove local code for po/Makefile.
261         * Makefile.in, configure: Regenerated.
262
263 2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>
264
265         * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
266         "CONSTANT (MAXPAGESIZE)".
267         * emulparams/armelf_nbsd.sh: Likewise.
268         * emulparams/armelf_vxworks.sh: Likewise.
269         * emulparams/armnto.sh: Likewise.
270         * emulparams/armsymbian.sh: Likewise.
271         * emulparams/crislinux.sh: Likewise.
272         * emulparams/elf32_i860.sh: Likewise.
273         * emulparams/elf32_i960.sh: Likewise.
274         * emulparams/elf32am33lin.sh: Likewise.
275         * emulparams/elf32bfinfd.sh: Likewise.
276         * emulparams/elf32bmipn32-defs.sh: Likewise.
277         * emulparams/elf32frvfd.sh: Likewise.
278         * emulparams/elf32i370.sh: Likewise.
279         * emulparams/elf32lppcnto.sh: Likewise.
280         * emulparams/elf32mcore.sh: Likewise.
281         * emulparams/elf32openrisc.sh: Likewise.
282         * emulparams/elf32ppcnto.sh: Likewise.
283         * emulparams/elf32ppcwindiss.sh: Likewise.
284         * emulparams/elf32vax.sh: Likewise.
285         * emulparams/elf32xc16x.sh: Likewise.
286         * emulparams/elf32xc16xl.sh: Likewise.
287         * emulparams/elf32xc16xs.sh: Likewise.
288         * emulparams/elf64_aix.sh: Likewise.
289         * emulparams/elf64hppa.sh: Likewise.
290         * emulparams/elf64mmix.sh: Likewise.
291         * emulparams/elf_i386_be.sh: Likewise.
292         * emulparams/elf_i386_chaos.sh: Likewise.
293         * emulparams/elf_i386_ldso.sh: Likewise.
294         * emulparams/hppa64linux.sh: Likewise.
295         * emulparams/hppalinux.sh: Likewise.
296         * emulparams/hppaobsd.sh: Likewise.
297         * emulparams/i386lynx.sh: Likewise.
298         * emulparams/i386moss.sh: Likewise.
299         * emulparams/i386nto.sh: Likewise.
300         * emulparams/i386nw.sh: Likewise.
301         * emulparams/m32relf_linux.sh: Likewise.
302         * emulparams/m68kpsos.sh: Likewise.
303         * emulparams/or32elf.sh: Likewise.
304         * emulparams/pjelf.sh: Likewise.
305         * emulparams/pjlelf.sh: Likewise.
306         * emulparams/ppclynx.sh: Likewise.
307         * emulparams/ppcnw.sh: Likewise.
308         * emulparams/shelf32_nbsd.sh : Likewise.
309         * emulparams/shelf_nbsd.sh: Likewise.
310         * emulparams/shelf_nto.sh: Likewise.
311         * emulparams/shlelf_nto.sh: Likewise.
312         * emulparams/xtensa-config.sh: Likewise.
313
314         * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
315         "CONSTANT (MAXPAGESIZE)".
316         (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
317         * emulparams/elf32_sparc.sh: Likewise.
318         * emulparams/elf32bmip.sh: Likewise.
319         * emulparams/elf32ppccommon.sh: Likewise.
320         * emulparams/elf64_ia64.sh: Likewise.
321         * emulparams/elf64_s390.sh: Likewise.
322         * emulparams/elf64_sparc.sh: Likewise.
323         * emulparams/elf64alpha.sh: Likewise.
324         * emulparams/elf64ppc.sh: Likewise.
325         * emulparams/elf_i386.sh: Likewise.
326         * emulparams/elf_i386_vxworks.sh: Likewise.
327         * emulparams/elf_s390.sh: Likewise.
328         * emulparams/elf_x86_64.sh: Likewise.
329         * emulparams/shlelf32_linux.sh: Likewise.
330         * emulparams/shlelf_linux.sh: Likewise.
331
332         * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
333         "CONSTANT (COMMONPAGESIZE)".
334         * emulparams/elf32btsmipn32.sh: Likewise.
335
336         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
337         "-z max-page-size=" and "-z common-page-size=".
338         (gld${EMULATION_NAME}_list_options): Likewise.
339
340         * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
341
342         * ld.texinfo: Document "-z max-page-size=" and
343         "-z common-page-size=".
344
345         * ldexp.c (exp_print_token): Handle CONSTANT.
346         (fold_name): Likewise.
347         * ldgram.y: Likewise.
348         * ldlex.l: Likewise.
349
350         * ldmain.c (main): Initiliaze config.maxpagesize and
351         config.commonpagesize. Call bfd_emul_set_maxpagesize if
352         config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
353         config.commonpagesize config.maxpagesize isn't 0.
354
355 2006-05-30  Nick Clifton  <nickc@redhat.com>
356
357         * po/es.po: Updated Spanish translation.
358
359 2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
360
361         * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
362
363 2006-05-24  H.J. Lu  <hongjiu.lu@intel.com>
364
365         PR ld/1485
366         * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
367         bfd.  Support 64bit host for --enable-targets=all.
368         * configure: Regenerated.
369
370 2006-05-24  Nick Clifton  <nickc@redhat.com>
371
372         * po/vi.po: Updated Vietnamese translation.
373
374 2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de> 
375
376         * configure.tgt: Add avr6 to emulation list.
377         * Makefile.am: Add eavr6.o and corresponding rule.
378         * Makefile.in: Regenerate.
379         * emulparams/avr6.sh: New file.
380         * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
381         for target option support.
382         (EXTRA_EM_FILE): Add reference to new em template file avrelf.
383         * scripttempl/avr.sc: Add ".trampolines" section.       
384         * emultempl/avrelf.em: Add new file for target specific options.
385
386 2006-05-22  Nick Clifton  <nickc@redhat.com>
387
388         * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
389
390 2006-05-19  Alan Modra  <amodra@bigpond.net.au>
391
392         * ldlang.c (lang_size_sections_1): Don't check mem regions for
393         os->ignored sections.
394
395 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
396
397         * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
398         before redoing one_lang_size_sections_pass.
399
400 2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
401
402         * ld.texinfo: Rename "Index" to "LD Index" 
403
404 2006-05-11  Pedro Alves  <pedro_alves@portugalmail.pt>
405
406         * pe-dll.c (autofilter_symbollist): Add Dllmain,
407         DllMainCRTStartup, _DllMainCRTStartup and .text.
408         (autofilter_liblist): Add libcegcc.
409         (autofilter_symbolprefixlist): Add __imp_ and .idata$.
410         (generate_reloc): Do not skip sections without a SEC_LOAD flag,
411         they can still contain relocs that need processing.
412         Skip the .idata$6 section.
413         (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
414         (make_one): Use the new array.
415         (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
416         * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
417
418 2006-05-05  Alan Modra  <amodra@bigpond.net.au>
419
420         * ld.texinfo: Document PowerPC and PowerPC64 options.
421         * gen-doc.texi: Enable.
422
423 2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
424
425         * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
426         (TEXI2POD): Use AM_MAKEINFOFLAGS.
427         (configdoc.texi): Don't set top_srcdir.
428         * ld.texinfo: Don't use top_srcdir.
429         * aclocal.m4, Makefile.in: Regenerated.
430
431 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
432
433         * ldlang.c (wild): Tidy default_common_section loop.
434         (print_input_section): Format.
435
436         * configure: Regenerate.
437
438 2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
439
440         * po/POTFILES.in: Regenerated.
441
442 2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
443
444         * config.in: Regenerated.
445
446 2006-04-14  David Heine  <dlheine@tensilica.com>
447             Bob Wilson  <bob.wilson@acm.org>
448
449         * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
450         function to strip inconsistent linkonce sections.
451         (input_section_linked_worker, input_section_linked): New.
452         (is_inconsistent_linkonce_section): New.
453         (xtensa_strip_inconsistent_linkonce_sections): New.
454
455 2006-04-11  Diego Pettenò  <flameeyes@gentoo.org>
456
457         * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
458         and Dragonfly targets.
459         * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
460         * Makefile.am (HFILES): Add elf-hints-local.h.
461         * elf-hints-local.h: New file.
462         * Makefile.in: Regenerate.
463         * configure: Regenerate.
464
465 2006-04-07  Bernhard Fischer  <aldot@gcc.gnu.org>
466
467         * ld.texinfo: Fix typo in documentation of --check-sections.
468
469 2006-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
470
471         * ldlang.c (load_symbols): Set as_needed and add_needed according
472         to the corresponding script's fields while processing it.
473
474 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
475
476         * Makefile.am: Add install-html, install-html-am, and
477         install-html-recursive targets.
478         * Makefile.in: Regenerate.
479         * configure.in: AC_SUBST datarootdir, docdir, htmldir.
480         * configure: Regenerate.
481         * po/Make-in: Add install-html target.
482
483 2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
484
485         * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
486         link_info.need_relax_finalize.
487
488         * ldlang.c (relax_sections): New.
489         (lang_process): Use. Call relax_sections link_info.relax_pass
490         times.
491
492         * ldmain.c (main): Set link_info.relax_pass to 1. Remove
493         link_info.need_relax_finalize.
494
495 2006-04-05  Alan Modra  <amodra@bigpond.net.au>
496
497         * Makefile.am (GENSCRIPTS): Pass prefix.
498         * Makefile.in: Regenerate.
499         * genscripts.sh: Adjust for extra parameter.
500         * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
501         exists.
502         (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
503         * NEWS: Update.
504
505 2006-04-05  Richard Sandiford  <richard@codesourcery.com>
506             Daniel Jacobowitz  <dan@codesourcery.com>
507
508         * configure.tgt (sparc*-*-vxworks*): New stanza.
509         * emulparams/elf32_sparc_vxworks.sh: New file.
510         * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
511         (eelf32_sparc_vxworks.c): New rule.
512         * Makefile.in: Regenerate.
513
514 2006-04-04  Eric Botcazou  <ebotcazou@adacore.com>
515
516         * ldlang.c (lang_map): Print the list of discarded input sections.
517         (print_input_section): Change parameter and print zero-sized sections.
518         (print_statement): Adjust call to print_input_section.
519
520 2006-04-01  Danny Smith  <dannysmith@users.sourceforge.net>
521
522         * deffilep.y (def_image_name): If LIBRARY or NAME statement
523         specifies an empty string, retain the name specified on command
524         line.
525         * ld.texinfo: Document above.
526
527 2006-03-31  Jakub Jelinek  <jakub@redhat.com>
528
529         * ldmisc.c (vfinfo): Revert 2005-10-05 changes.  If
530         bfd_find_nearest_line succeeded for %C or %D, but filename
531         is NULL, print section+offset at the end.
532
533 2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
534
535         * emulparams/elf32bfinfd.sh: New file.
536         * emultempl/bfin.em: Delete.
537         * emulparams/bfin.sh: Lose reference to bfin.em.
538         * Makefile.am (eelf32bfin.c): Likewise.
539         (eelf32bfinfd.c): New.
540         * Makefile.in: Regenerate.
541         * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
542         targ_extra_emuls.
543
544 2006-03-22  Richard Sandiford  <richard@codesourcery.com>
545             Daniel Jacobowitz  <dan@codesourcery.com>
546             Phil Edwards  <phil@codesourcery.com>
547             Zack Weinberg  <zack@codesourcery.com>
548             Mark Mitchell  <mark@codesourcery.com>
549             Nathan Sidwell  <nathan@codesourcery.com>
550
551         * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
552         separate VxWorks emulations.
553         * emulparams/elf32ebmipvxworks.sh: New file.
554         * emulparams/elf32elmipvxworks.sh: New file.
555         * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
556         eelf32elmipvxworks.o.
557         (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
558         * Makefile.in: Regenerate.
559
560 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
561
562         PR 2434
563         * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
564         * ldlang.c (output_statement_table_init, lang_init): Likewise.
565         * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
566         (undefined_symbol): Likewise.
567
568 2006-03-07  Richard Sandiford  <richard@codesourcery.com>
569             Daniel Jacobowitz  <dan@codesourcery.com>
570             Zack Weinberg  <zack@codesourcery.com>
571             Nathan Sidwell  <nathan@codesourcery.com>
572             Paul Brook  <paul@codesourcery.com>
573             Ricardo Anguiano  <anguiano@codesourcery.com>
574             Phil Edwards  <phil@codesourcery.com>
575
576         * emulparams/armelf_vxworks.sh: Include vxworks.sh.
577         (MAXPAGESIZE): Define.
578         * emulparams/vxworks.sh: Undefine EMBEDDED.
579         * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
580         * Makefile.in: Regenerate.
581
582 2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
583
584         * scripttempl/avr.sc:  Add *(.jumptables) *(.lowtext) sections.
585         Add KEEP() directives.
586         Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
587         .bss output sections.
588
589 2006-03-03  Richard Sandiford  <richard@codesourcery.com>
590
591         * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
592         (EXTRA_EM_FILE): Define.
593         * emultempl/vxworks.em: New file.
594         * ld.texinfo (--force-dynamic): Document.
595         * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
596         on vxworks.em.
597         * Makefile.in: Regenerate.
598
599 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
600
601         * emulparams/elf32ppccommon.sh: New file, extracted from...
602         * emulparams/elf32ppc.sh: ...here.
603         * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
604         instead of elf32ppc.sh.
605         (BSS_PLT): Remove override.
606         * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
607         (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
608         (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
609         (eelf32ppclinux.c): Likewise.
610         (eelf32ppcvxworks.c): Likewise.  Add missing vxworks.sh dependency.
611         * Makefile.in: Regenerate.
612
613 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
614
615         * Makefile.am: Add html target.
616         * Makefile.in: Regenerate.
617         * po/Make-in: Add html target.
618
619 2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
620             Anil Paranjape   <anilp1@kpitcummins.com>
621             Shilin Shakti    <shilins@kpitcummins.com>
622
623         * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
624         * scripttemp/elf32xc16xl.sc: Default linker script for large model.
625         * scripttemp/elf32xc16xs.sc: Default linker script for small model.
626         * emulparams/elf32xc16x.sh: Emulation script for tiny model.
627         * emulparams/elf32xc16xl.sh: Emulation script for large model.
628         * emulparams/elf32xc16xs.sh: Emulation script for small model.
629         * Makefile.am: Add entry to make xc16x target.
630         * Makefile.in: Regenerate.
631         * configure.tgt: Specify default and other emulation parameters
632         for xc16x.
633         * NEWS: Announce the support for the new target.
634
635 2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
636
637         * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
638         Use the traditional target.
639
640 2006-02-13  Joseph S. Myers  <joseph@codesourcery.com>
641
642         * configure.tgt (arm*b-*-linux-gnueabi): Change to
643         arm*b-*-linux-*eabi.
644         (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
645
646 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
647
648         PR ld/2290
649         * NEWS: Updated for the Linux linker search order change.
650
651         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
652         gld${EMULATION_NAME}_check_ld_so_conf before checking default
653         search directories for DT_NEEDED entries.
654
655 2006-02-07  Paul Brook  <paul@codesourcery.com>
656
657         * emultempl/armelf.em: Include elf/arm.h.
658         (arm_elf_finish): Set low address bit if enty point is a Thumb
659         function.
660
661 2006-02-01  Danny Smith  <dannysmith@users.sourceforge.net>
662
663         * deffilep.y (def_image_name): If the image name does not have
664         a suffix, append the default.
665         * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
666
667 2006-01-31  Danny Smith  dannysmith@users.sourceforge.net
668
669         * NEWS: Mention support for forward exports in PE-COFF dll's.
670         * ld.texinfo: Expand documentation of EXPORT statements in
671         PE-COFF .def files.
672
673 2006-01-31  Filip Navara  <navaraf@reactos.com>
674
675         * deffile.h (struct def_file_export): Add field flag_forward.
676         * pe-dll.c (process_def_file): Check for forward exports.
677         (generate_edata): Generate forward export symbols.
678         (fill_edata): Emit them.
679
680         * pe-dll.c (process_def_file): Don't crash on malformed
681         fastcall symbol names in .def file.
682
683 2006-01-30  Nick Clifton  <nickc@redhat.com>
684
685         * po/vi.po: Updated Vietnamese translation.
686
687 2006-01-27  Yitzchak Scott-Thoennes  <sthoenna@efn.org>
688
689         * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
690         file:" as informational message, not a warning.
691
692 2006-01-18  Roger Sayle  <roger@eyesopen.com>
693
694         * emultempl/irix.em: Use lbasename instead of basename.
695
696 2006-01-16  Nick Clifton  <nickc@redhat.com>
697
698         * po/zh_CN.po: New Chinese (simplified) translation.
699         * configure.in (ALL_LINGUAS): Add "zh_CH".
700         * configure: Regenerate.
701
702 2006-01-16  Bernhard Fischer  <aldot@gcc.gnu.org>
703
704         * ld.texinfo (Options): Fix typo.
705
706 For older changes see ChangeLog-2005
707 \f
708 Local Variables:
709 mode: change-log
710 left-margin: 8
711 fill-column: 74
712 version-control: never
713 End: