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