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