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