merge from gcc
[binutils.git] / ld / ChangeLog
blob0f8a3751806be1541ae250ca33898ed9109d6d41
1 2006-05-22  Nick Clifton  <nickc@redhat.com>
3         * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
5 2006-05-19  Alan Modra  <amodra@bigpond.net.au>
7         * ldlang.c (lang_size_sections_1): Don't check mem regions for
8         os->ignored sections.
10 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
12         * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
13         before redoing one_lang_size_sections_pass.
15 2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
17         * ld.texinfo: Rename "Index" to "LD Index" 
19 2006-05-11  Pedro Alves  <pedro_alves@portugalmail.pt>
21         * pe-dll.c (autofilter_symbollist): Add Dllmain,
22         DllMainCRTStartup, _DllMainCRTStartup and .text.
23         (autofilter_liblist): Add libcegcc.
24         (autofilter_symbolprefixlist): Add __imp_ and .idata$.
25         (generate_reloc): Do not skip sections without a SEC_LOAD flag,
26         they can still contain relocs that need processing.
27         Skip the .idata$6 section.
28         (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
29         (make_one): Use the new array.
30         (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
31         * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
33 2006-05-05  Alan Modra  <amodra@bigpond.net.au>
35         * ld.texinfo: Document PowerPC and PowerPC64 options.
36         * gen-doc.texi: Enable.
38 2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
40         * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
41         (TEXI2POD): Use AM_MAKEINFOFLAGS.
42         (configdoc.texi): Don't set top_srcdir.
43         * ld.texinfo: Don't use top_srcdir.
44         * aclocal.m4, Makefile.in: Regenerated.
46 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
48         * ldlang.c (wild): Tidy default_common_section loop.
49         (print_input_section): Format.
51         * configure: Regenerate.
53 2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
55         * po/POTFILES.in: Regenerated.
57 2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
59         * config.in: Regenerated.
61 2006-04-14  David Heine  <dlheine@tensilica.com>
62             Bob Wilson  <bob.wilson@acm.org>
64         * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
65         function to strip inconsistent linkonce sections.
66         (input_section_linked_worker, input_section_linked): New.
67         (is_inconsistent_linkonce_section): New.
68         (xtensa_strip_inconsistent_linkonce_sections): New.
70 2006-04-11  Diego Pettenò  <flameeyes@gentoo.org>
72         * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
73         and Dragonfly targets.
74         * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
75         * Makefile.am (HFILES): Add elf-hints-local.h.
76         * elf-hints-local.h: New file.
77         * Makefile.in: Regenerate.
78         * configure: Regenerate.
80 2006-04-07  Bernhard Fischer  <aldot@gcc.gnu.org>
82         * ld.texinfo: Fix typo in documentation of --check-sections.
84 2006-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
86         * ldlang.c (load_symbols): Set as_needed and add_needed according
87         to the corresponding script's fields while processing it.
89 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
91         * Makefile.am: Add install-html, install-html-am, and
92         install-html-recursive targets.
93         * Makefile.in: Regenerate.
94         * configure.in: AC_SUBST datarootdir, docdir, htmldir.
95         * configure: Regenerate.
96         * po/Make-in: Add install-html target.
98 2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
100         * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
101         link_info.need_relax_finalize.
103         * ldlang.c (relax_sections): New.
104         (lang_process): Use. Call relax_sections link_info.relax_pass
105         times.
107         * ldmain.c (main): Set link_info.relax_pass to 1. Remove
108         link_info.need_relax_finalize.
110 2006-04-05  Alan Modra  <amodra@bigpond.net.au>
112         * Makefile.am (GENSCRIPTS): Pass prefix.
113         * Makefile.in: Regenerate.
114         * genscripts.sh: Adjust for extra parameter.
115         * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
116         exists.
117         (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
118         * NEWS: Update.
120 2006-04-05  Richard Sandiford  <richard@codesourcery.com>
121             Daniel Jacobowitz  <dan@codesourcery.com>
123         * configure.tgt (sparc*-*-vxworks*): New stanza.
124         * emulparams/elf32_sparc_vxworks.sh: New file.
125         * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
126         (eelf32_sparc_vxworks.c): New rule.
127         * Makefile.in: Regenerate.
129 2006-04-04  Eric Botcazou  <ebotcazou@adacore.com>
131         * ldlang.c (lang_map): Print the list of discarded input sections.
132         (print_input_section): Change parameter and print zero-sized sections.
133         (print_statement): Adjust call to print_input_section.
135 2006-04-01  Danny Smith  <dannysmith@users.sourceforge.net>
137         * deffilep.y (def_image_name): If LIBRARY or NAME statement
138         specifies an empty string, retain the name specified on command
139         line.
140         * ld.texinfo: Document above.
142 2006-03-31  Jakub Jelinek  <jakub@redhat.com>
144         * ldmisc.c (vfinfo): Revert 2005-10-05 changes.  If
145         bfd_find_nearest_line succeeded for %C or %D, but filename
146         is NULL, print section+offset at the end.
148 2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
150         * emulparams/elf32bfinfd.sh: New file.
151         * emultempl/bfin.em: Delete.
152         * emulparams/bfin.sh: Lose reference to bfin.em.
153         * Makefile.am (eelf32bfin.c): Likewise.
154         (eelf32bfinfd.c): New.
155         * Makefile.in: Regenerate.
156         * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
157         targ_extra_emuls.
159 2006-03-22  Richard Sandiford  <richard@codesourcery.com>
160             Daniel Jacobowitz  <dan@codesourcery.com>
161             Phil Edwards  <phil@codesourcery.com>
162             Zack Weinberg  <zack@codesourcery.com>
163             Mark Mitchell  <mark@codesourcery.com>
164             Nathan Sidwell  <nathan@codesourcery.com>
166         * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
167         separate VxWorks emulations.
168         * emulparams/elf32ebmipvxworks.sh: New file.
169         * emulparams/elf32elmipvxworks.sh: New file.
170         * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
171         eelf32elmipvxworks.o.
172         (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
173         * Makefile.in: Regenerate.
175 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
177         PR 2434
178         * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
179         * ldlang.c (output_statement_table_init, lang_init): Likewise.
180         * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
181         (undefined_symbol): Likewise.
183 2006-03-07  Richard Sandiford  <richard@codesourcery.com>
184             Daniel Jacobowitz  <dan@codesourcery.com>
185             Zack Weinberg  <zack@codesourcery.com>
186             Nathan Sidwell  <nathan@codesourcery.com>
187             Paul Brook  <paul@codesourcery.com>
188             Ricardo Anguiano  <anguiano@codesourcery.com>
189             Phil Edwards  <phil@codesourcery.com>
191         * emulparams/armelf_vxworks.sh: Include vxworks.sh.
192         (MAXPAGESIZE): Define.
193         * emulparams/vxworks.sh: Undefine EMBEDDED.
194         * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
195         * Makefile.in: Regenerate.
197 2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
199         * scripttempl/avr.sc:  Add *(.jumptables) *(.lowtext) sections.
200         Add KEEP() directives.
201         Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
202         .bss output sections.
204 2006-03-03  Richard Sandiford  <richard@codesourcery.com>
206         * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
207         (EXTRA_EM_FILE): Define.
208         * emultempl/vxworks.em: New file.
209         * ld.texinfo (--force-dynamic): Document.
210         * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
211         on vxworks.em.
212         * Makefile.in: Regenerate.
214 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
216         * emulparams/elf32ppccommon.sh: New file, extracted from...
217         * emulparams/elf32ppc.sh: ...here.
218         * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
219         instead of elf32ppc.sh.
220         (BSS_PLT): Remove override.
221         * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
222         (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
223         (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
224         (eelf32ppclinux.c): Likewise.
225         (eelf32ppcvxworks.c): Likewise.  Add missing vxworks.sh dependency.
226         * Makefile.in: Regenerate.
228 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
230         * Makefile.am: Add html target.
231         * Makefile.in: Regenerate.
232         * po/Make-in: Add html target.
234 2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
235             Anil Paranjape   <anilp1@kpitcummins.com>
236             Shilin Shakti    <shilins@kpitcummins.com>
238         * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
239         * scripttemp/elf32xc16xl.sc: Default linker script for large model.
240         * scripttemp/elf32xc16xs.sc: Default linker script for small model.
241         * emulparams/elf32xc16x.sh: Emulation script for tiny model.
242         * emulparams/elf32xc16xl.sh: Emulation script for large model.
243         * emulparams/elf32xc16xs.sh: Emulation script for small model.
244         * Makefile.am: Add entry to make xc16x target.
245         * Makefile.in: Regenerate.
246         * configure.tgt: Specify default and other emulation parameters
247         for xc16x.
248         * NEWS: Announce the support for the new target.
250 2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
252         * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
253         Use the traditional target.
255 2006-02-13  Joseph S. Myers  <joseph@codesourcery.com>
257         * configure.tgt (arm*b-*-linux-gnueabi): Change to
258         arm*b-*-linux-*eabi.
259         (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
261 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
263         PR ld/2290
264         * NEWS: Updated for the Linux linker search order change.
266         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
267         gld${EMULATION_NAME}_check_ld_so_conf before checking default
268         search directories for DT_NEEDED entries.
270 2006-02-07  Paul Brook  <paul@codesourcery.com>
272         * emultempl/armelf.em: Include elf/arm.h.
273         (arm_elf_finish): Set low address bit if enty point is a Thumb
274         function.
276 2006-02-01  Danny Smith  <dannysmith@users.sourceforge.net>
278         * deffilep.y (def_image_name): If the image name does not have
279         a suffix, append the default.
280         * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
282 2006-01-31  Danny Smith  dannysmith@users.sourceforge.net
284         * NEWS: Mention support for forward exports in PE-COFF dll's.
285         * ld.texinfo: Expand documentation of EXPORT statements in
286         PE-COFF .def files.
288 2006-01-31  Filip Navara  <navaraf@reactos.com>
290         * deffile.h (struct def_file_export): Add field flag_forward.
291         * pe-dll.c (process_def_file): Check for forward exports.
292         (generate_edata): Generate forward export symbols.
293         (fill_edata): Emit them.
295         * pe-dll.c (process_def_file): Don't crash on malformed
296         fastcall symbol names in .def file.
298 2006-01-30  Nick Clifton  <nickc@redhat.com>
300         * po/vi.po: Updated Vietnamese translation.
302 2006-01-27  Yitzchak Scott-Thoennes  <sthoenna@efn.org>
304         * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
305         file:" as informational message, not a warning.
307 2006-01-18  Roger Sayle  <roger@eyesopen.com>
309         * emultempl/irix.em: Use lbasename instead of basename.
311 2006-01-16  Nick Clifton  <nickc@redhat.com>
313         * po/zh_CN.po: New Chinese (simplified) translation.
314         * configure.in (ALL_LINGUAS): Add "zh_CH".
315         * configure: Regenerate.
317 2006-01-16  Bernhard Fischer  <aldot@gcc.gnu.org>
319         * ld.texinfo (Options): Fix typo.
321 For older changes see ChangeLog-2005
323 Local Variables:
324 mode: change-log
325 left-margin: 8
326 fill-column: 74
327 version-control: never
328 End: