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