* po/Make-in: Add --msgid-bugs-address to xgettext invocation.
[binutils.git] / ld / ChangeLog
blob87a20c7c01ce7be3709f506c60a9736886169c04
1 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
3         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
5 2007-08-15  Alan Modra  <amodra@bigpond.net.au>
7         PR 4923
8         * emultempl/elf32.em (after_open): Return immediately when
9         non-ELF output.
11 2007-08-12  Daniel Jacobowitz  <dan@codesourcery.com>
13         * configure.in (ALL_LINGUAS): Add fi.
14         * po/fi.po: New file.
15         * configure: Regenerated.
17 2007-08-10  Nick Clifton  <nickc@redhat.com>
19         * NEWS: Add a marker for the 2.18 features.
21 2007-08-10  Nick Clifton  <nickc@redhat.com>
23         * po/ga.po: Updated Irish translation.
24         * po/vi.po: Updated Vietnamese translation.
26 2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>
28         * Makefile.am: Run "make dep-am".
29         * Makefile.in: Regenerate.
31 2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>
33         PR ld/4875
34         * elf-hints-local.h: Include bfd_stdint.h.  Use uint32_t
35         instead of u_int32_t.
37         * sha1.h: Include bfd_stdint.h instead of <stdint.h>.
39 2007-08-09  Alan Modra  <amodra@bigpond.net.au>
41         PR 4515
42         * genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR.
43         * ldint.texinfo: Likewise.
44         * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete.
45         * emulparams/armaoutl.sh: Likewise.
46         * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete.
47         * emulparams/bfin.sh: Likewise
48         * emulparams/crisaout.sh: Likewise
49         * emulparams/elf32_sparc.sh: Likewise
50         * emulparams/elf32am33lin.sh: Likewise
51         * emulparams/elf32b4300.sh: Likewise
52         * emulparams/elf32bmip.sh: Likewise
53         * emulparams/elf32mcore.sh: Likewise
54         * emulparams/elf32xtensa.sh: Likewise
55         * emulparams/elf64_s390.sh: Likewise
56         * emulparams/elf64_sparc.sh: Likewise
57         * emulparams/elf64alpha.sh: Likewise
58         * emulparams/elf_i386.sh: Likewise
59         * emulparams/elf_i386_be.sh: Likewise
60         * emulparams/elf_i386_chaos.sh: Likewise
61         * emulparams/elf_i386_ldso.sh: Likewise
62         * emulparams/elf_i386_vxworks.sh: Likewise
63         * emulparams/elf_s390.sh: Likewise
64         * emulparams/elf_x86_64.sh: Likewise
65         * emulparams/i386aout.sh: Likewise
66         * emulparams/i386moss.sh: Likewise
67         * emulparams/i386msdos.sh: Likewise
68         * emulparams/i386nto.sh: Likewise
69         * emulparams/i386nw.sh: Likewise
70         * emulparams/m68kaout.sh: Likewise
71         * emulparams/m68kelf.sh: Likewise
72         * emulparams/ppcnw.sh: Likewise
73         * emulparams/sun4.sh: Likewise
74         * emulparams/tic80coff.sh: Likewise
75         * emulparams/vaxnbsd.sh: Likewise
76         * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete.
77         (TEXT_START_ADDR): Set for -n, -N.
78         * emulparams/coff_sparc.sh: Likewise
79         * emulparams/elf32vax.sh: Likewise
80         * emulparams/i386bsd.sh: Likewise
81         * emulparams/i386go32.sh: Likewise
82         * emulparams/i386linux.sh: Likewise
83         * emulparams/i386lynx.sh: Likewise
84         * emulparams/i386mach.sh: Likewise
85         * emulparams/m68k4knbsd.sh: Likewise
86         * emulparams/m68klinux.sh: Likewise
87         * emulparams/m68knbsd.sh: Likewise
88         * emulparams/ns32knbsd.sh: Likewise
89         * emulparams/pc532macha.sh: Likewise
90         * emulparams/ppclynx.sh: Likewise
91         * emulparams/scoreelf.sh: Likewise
92         * emulparams/sparcaout.sh: Likewise
93         * emulparams/sparclinux.sh: Likewise
94         * emulparams/sun3.sh: Likewise
95         * emulparams/vsta.sh: Likewise
97 2007-08-07  Ralf Corsépius <ralf.corsepius@rtems.org>
99         * configure.tgt: Add bfin-*rtems*.
101 2007-08-06  Kai Tietz  <kai.tietz@onevision.com>
103         * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
104         (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of
105         shared objects.
106         * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64
107         mingw target.
109 2007-08-01  Nick Clifton  <nickc@redhat.com>
111         * po/ga.po: Updated Irish translation.
113 2007-07-29  Alan Modra  <amodra@bigpond.net.au>
115         * ldlang.c (lang_insert_orphan): When searching through linker
116         script to place an orphan, don't stop on statements that appear
117         outside of SECTIONS.
118         * emultempl/elf32.em (output_rel_find): Prefer read-only alloc
119         sections over read/write alloc sections.
121 2007-07-28  Jakub Jelinek  <jakub@redhat.com>
123         * scripttempl/elf.sc: Add .note.gnu.build-id.
125 2007-07-25  Nick Clifton  <nickc@redhat.com>
127         PR 4824
128         * ld.texinfo (Options): Extend the description of the -O command
129         line option.
131 2007-07-24  Kai Tietz  <kai.tietz@onevision.com>
133         * pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
135 2007-07-21  Nick Clifton  <nickc@redhat.com>
137         * sha1.h: Change to use version 3 of the GNU General Public
138         License and tidy up formatting.
139         * sha1.c: Likewise.
141 2007-07-19  Roland McGrath  <roland@redhat.com>
143         * genscripts.sh (source_em, fragment): New sh functions.
144         Truncate e${EMULATION_NAME}.c file before .em script fills it.
145         Use source_em in place of . for the .em script.
146         * emultempl/generic.em: Use fragment and source_em functions.
147         * emultempl/aix.em: Likewise.
148         * emultempl/alphaelf.em: Likewise.
149         * emultempl/armcoff.em: Likewise.
150         * emultempl/armelf.em: Likewise.
151         * emultempl/avrelf.em: Likewise.
152         * emultempl/beos.em: Likewise.
153         * emultempl/cr16elf.em: Likewise.
154         * emultempl/crxelf.em: Likewise.
155         * emultempl/elf-generic.em: Likewise.
156         * emultempl/elf32.em: Likewise.
157         * emultempl/genelf.em: Likewise.
158         * emultempl/gld960.em: Likewise.
159         * emultempl/gld960c.em: Likewise.
160         * emultempl/hppaelf.em: Likewise.
161         * emultempl/ia64elf.em: Likewise.
162         * emultempl/irix.em: Likewise.
163         * emultempl/linux.em: Likewise.
164         * emultempl/lnk960.em: Likewise.
165         * emultempl/m68hc1xelf.em: Likewise.
166         * emultempl/m68kcoff.em: Likewise.
167         * emultempl/m68kelf.em: Likewise.
168         * emultempl/mipsecoff.em: Likewise.
169         * emultempl/mipself.em: Likewise.
170         * emultempl/mmix-elfnmmo.em: Likewise.
171         * emultempl/mmixelf.em: Likewise.
172         * emultempl/mmo.em: Likewise.
173         * emultempl/needrelax.em: Likewise.
174         * emultempl/netbsd.em: Likewise.
175         * emultempl/pe.em: Likewise.
176         * emultempl/pep.em: Likewise.
177         * emultempl/ppc32elf.em: Likewise.
178         * emultempl/ppc64elf.em: Likewise.
179         * emultempl/scoreelf.em: Likewise.
180         * emultempl/sh64elf.em: Likewise.
181         * emultempl/spuelf.em: Likewise.
182         * emultempl/sunos.em: Likewise.
183         * emultempl/ticoff.em: Likewise.
184         * emultempl/vanilla.em: Likewise.
185         * emultempl/vxworks.em: Likewise.
186         * emultempl/xtensaelf.em: Likewise.
187         * emultempl/z80.em: Likewise.
189 2007-07-18  Roland McGrath  <roland@redhat.com>
191         * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
192         Use ASEC->contents for CONTENTS when missing, and allocate
193         ASEC->size if needed.
195 2007-07-13  Roland McGrath  <roland@redhat.com>
197         * emultempl/elf32.em (struct build_id_info): New type.
198         (gld${EMULATION_NAME}_id_note_section_size): New function.
199         (gld${EMULATION_NAME}_write_build_id_section): New function.
200         (gld${EMULATION_NAME}_after_open): Use them.
201         (DEFAULT_BUILD_ID_STYLE): Change to "sha1".
202         * ld.texinfo (Options): Mention --build-id=sha1.
204         * sha1.h: New file (from gnulib).
205         * sha1.c: New file (from gnulib).
206         * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
207         (sha1.o): New target.
208         * Makefile.in: Regenerated.
210 2007-07-13  Alan Modra  <amodra@bigpond.net.au>
212         * ldlang.c (strip_excluded_output_sections): Don't ignore sections
213         with update_dot_tree.
215 2007-07-12  Nathan Sidwell  <nathan@codesourcery.com>
217         * scripttempl/pe.sc: Don't include .gcc_except_table and
218         .eh_frame on partial links.
219         * scripttempl/pep.sc: Likewise.
221 2007-07-12  Alan Modra  <amodra@bigpond.net.au>
223         PR 4782
224         * ldlang.c (lang_size_sections_1 <output_section_statement>): Only
225         use expld.result when valid.
227 2007-07-12  Alan Modra  <amodra@bigpond.net.au>
229         * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
230         before calling base_name, not after.
232 2007-07-10  Alan Modra  <amodra@bigpond.net.au>
234         * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE.  Add
235         .gnu.debuglink.
236         * scripttempl/armbpabi.sc: Likewise.
237         * scripttempl/elf32sh-symbian.sc: Likewise.
238         * scripttempl/elfxtensa.sc: Likewise.
239         * scripttempl/mep.sc: Likewise.
241 2007-07-09  Roland McGrath  <roland@redhat.com>
243         * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
244         (gld${EMULATION_NAME}_handle_option): Handle --build-id.
245         (gld${EMULATION_NAME}_list_options): List --build-id.
246         (gld${EMULATION_NAME}_after_open): If --build-id was given,
247         synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
248         * ld.texinfo (Options): Describe --build-id.
249         * NEWS: Mention --build-id.
251 2007-07-06  Nick Clifton  <nickc@redhat.com>
253         * deffile.h: Update copyright notice to refer to GPLv3.
254         * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
255         ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
256         ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
257         ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
258         mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
259         sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
260         emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
261         emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
262         emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
263         emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
264         emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
265         emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
266         emultempl/m68kcoff.em, emultempl/m68kelf.em,
267         emultempl/mipsecoff.em, emultempl/mipself.em,
268         emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
269         emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
270         emultempl/ppc32elf.em, emultempl/ppc64elf.em,
271         emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
272         emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
273         emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
274         * genscripts.sh: Add copyright notice.
275         * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
276         Likewise.
277         * NEWS: Mention that the sources are now under GPLv3.
278         * configure: Regenerate.
280 2007-07-05  Danny Smith  <dannysmith@users.sourceforge.net>
282         * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
283         (--stack): Likewise.
285 2007-07-03  Matthias Klose  <doko@ubuntu.com>
287         * emultempl/spuelf.em (base_name): Correct backslash quoting.
289 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
291         * Makefile.in: Regenerate.
292         * aclocal.m4: Regenerate.
293         * config.in: Regenerate.
294         * po/ld.pot: Regenerate.
296 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
298         * aclocal.m4: Regenerated.
299         * Makefile.in: Likewise.
301 2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
303         * NEWS: Remove a line with '*' only.
305 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
307         * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
308         (ATTRS_SECTIONS): Define.
309         * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
310         scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
311         scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
313 2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
315         * scripttemp/elf32cr16.sc: Default linker script.
316         * emulparams/elf32cr16.sh: Emulation script.
317         * emultempl/cr16elf.em: Emulation script.
318         * Makefile.am: Add entry to make cr16 target.
319         * Makefile.in: Regenerate.
320         * configure.tgt: Specify default and other emulation parameters
321         for cr16.
322         * ChangeLog: Added CR16 target entry.
323         * NEWS: Announce the support for the CR16 new target.
325 2007-06-27  Alan Modra  <amodra@bigpond.net.au>
327         * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
329 2007-06-20  Alan Modra  <amodra@bigpond.net.au>
331         * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
333 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
335         * ldlex.l, ldgram.y: Add ALIGNOF.
336         * ldexp.c (exp_print_token, foldname): Likewise.
337         * ld.texinfo: Likewise.
339 2007-06-18  Alan Modra  <amodra@bigpond.net.au>
341         * Makefile.am: Add eelf32_spu.o rule.
342         * Makefile.in: Regenerate.
343         * emultempl/spuelf.em: Revert last change.  Instead use EMBEDSPU
344         defined in Makefile for embedspu name.
346 2007-06-18  Alan Modra  <amodra@bigpond.net.au>
348         * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
349         name prefix from that of ld.
351 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
353         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
355         * acinclude.m4: Removed.
357         * Makefile.in: Regenerated.
358         * aclocal.m4: Likewise.
359         * configure: Likewise.
361 2007-06-14  Alan Modra  <amodra@bigpond.net.au>
363         * emultempl/spu_ovl.S: Don't trash lr on tail call from one
364         overlay to another.
365         * emultempl/spu_ovl.o: Regenerate.
367 2007-06-11  Bob Wilson  <bob.wilson@acm.org>
369         * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
370         for .xt_except_table.
371         (OTHER_RELRO_SECTIONS): New.
373 2007-06-11  Sterling Augustine  <sterling@tensilica.com>
374             Bob Wilson  <bob.wilson@acm.org>
376         * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
377         XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
379 2007-06-01  Noah Misch  <noah@cs.caltech.edu>
380             Alan Modra  <amodra@bigpond.net.au>
382         * ldlang.c (ldlang_add_file): Use input_bfds_tail.
383         * ldmain.c (main): Init input_bfds_tail.  Sort link_info
384         initialization.
386 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
388         * emultempl/spuelf.em (base_name): New function, split out from..
389         (embedded_spu_file) ..here.  Pass -fPIC or -fpie to embedspu
390         invocation if we deduce a shared lib or position independent
391         executable build by looking at ctrbegin* linker input files.
393 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
395         * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
396         types and sizes.
397         * emultempl/spu_ovl.o: Regenerate.
399 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
401         * Makefile.in: Regnerate.
402         * configure: Regenerate.
403         * aclocal.m4: Regenerate.
405 2007-05-24  Nathan Sidwell  <nathan@codesourcery.com>
407         * ldlex.l: ASSERT is recognized in SCRIPT env.  NAMES cannot
408         contain commas in EXP env.
409         * ldgram.y (extern_name_list): Push to EXP env, move body to ...
410         (extern_name_list_body): ... here.
411         (script_file, ifile_list): Reformat.
412         (statement): Add ASSERT.
414 2007-05-22  Nick Clifton  <nickc@redhat.com>
416         * ld.texinfo: Use @copying around the copyright notice.
417         * ldint.texinfo: Likewise.
419 2007-05-18  Richard Sandiford  <richard@codesourcery.com>
421         * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
422         (OTHER_READWRITE_SECTIONS): Define.  Add .rdata sections.
424 2007-05-16  Richard Sandiford  <richard@codesourcery.com>
426         * configure.in: Allow sysroots to be relocated under $prefix as
427         well as $exec_prefix.
428         * configure: Regenerate.
430 2007-05-14  Andreas Schwab  <schwab@suse.de>
432         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
433         Handle null pattern.
435 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
437         * emultempl/ppc32elf.em (plt_style): New variable.
438         (old_plt): Delete.
439         (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
440         (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
441         OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
442         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
443         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
444         * ld.texinfo (--secure-plt): Document.
446 2007-05-08  Alan Modra  <amodra@bigpond.net.au>
448         * ld.h (args_type, ld_config_type): Reorder fields.
449         * ldmain.c (main): Don't initialise a bunch of vars we know are
450         zero already.
452 2007-05-05  Anatoly Sokolov <aesok@post.ru>
454         * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
455         "--pmem-wrap-around".
456         (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
458 2007-05-03  Bob Wilson  <bob.wilson@acm.org>
460         * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
462 2007-05-03  Alan Modra  <amodra@bigpond.net.au>
464         * ld.texinfo (--no-warn-search-mismatch): Document.
465         * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
466         incompatible libraries if --no-warn-search-mismatch.
467         * ld.h (args_type): Add warn_search_mismatch.
468         * ldmain.c (main): Init it.
469         * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
470         (ld_options): Add entry for --no-warn-search-mismatch.
471         (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
473 2007-05-03  Alan Modra  <amodra@bigpond.net.au>
475         * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
477 2007-05-01  Robert Millan  <rmh@aybabtu.com>
479         * ldlang.c (lang_check): Error on architecture mismatch.
481 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
483         * ldmain.c (link_callbacks): Init info and minfo fields.
484         * ldmisc.c (minfo): Do nothing if no map file.
485         * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
486         (spu_after_open): Adjust spu_elf_create_sections call.
487         (spu_before_allocation): Likewise for spu_elf_size_stubs.
488         (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
489         (PARSE_AND_LIST_LONGOPTS): Add new entries.
490         (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
491         * gen-doc.texi: Add @set for SPU and other missing targets.
492         * ld.texinfo: Update man page selection to match gen-doc.texi.
493         Document SPU features.
495 2007-04-28  Alan Modra  <amodra@bigpond.net.au>
497         * ldcref.c (struct cref_hash_entry): Make "demangled" const.
498         (cref_fill_array): Adjust for changed demangler.
499         * ldlang.c (lang_one_common): Likewise.
501 2007-04-27  Nathan Froyd  <froydnj@codesourcery.com>
503         * emulparams/elf32_sparc.sh: Update comments.
504         * emulparams/elf32bmip.sh: Likewise.
505         * emulparams/elf32ppc.sh: Likewise.
506         * emulparams/vxworks.sh: Likewise.
508 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
510         Many files: Include sysdep.h first.  Remove duplicate headers.
511         * Makefile.am: Run "make dep-am".
512         * Makefile.in: Regenerate.
514 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
516         * Makefile.in: Regenerate.
518 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
520         * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
521         * ldlang.c (lang_one_common): Likewise.
522         * ldmisc.c (vfinfo): Likewise.
523         (demangle): Delete.
524         * ldmisc.h (demangle): Delete.
525         * Makefile.am: Run "make dep-am".
526         * Makefile.in: Regenerate.
528 2007-04-18  Alan Modra  <amodra@bigpond.net.au>
530         * ldlang.h (enum section_type): Add overlay_section.
531         * ldlang.c (lang_add_section): Handle flags for overlay_section
532         as per normal_section.
533         (lang_size_sections_1): When setting lma, detect overlays by
534         os->sectype rather than by looking for overlapping vmas.
535         (lang_enter_overlay_section): Use overlay_section type.
536         (lang_leave_overlay): Set first overlay section to normal.
538 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
540         * Makefile.am: Add ACLOCAL_AMFLAGS.
541         * Makefile.in: Regenerate.
543 2007-04-12  Bob Wilson  <bob.wilson@acm.org>
545         * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
547 2007-04-10  Richard Henderson  <rth@redhat.com>
549         * ldlang.c (relax_sections): Initialize and increment
550         link_info.relax_trip.
552 2007-04-04  Paul Brook  <paul@codesourcery.com>
554         * configure.tgt: Loosen checks for arm uclinux eabi targets.
556 2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>
558         PR ld/4090
559         * ldexp.h (node_type): Add lineno.
560         * ldexp.c: Include "ldlex.h".
561         (exp_intop): Set the lineno field from lineno.
562         (exp_bigintop): Likewise.
563         (exp_relop): Likewise.
564         (exp_nameop): Likewise.
565         (exp_binop): Set the lineno field from lineno of lhs.
566         (exp_trinop): Likewise.
567         (exp_unop): Set the lineno field from lineno of child.
568         (exp_assop): Set the lineno field from lineno of src.
569         (exp_provide): Likewise.
570         (exp_assert): Set the lineno field from lineno of exp.
571         (exp_get_abs_int): Set lineno from lineno of nonconstant
572         expression when report problem.
574 2007-03-29  Richard Sandiford  <richard@codesourcery.com>
575             Daniel Jacobowitz  <dan@codesourcery.com>
577         * NEWS: Mention -l:foo.
578         * ld.texinfo: Document it.
579         * ldlang.c (new_afile): If a lang_input_file_is_l_enum
580         entry as a name beginning with a coloh, convert it to a
581         lang_input_file_is_search_file_enum entry without the colon.
583 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
585         * ld.h (ld_config_type): Add rpath_separator.
586         * ldmain.c (main): Initialize it.
587         * lexsup.c (parse_args): Honor config.rpath_separator.
588         * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
589         (gld${EMULATION_NAME}_add_sysroot): Likewise.
590         (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
591         rather than ':' when building the path.
592         * emultempl/vxworks.em (vxworks_before_parse): New function.
593         Override config.rpath_separator.
594         (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
595         set to gld${EMULATION_NAME}_after_open; #define that identifier
596         to vxworks_foo instead.
597         (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
599 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
600             Phil Edwards  <phil@codesourcery.com>
602         * ld.texinfo: Put the contents after the title page rather
603         than at the end of the document.
605 2007-03-26  Alan Modra  <amodra@bigpond.net.au>
607         * Makefile.am: Add dependency on ldemul-list.h for powerpc and
608         spu target emul files.
609         * configure.in: Check for mkstemp and waitpid.
610         * Makefile.in: Regenerate.
611         * configure: Regenerate.
612         * config.in: Regenerate.
613         * ldlang.c (input_file_chain): Make global.
614         (lang_add_input_file): Don't set lang_has_input_file here.
615         * ldlang.h (input_file_chain): Declare.
616         * emultempl/ppc32elf.em (ppc_recognized_file): New function.
617         (LDEMUL_RECOGNIZED_FILE): Define.
618         * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
619         (LDEMUL_RECOGNIZED_FILE): Define.
620         * emultempl/spuelf.em (struct tflist): New.
621         (tmp_file_list): New var.
622         (clean_tmp, embedded_spu_file): New functions.
624 2007-03-24  Alan Modra  <amodra@bigpond.net.au>
626         * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
627         rather than defining unconditionally.
628         (lang_leave_overlay_section): Likewise.
629         * ld.texinfo (Overlay Description): Update description and examples
630         for start/stop syms.
632 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
634         * ld.texinfo: Include VERSION_PACKAGE when reporting version.
636 2007-03-20  Paul Brook  <paul@codesourcery.com>
638         * emultempl/armelf.em (pic_veneer): New variable.
639         (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
640         (PARSE_AND_LIST_ARGS_CASES): Ditto.
641         (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
642         (PARSE_AND_LIST_OPTIONS): Ditto.
643         * ld.texinfo: Document --pic-veneer.
645 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
647         * ld.texinfo: Document --no-enum-size-warning.
648         * emultempl/armelf.em (no_enum_size_warning): New.
649         (arm_elf_create_output_section_statements): Correct typo
650         in comment.  Pass no_enum_size_warning to
651         bfd_elf32_arm_set_target_relocs.
652         (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
653         (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
654         (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
655         case.
657 2007-03-19  Bernd Schmidt  <bernd.schmidt@analog.com>
659         * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
660         (bfin-*-linux-uclibc*): New target.
662 2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
664         * pe-dll.c (make_one): Use pc-relative relocation instead of an
665         absolute relocation for x86_64-pc-mingw32 target.
667 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
669         * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
670         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
671         (TEXI2DVI): Likewise.
672         (REPORT_BUGS_TO): Removed.
673         (INCLUDES): Remove -DREPORT_BUGS_TO.
674         (ldver.texi): Likewise.
675         (ld.1): Don't depend on ldver.texi.
676         (MOSTLYCLEANFILES): Remove ldver.texi.
677         * Makefile.in: Regenerated.
679         * configure.in (--with-bugurl): Removed.
680         * configure: Regenerated.
682         * lexsup.c: Include bfdver.h.
684         * ld.texinfo: Include bfdver.texi instead of ldver.texi.
686 2007-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
688         * emultempl/mmixelf.em: Remove incorrect '#line' directive.
690 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
692         * ldlang.c (lang_size_sections_1): Correct backwards dot move
693         test to not trigger on overlays.  Only warn on backwards move
694         if non-default lma.
696 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
698         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
699         bug-reporting URL.
700         * Makefile.am (ldver.texi): Define BUGURL.
701         * ld.texinfo: Use BUGURL.
702         * Makefile.in, configure: Regenerate.
704 2007-03-07  Nick Clifton  <nickc@redhat.com>
706         PR ld/4023
707         * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
708         from any paths being inserted into the output binary's DT_RPATH.
710 2007-03-02  Nathan Sidwell  <nathan@codesourcery.com>
712         * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
714 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
716         * ldver.c (ldversion): Remove word "version" from output.  Update
717         copyright date.
719 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
721         * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
722         (eshelf_uclinux.c): New target.
723         * Makefile.in: Rebuilt.
724         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
725         * emulparams/shelf_uclinux.sh: New.
727 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
729         * configure.tgt: Fix type last change.
730         * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
732 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
734         * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
735         (eelf32_spu.c): Adjust dependencies.
736         * Makefile.in: Regenerate.
737         * emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
738         code using bin2c.
739         (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
740         (ovl_mgr_stream): Update.
741         * emultempl/spu_inc.s: Delete.
742         * emultempl/spu_none.s: Delete.
744 2007-02-26  Alan Modra  <amodra@bigpond.net.au>
746         * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
747         to _binary_spu_ovl_o_start.
748         (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
749         (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
750         * emultempl/spu_inc.s: Rename symbols.
751         * emultempl/spu_none.s: New file.
752         * emultempl/spu_ovl.S: Update copyright.
753         * Makefile.am (spu_inc.o): Try building with ld -r first, then
754         gas incbin, then build without overlay manager.
755         * Makefile.in: Regenerate.
757 2007-02-22  Joseph Myers  <joseph@codesourcery.com>
759         * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
760         mips*el-*-linux-*, mips*-*-linux-*): Set
761         targ_extra_libpath=$targ_extra_emuls.
763 2007-02-21  Nick Clifton  <nickc@redhat.com>
765         * ldlang.c (ldlang_override_segment_assignment): New function.
766         * ldlang.h (ldlang_override_segment_assignment): Prototype.
767         * ldmain.c (link_callbacks): Add
768         ldlang_override_segment_assignment.
770 2007-02-20  Alan Modra  <amodra@bigpond.net.au>
772         * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
774 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
775             Nathan Sidwell  <nathan@codesourcery.com>
776             Vladimir Prus  <vladimir@codesourcery.com
777             Joseph Myers  <joseph@codesourcery.com>
779         * configure.in (--with-bugurl): New option.
780         * configure: Regenerate.
781         * Makefile.am (REPORT_BUGS_TO): Define.
782         (INCLUDES): Define REPORT_BUGS_TO.
783         Regenerate dependencies.
784         * Makefile.in: Regenerate.
785         * ld.h: Remove include of bin-bugs.h.
786         * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
788 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
790         * ldcref.c (check_reloc_refs): Compare section for local syms.
792 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
794         * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
795         (__ovly_load_event): Define.
796         (size): Rename to osize.
797         * emultempl/spu_ovl.o: Regenerate.
799 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
801         * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
802         * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
803         SEC_RELOC flag set.
805 2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
807         * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
808         want64 is true.
809         (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
810         true
811         * configure: Regenerated.
813         * configure.tgt (targ_extra_libpath): Initialize.
814         (targ64_extra_emuls): New. Document. Initialize.
815         (targ64_extra_libpath): Likewise.
816         (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
817         targ64_extra_libpath.
818         (powerpc*-*-linux*): Likewise.
819         (s390-*-linux*): Likewise.
821 2007-02-07  Paul Brook  <paul@codesourcery.com>
823         * configure.tgt: Add arm*-*-uclinux-*eabi.
825 2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
827         * ldlang.c (lang_size_sections_1): Add a missing `)'.
829 2007-02-06  Alan Modra  <amodra@bigpond.net.au>
831         PR ld/3966
832         * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
833         move unless section size is non-zero.
835 2007-02-05  Dave Brolley  <brolley@redhat.com>
837         * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
838         * configure.tgt: Likewise.
839         * scripttempl/mep.sc: New file.
840         * emulparams/elf32mep.sh: New file.
841         * Makefile.in: Regenerate.
843 2006-01-29  Julian Brown  <julian@codesourcery.com>
845         * NEWS: Mention --vfp11-denorm-fix option.
846         * ld.texinfo: Document above.
847         * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
848         .vfp11_veneer section.
849         * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
850         * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
851         (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
852         bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
853         (arm_elf_after_allocation): New function. Call
854         bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
855         (arm_elf_create_output_section_statements): Pass vfp11 fix command
856         line option to BFD.
857         (OPTION_VFP11_DENORM_FIX): New option.
858         (PARSE_AND_LIST_LONGOPTS): Handle new option.
859         (PARSE_AND_LIST_OPTIONS): Likewise.
860         (PARSE_AND_LIST_ARGS_CASES): Likewise.
861         (LDEMUL_AFTER_ALLOCATION): Define.
863 2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
865         * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
866         (DEFSYMEND): Likewise.
867         (NAME): Likewise.
868         (LNAME): Likewise.
870 2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
872         * pe-dll.c: (make_one) Conditionally include jump stubs.
873         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
874         redundant jump stubs from import libraries and exclude them from
875         link.
877 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
879         * ld.h (args_type): Add new symbolic and dynamic_list fields.
881         * ld.texinfo: Update -Bsymbolic-functions.
883         * ldmain.c (main): Initialize command_line.symbolic to
884         symbolic_unset and command_line.dynamic_list to
885         dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
886         --dynamic-list* before setting link_info.symbolic,
887         link_info.dynamic and link_info.dynamic_data.
889         * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
890         (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
891         -Bsymbolic-functions.
892         (parse_args): Handle -Bsymbolic-functions.  Don't set
893         link_info.dynamic, link_info.dynamic_data and link_info.symbolic
894         here.  Set command_line.symbolic for -Bsymbolic.  Set
895         command_line.dynamic_list and command_line.symbolic for
896         --dynamic-list-data, --dynamic-list-cpp-new,
897         --dynamic-list-cpp-typeinfo and --dynamic-list.
899 2007-01-19  Jakub Jelinek  <jakub@redhat.com>
900             H.J. Lu  <hongjiu.lu@intel.com>
902         * emultempl/elf32.em (handle_option): Make sure -z max-page-size
903         or -z common-page-size argument is a power of 2.  Call
904         bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
906 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
908         * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
909         bfd_emul_set_commonpagesize.
911 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
913         * NEWS: Mention --default-script/-dT.
915         * ld.h (args_type): Add a default_script field.
917         * ld.texinfo: Document --default-script/-dT.
919         * ldmain.c (main): Handle command_line.default_script.
921         * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
922         (ld_options): Add entries for --default-script and -dT.
923         (parse_args): Handle --default-script/-dT.
925 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
927         PR ld/3831
928         * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
929         --dynamic-list-cpp-new.
931         * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
932         and --dynamic-list-cpp-new.
934         * ldlang.c (lang_append_dynamic_list_cpp_new): New.
935         (lang_process): Change link_info.dynamic to
936         link_info.dynamic_list.
937         (lang_append_dynamic_list): Likewise.
938         * ldmain.c (main): Likewise.  Initialize link_info.dynamic and
939         link_info.dynamic_data to FALSE.
941         * ldlang.h (lang_append_dynamic_list_cpp_new): New.
943         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
944         OPTION_DYNAMIC_LIST_CPP_NEW.
945         (ld_options): Add entries for -Bsymbolic-functions,
946         --dynamic-list-data and --dynamic-list-cpp-new.  Make
947         -Bsymbolic-functions an alias of --dynamic-list-data.
948         (parse_args): Change link_info.dynamic to link_info.dynamic_list.
949         Set link_info.dynamic to TRUE for --dynamic-list and
950         --dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
951         --dynamic-list-cpp-new.
953 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
955         * emultempl/elf-generic.em (gdl_map_segments): Only allow header
956         shrinkage for the first few iterations.
958 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
960         * configure.tgt: Renamed target x86_64-*-mingw64 to
961         x86_64-*-mingw*.
963 2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
965         * configure.host: Add i[3-7]86-*-mingw* case.
967 2007-01-08  Nick Clifton  <nickc@redhat.com>
969         * pep-dll.h (pep_bfd_is_dll): Add prototype.
971 2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
973         PR ld/3843
974         * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
975         tdir_elf_i386_fbsd.
977 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
979         * ldexp.c (fold_name): Issue error on undefined sections.
981 2007-01-02  Alan Modra  <amodra@bigpond.net.au>
983         * pe-dll.c: Include pe-dll.h.
984         * pep-dll.c (pe_bfd_is_dll): Define.
986 For older changes see ChangeLog-2006
988 Local Variables:
989 mode: change-log
990 left-margin: 8
991 fill-column: 74
992 version-control: never
993 End: