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