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