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