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