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