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