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