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