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