PR linker/5097
[external/binutils.git] / ld / ChangeLog
1 2007-10-04  Nick Clifton  <nickc@redhat.com>
2
3         PR linker/5097
4         * emultempl/armelf.em (arm_elf_finish): Fix spelling typo.
5
6 2007-10-01  Nick Clifton  <nickc@redhat.com>
7
8         PR linker/4844
9         * genscript.sh: Add support for generating a .xa script for use
10         with the --auto-import option.
11         * ld.texinfo: Document the new behaviour of the --auto-import
12         option.
13         * ldint.texinfo: Document new script generation.
14         * emulparams/i386pe.sh (GENERATE_AUTO_IMPORT): Define.
15         * emulparams/i386pe_posix.sh (GENERATE_AUTO_IMPORT): Define.
16         * emulparams/i386pep.sh (GENERATE_AUTO_IMPORT): Define.
17         * emultemp/pe.em (..._get_script): Support the use of the auto
18         import script.
19         * scripttempl/pe.sc: Put the .rdata input sections into the .data
20         output section when creating an auto import script.
21         * scripttempl/pep.sc: Likewise.
22
23 2007-09-26  Brian Watt  <bwatt@us.ibm.com>
24
25         * emultempl/spu_ovl.S: Add debug printf code.
26
27 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
28
29         PR binutils/3281
30         PR binutils/5037
31         * ldexp.h (ldexp_control): Add relro, relro_start_stat and
32         relro_end_stat.
33
34         * ldexp.c (fold_binary): Set expld.dataseg.relro to
35         exp_dataseg_relro_start or exp_dataseg_relro_end when
36         seeing DATA_SEGMENT_ALIGN or DATA_SEGMENT_RELRO_END,
37         respectively.
38
39         * ldlang.c (lang_size_sections_1): Properly set
40         expld.dataseg.relro_start_stat and
41         expld.dataseg.relro_end_stat.
42         (find_relro_section_callback): New function.
43         (lang_find_relro_sections_1): Likewise.
44         (lang_find_relro_sections): Likewise.
45         (lang_process): Call lang_find_relro_sections for
46         non-relocatable link.
47
48 2007-09-17  Nick Clifton  <nickc@redhat.com>
49
50         * po/es.po: Updated Spanish translation.
51
52 2007-09-16  H.J. Lu  <hongjiu.lu@intel.com>
53
54         * emultempl/elf32.em: Check DF_BIND_NOW instead of DT_BIND_NOW.
55
56 2007-09-15  Alan Modra  <amodra@bigpond.net.au>
57
58         PR ld/5025
59         * emultempl/elf32.em (write_build_id_section): Correct test for
60         "missing" .note.gnu.build-id.  Downgrade error to a warning if
61         it has been discarded.
62
63 2007-09-08  Alan Modra  <amodra@bigpond.net.au>
64
65         * ldwrite.c (build_link_order <lang_padding_statement_enum>): Correct
66         condition under which we build a bfd_data_link_order.
67
68 2007-08-31  Tristan Gingold  <gingold@adacore.com>
69
70         * ldlang.c (lang_map): Increment lang_statement_iteration so that
71         DEFINED() expressions are correctly computed.
72
73 2007-08-31  Alan Modra  <amodra@bigpond.net.au>
74
75         * ldlang.c (lang_record_phdrs): Give a fatal error if no sections
76         assigned to phdrs.  Avoid multiple forward scans for a section
77         with phdr assignment.
78
79 2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
80             Joseph Myers  <joseph@codesourcery.com>
81
82         * ldlang.c (sort_sections_by_lma): Sort by internal id after lma
83         for stable sort.
84
85 2007-08-28  Robert Sebastian Gerus  <arachnist@gmail.com>
86
87         * configure.host: Add support for i[3-7]86-*-dragonfly*.
88         * configure.tgt: Likewise.
89
90 2007-08-18  Alan Modra  <amodra@bigpond.net.au>
91
92         * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.
93
94 2007-08-17  Jakub Jelinek  <jakub@redhat.com>
95
96         * configure.host: Handle sparcv*-*-linux-* the same as
97         sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.
98
99 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
100
101         * emultempl/alphaelf.em: Format option help.
102         * emultempl/armcoff.em: Likewise.
103         * emultempl/armelf.em: Likewise.
104         * emultempl/avrelf.em: Likewise.
105         * emultempl/elf32.em: Likewise.
106         * emultempl/hppaelf.em: Likewise.
107         * emultempl/ia64elf.em: Likewise.
108         * emultempl/m68hc1xelf.em: Likewise.
109         * emultempl/ppc32elf.em: Likewise.
110         * emultempl/ppc64elf.em: Likewise.
111         * emultempl/scoreelf.em: Likewise.
112         * emultempl/spuelf.em: Likewise.
113         * emultempl/ticoff.em: Likewise.
114         * emultempl/vxworks.em: Likewise.
115         * emultempl/xtensaelf.em: Likewise.
116
117 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
118
119         * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
120         * lexsup.c (ld_options): Don't use tabs in help text.
121         * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
122         * emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.
123
124 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
125
126         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
127
128 2007-08-15  Alan Modra  <amodra@bigpond.net.au>
129
130         PR 4923
131         * emultempl/elf32.em (after_open): Return immediately when
132         non-ELF output.
133
134 2007-08-12  Daniel Jacobowitz  <dan@codesourcery.com>
135
136         * configure.in (ALL_LINGUAS): Add fi.
137         * po/fi.po: New file.
138         * configure: Regenerated.
139
140 2007-08-10  Nick Clifton  <nickc@redhat.com>
141
142         * NEWS: Add a marker for the 2.18 features.
143
144 2007-08-10  Nick Clifton  <nickc@redhat.com>
145
146         * po/ga.po: Updated Irish translation.
147         * po/vi.po: Updated Vietnamese translation.
148
149 2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>
150
151         * Makefile.am: Run "make dep-am".
152         * Makefile.in: Regenerate.
153
154 2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>
155
156         PR ld/4875
157         * elf-hints-local.h: Include bfd_stdint.h.  Use uint32_t
158         instead of u_int32_t.
159
160         * sha1.h: Include bfd_stdint.h instead of <stdint.h>.
161
162 2007-08-09  Alan Modra  <amodra@bigpond.net.au>
163
164         PR 4515
165         * genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR.
166         * ldint.texinfo: Likewise.
167         * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete.
168         * emulparams/armaoutl.sh: Likewise.
169         * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete.
170         * emulparams/bfin.sh: Likewise
171         * emulparams/crisaout.sh: Likewise
172         * emulparams/elf32_sparc.sh: Likewise
173         * emulparams/elf32am33lin.sh: Likewise
174         * emulparams/elf32b4300.sh: Likewise
175         * emulparams/elf32bmip.sh: Likewise
176         * emulparams/elf32mcore.sh: Likewise
177         * emulparams/elf32xtensa.sh: Likewise
178         * emulparams/elf64_s390.sh: Likewise
179         * emulparams/elf64_sparc.sh: Likewise
180         * emulparams/elf64alpha.sh: Likewise
181         * emulparams/elf_i386.sh: Likewise
182         * emulparams/elf_i386_be.sh: Likewise
183         * emulparams/elf_i386_chaos.sh: Likewise
184         * emulparams/elf_i386_ldso.sh: Likewise
185         * emulparams/elf_i386_vxworks.sh: Likewise
186         * emulparams/elf_s390.sh: Likewise
187         * emulparams/elf_x86_64.sh: Likewise
188         * emulparams/i386aout.sh: Likewise
189         * emulparams/i386moss.sh: Likewise
190         * emulparams/i386msdos.sh: Likewise
191         * emulparams/i386nto.sh: Likewise
192         * emulparams/i386nw.sh: Likewise
193         * emulparams/m68kaout.sh: Likewise
194         * emulparams/m68kelf.sh: Likewise
195         * emulparams/ppcnw.sh: Likewise
196         * emulparams/sun4.sh: Likewise
197         * emulparams/tic80coff.sh: Likewise
198         * emulparams/vaxnbsd.sh: Likewise
199         * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete.
200         (TEXT_START_ADDR): Set for -n, -N.
201         * emulparams/coff_sparc.sh: Likewise
202         * emulparams/elf32vax.sh: Likewise
203         * emulparams/i386bsd.sh: Likewise
204         * emulparams/i386go32.sh: Likewise
205         * emulparams/i386linux.sh: Likewise
206         * emulparams/i386lynx.sh: Likewise
207         * emulparams/i386mach.sh: Likewise
208         * emulparams/m68k4knbsd.sh: Likewise
209         * emulparams/m68klinux.sh: Likewise
210         * emulparams/m68knbsd.sh: Likewise
211         * emulparams/ns32knbsd.sh: Likewise
212         * emulparams/pc532macha.sh: Likewise
213         * emulparams/ppclynx.sh: Likewise
214         * emulparams/scoreelf.sh: Likewise
215         * emulparams/sparcaout.sh: Likewise
216         * emulparams/sparclinux.sh: Likewise
217         * emulparams/sun3.sh: Likewise
218         * emulparams/vsta.sh: Likewise
219
220 2007-08-07  Ralf Corsépius <ralf.corsepius@rtems.org>
221
222         * configure.tgt: Add bfin-*rtems*.
223
224 2007-08-06  Kai Tietz  <kai.tietz@onevision.com>
225
226         * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
227         (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of
228         shared objects.
229         * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64
230         mingw target.
231
232 2007-08-01  Nick Clifton  <nickc@redhat.com>
233
234         * po/ga.po: Updated Irish translation.
235
236 2007-07-29  Alan Modra  <amodra@bigpond.net.au>
237
238         * ldlang.c (lang_insert_orphan): When searching through linker
239         script to place an orphan, don't stop on statements that appear
240         outside of SECTIONS.
241         * emultempl/elf32.em (output_rel_find): Prefer read-only alloc
242         sections over read/write alloc sections.
243
244 2007-07-28  Jakub Jelinek  <jakub@redhat.com>
245
246         * scripttempl/elf.sc: Add .note.gnu.build-id.
247
248 2007-07-25  Nick Clifton  <nickc@redhat.com>
249
250         PR 4824
251         * ld.texinfo (Options): Extend the description of the -O command
252         line option.
253
254 2007-07-24  Kai Tietz  <kai.tietz@onevision.com>
255
256         * pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
257
258 2007-07-21  Nick Clifton  <nickc@redhat.com>
259
260         * sha1.h: Change to use version 3 of the GNU General Public
261         License and tidy up formatting.
262         * sha1.c: Likewise.
263
264 2007-07-19  Roland McGrath  <roland@redhat.com>
265
266         * genscripts.sh (source_em, fragment): New sh functions.
267         Truncate e${EMULATION_NAME}.c file before .em script fills it.
268         Use source_em in place of . for the .em script.
269         * emultempl/generic.em: Use fragment and source_em functions.
270         * emultempl/aix.em: Likewise.
271         * emultempl/alphaelf.em: Likewise.
272         * emultempl/armcoff.em: Likewise.
273         * emultempl/armelf.em: Likewise.
274         * emultempl/avrelf.em: Likewise.
275         * emultempl/beos.em: Likewise.
276         * emultempl/cr16elf.em: Likewise.
277         * emultempl/crxelf.em: Likewise.
278         * emultempl/elf-generic.em: Likewise.
279         * emultempl/elf32.em: Likewise.
280         * emultempl/genelf.em: Likewise.
281         * emultempl/gld960.em: Likewise.
282         * emultempl/gld960c.em: Likewise.
283         * emultempl/hppaelf.em: Likewise.
284         * emultempl/ia64elf.em: Likewise.
285         * emultempl/irix.em: Likewise.
286         * emultempl/linux.em: Likewise.
287         * emultempl/lnk960.em: Likewise.
288         * emultempl/m68hc1xelf.em: Likewise.
289         * emultempl/m68kcoff.em: Likewise.
290         * emultempl/m68kelf.em: Likewise.
291         * emultempl/mipsecoff.em: Likewise.
292         * emultempl/mipself.em: Likewise.
293         * emultempl/mmix-elfnmmo.em: Likewise.
294         * emultempl/mmixelf.em: Likewise.
295         * emultempl/mmo.em: Likewise.
296         * emultempl/needrelax.em: Likewise.
297         * emultempl/netbsd.em: Likewise.
298         * emultempl/pe.em: Likewise.
299         * emultempl/pep.em: Likewise.
300         * emultempl/ppc32elf.em: Likewise.
301         * emultempl/ppc64elf.em: Likewise.
302         * emultempl/scoreelf.em: Likewise.
303         * emultempl/sh64elf.em: Likewise.
304         * emultempl/spuelf.em: Likewise.
305         * emultempl/sunos.em: Likewise.
306         * emultempl/ticoff.em: Likewise.
307         * emultempl/vanilla.em: Likewise.
308         * emultempl/vxworks.em: Likewise.
309         * emultempl/xtensaelf.em: Likewise.
310         * emultempl/z80.em: Likewise.
311
312 2007-07-18  Roland McGrath  <roland@redhat.com>
313
314         * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
315         Use ASEC->contents for CONTENTS when missing, and allocate
316         ASEC->size if needed.
317
318 2007-07-13  Roland McGrath  <roland@redhat.com>
319
320         * emultempl/elf32.em (struct build_id_info): New type.
321         (gld${EMULATION_NAME}_id_note_section_size): New function.
322         (gld${EMULATION_NAME}_write_build_id_section): New function.
323         (gld${EMULATION_NAME}_after_open): Use them.
324         (DEFAULT_BUILD_ID_STYLE): Change to "sha1".
325         * ld.texinfo (Options): Mention --build-id=sha1.
326
327         * sha1.h: New file (from gnulib).
328         * sha1.c: New file (from gnulib).
329         * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
330         (sha1.o): New target.
331         * Makefile.in: Regenerated.
332
333 2007-07-13  Alan Modra  <amodra@bigpond.net.au>
334
335         * ldlang.c (strip_excluded_output_sections): Don't ignore sections
336         with update_dot_tree.
337
338 2007-07-12  Nathan Sidwell  <nathan@codesourcery.com>
339
340         * scripttempl/pe.sc: Don't include .gcc_except_table and
341         .eh_frame on partial links.
342         * scripttempl/pep.sc: Likewise.
343
344 2007-07-12  Alan Modra  <amodra@bigpond.net.au>
345
346         PR 4782
347         * ldlang.c (lang_size_sections_1 <output_section_statement>): Only
348         use expld.result when valid.
349
350 2007-07-12  Alan Modra  <amodra@bigpond.net.au>
351
352         * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
353         before calling base_name, not after.
354
355 2007-07-10  Alan Modra  <amodra@bigpond.net.au>
356
357         * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE.  Add
358         .gnu.debuglink.
359         * scripttempl/armbpabi.sc: Likewise.
360         * scripttempl/elf32sh-symbian.sc: Likewise.
361         * scripttempl/elfxtensa.sc: Likewise.
362         * scripttempl/mep.sc: Likewise.
363
364 2007-07-09  Roland McGrath  <roland@redhat.com>
365
366         * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
367         (gld${EMULATION_NAME}_handle_option): Handle --build-id.
368         (gld${EMULATION_NAME}_list_options): List --build-id.
369         (gld${EMULATION_NAME}_after_open): If --build-id was given,
370         synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
371         * ld.texinfo (Options): Describe --build-id.
372         * NEWS: Mention --build-id.
373
374 2007-07-06  Nick Clifton  <nickc@redhat.com>
375
376         * deffile.h: Update copyright notice to refer to GPLv3.
377         * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
378         ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
379         ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
380         ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
381         mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
382         sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
383         emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
384         emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
385         emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
386         emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
387         emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
388         emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
389         emultempl/m68kcoff.em, emultempl/m68kelf.em,
390         emultempl/mipsecoff.em, emultempl/mipself.em,
391         emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
392         emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
393         emultempl/ppc32elf.em, emultempl/ppc64elf.em,
394         emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
395         emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
396         emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
397         * genscripts.sh: Add copyright notice.
398         * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
399         Likewise.
400         * NEWS: Mention that the sources are now under GPLv3.
401         * configure: Regenerate.
402
403 2007-07-05  Danny Smith  <dannysmith@users.sourceforge.net>
404
405         * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
406         (--stack): Likewise.
407
408 2007-07-03  Matthias Klose  <doko@ubuntu.com>
409
410         * emultempl/spuelf.em (base_name): Correct backslash quoting.
411
412 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
413
414         * Makefile.in: Regenerate.
415         * aclocal.m4: Regenerate.
416         * config.in: Regenerate.
417         * po/ld.pot: Regenerate.
418
419 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
420
421         * aclocal.m4: Regenerated.
422         * Makefile.in: Likewise.
423
424 2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
425
426         * NEWS: Remove a line with '*' only.
427
428 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
429
430         * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
431         (ATTRS_SECTIONS): Define.
432         * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
433         scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
434         scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
435
436 2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
437
438         * scripttemp/elf32cr16.sc: Default linker script.
439         * emulparams/elf32cr16.sh: Emulation script.
440         * emultempl/cr16elf.em: Emulation script.
441         * Makefile.am: Add entry to make cr16 target.
442         * Makefile.in: Regenerate.
443         * configure.tgt: Specify default and other emulation parameters
444         for cr16.
445         * ChangeLog: Added CR16 target entry.
446         * NEWS: Announce the support for the CR16 new target.
447
448 2007-06-27  Alan Modra  <amodra@bigpond.net.au>
449
450         * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
451
452 2007-06-20  Alan Modra  <amodra@bigpond.net.au>
453
454         * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
455
456 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
457
458         * ldlex.l, ldgram.y: Add ALIGNOF.
459         * ldexp.c (exp_print_token, foldname): Likewise.
460         * ld.texinfo: Likewise.
461
462 2007-06-18  Alan Modra  <amodra@bigpond.net.au>
463
464         * Makefile.am: Add eelf32_spu.o rule.
465         * Makefile.in: Regenerate.
466         * emultempl/spuelf.em: Revert last change.  Instead use EMBEDSPU
467         defined in Makefile for embedspu name.
468
469 2007-06-18  Alan Modra  <amodra@bigpond.net.au>
470
471         * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
472         name prefix from that of ld.
473
474 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
475
476         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
477
478         * acinclude.m4: Removed.
479
480         * Makefile.in: Regenerated.
481         * aclocal.m4: Likewise.
482         * configure: Likewise.
483
484 2007-06-14  Alan Modra  <amodra@bigpond.net.au>
485
486         * emultempl/spu_ovl.S: Don't trash lr on tail call from one
487         overlay to another.
488         * emultempl/spu_ovl.o: Regenerate.
489
490 2007-06-11  Bob Wilson  <bob.wilson@acm.org>
491
492         * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
493         for .xt_except_table.
494         (OTHER_RELRO_SECTIONS): New.
495
496 2007-06-11  Sterling Augustine  <sterling@tensilica.com>
497             Bob Wilson  <bob.wilson@acm.org>
498
499         * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
500         XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
501
502 2007-06-01  Noah Misch  <noah@cs.caltech.edu>
503             Alan Modra  <amodra@bigpond.net.au>
504
505         * ldlang.c (ldlang_add_file): Use input_bfds_tail.
506         * ldmain.c (main): Init input_bfds_tail.  Sort link_info
507         initialization.
508
509 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
510
511         * emultempl/spuelf.em (base_name): New function, split out from..
512         (embedded_spu_file) ..here.  Pass -fPIC or -fpie to embedspu
513         invocation if we deduce a shared lib or position independent
514         executable build by looking at ctrbegin* linker input files.
515
516 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
517
518         * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
519         types and sizes.
520         * emultempl/spu_ovl.o: Regenerate.
521
522 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
523
524         * Makefile.in: Regnerate.
525         * configure: Regenerate.
526         * aclocal.m4: Regenerate.
527
528 2007-05-24  Nathan Sidwell  <nathan@codesourcery.com>
529
530         * ldlex.l: ASSERT is recognized in SCRIPT env.  NAMES cannot
531         contain commas in EXP env.
532         * ldgram.y (extern_name_list): Push to EXP env, move body to ...
533         (extern_name_list_body): ... here.
534         (script_file, ifile_list): Reformat.
535         (statement): Add ASSERT.
536
537 2007-05-22  Nick Clifton  <nickc@redhat.com>
538
539         * ld.texinfo: Use @copying around the copyright notice.
540         * ldint.texinfo: Likewise.
541
542 2007-05-18  Richard Sandiford  <richard@codesourcery.com>
543
544         * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
545         (OTHER_READWRITE_SECTIONS): Define.  Add .rdata sections.
546
547 2007-05-16  Richard Sandiford  <richard@codesourcery.com>
548
549         * configure.in: Allow sysroots to be relocated under $prefix as
550         well as $exec_prefix.
551         * configure: Regenerate.
552
553 2007-05-14  Andreas Schwab  <schwab@suse.de>
554
555         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
556         Handle null pattern.
557
558 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
559
560         * emultempl/ppc32elf.em (plt_style): New variable.
561         (old_plt): Delete.
562         (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
563         (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
564         OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
565         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
566         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
567         * ld.texinfo (--secure-plt): Document.
568
569 2007-05-08  Alan Modra  <amodra@bigpond.net.au>
570
571         * ld.h (args_type, ld_config_type): Reorder fields.
572         * ldmain.c (main): Don't initialise a bunch of vars we know are
573         zero already.
574
575 2007-05-05  Anatoly Sokolov <aesok@post.ru>
576
577         * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
578         "--pmem-wrap-around".
579         (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
580
581 2007-05-03  Bob Wilson  <bob.wilson@acm.org>
582
583         * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
584
585 2007-05-03  Alan Modra  <amodra@bigpond.net.au>
586
587         * ld.texinfo (--no-warn-search-mismatch): Document.
588         * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
589         incompatible libraries if --no-warn-search-mismatch.
590         * ld.h (args_type): Add warn_search_mismatch.
591         * ldmain.c (main): Init it.
592         * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
593         (ld_options): Add entry for --no-warn-search-mismatch.
594         (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
595
596 2007-05-03  Alan Modra  <amodra@bigpond.net.au>
597
598         * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
599
600 2007-05-01  Robert Millan  <rmh@aybabtu.com>
601
602         * ldlang.c (lang_check): Error on architecture mismatch.
603
604 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
605
606         * ldmain.c (link_callbacks): Init info and minfo fields.
607         * ldmisc.c (minfo): Do nothing if no map file.
608         * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
609         (spu_after_open): Adjust spu_elf_create_sections call.
610         (spu_before_allocation): Likewise for spu_elf_size_stubs.
611         (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
612         (PARSE_AND_LIST_LONGOPTS): Add new entries.
613         (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
614         * gen-doc.texi: Add @set for SPU and other missing targets.
615         * ld.texinfo: Update man page selection to match gen-doc.texi.
616         Document SPU features.
617
618 2007-04-28  Alan Modra  <amodra@bigpond.net.au>
619
620         * ldcref.c (struct cref_hash_entry): Make "demangled" const.
621         (cref_fill_array): Adjust for changed demangler.
622         * ldlang.c (lang_one_common): Likewise.
623
624 2007-04-27  Nathan Froyd  <froydnj@codesourcery.com>
625
626         * emulparams/elf32_sparc.sh: Update comments.
627         * emulparams/elf32bmip.sh: Likewise.
628         * emulparams/elf32ppc.sh: Likewise.
629         * emulparams/vxworks.sh: Likewise.
630
631 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
632
633         Many files: Include sysdep.h first.  Remove duplicate headers.
634         * Makefile.am: Run "make dep-am".
635         * Makefile.in: Regenerate.
636
637 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
638
639         * Makefile.in: Regenerate.
640
641 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
642
643         * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
644         * ldlang.c (lang_one_common): Likewise.
645         * ldmisc.c (vfinfo): Likewise.
646         (demangle): Delete.
647         * ldmisc.h (demangle): Delete.
648         * Makefile.am: Run "make dep-am".
649         * Makefile.in: Regenerate.
650
651 2007-04-18  Alan Modra  <amodra@bigpond.net.au>
652
653         * ldlang.h (enum section_type): Add overlay_section.
654         * ldlang.c (lang_add_section): Handle flags for overlay_section
655         as per normal_section.
656         (lang_size_sections_1): When setting lma, detect overlays by
657         os->sectype rather than by looking for overlapping vmas.
658         (lang_enter_overlay_section): Use overlay_section type.
659         (lang_leave_overlay): Set first overlay section to normal.
660
661 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
662
663         * Makefile.am: Add ACLOCAL_AMFLAGS.
664         * Makefile.in: Regenerate.
665
666 2007-04-12  Bob Wilson  <bob.wilson@acm.org>
667
668         * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
669
670 2007-04-10  Richard Henderson  <rth@redhat.com>
671
672         * ldlang.c (relax_sections): Initialize and increment
673         link_info.relax_trip.
674
675 2007-04-04  Paul Brook  <paul@codesourcery.com>
676
677         * configure.tgt: Loosen checks for arm uclinux eabi targets.
678
679 2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>
680
681         PR ld/4090
682         * ldexp.h (node_type): Add lineno.
683         * ldexp.c: Include "ldlex.h".
684         (exp_intop): Set the lineno field from lineno.
685         (exp_bigintop): Likewise.
686         (exp_relop): Likewise.
687         (exp_nameop): Likewise.
688         (exp_binop): Set the lineno field from lineno of lhs.
689         (exp_trinop): Likewise.
690         (exp_unop): Set the lineno field from lineno of child.
691         (exp_assop): Set the lineno field from lineno of src.
692         (exp_provide): Likewise.
693         (exp_assert): Set the lineno field from lineno of exp.
694         (exp_get_abs_int): Set lineno from lineno of nonconstant
695         expression when report problem.
696
697 2007-03-29  Richard Sandiford  <richard@codesourcery.com>
698             Daniel Jacobowitz  <dan@codesourcery.com>
699
700         * NEWS: Mention -l:foo.
701         * ld.texinfo: Document it.
702         * ldlang.c (new_afile): If a lang_input_file_is_l_enum
703         entry as a name beginning with a coloh, convert it to a
704         lang_input_file_is_search_file_enum entry without the colon.
705
706 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
707
708         * ld.h (ld_config_type): Add rpath_separator.
709         * ldmain.c (main): Initialize it.
710         * lexsup.c (parse_args): Honor config.rpath_separator.
711         * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
712         (gld${EMULATION_NAME}_add_sysroot): Likewise.
713         (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
714         rather than ':' when building the path.
715         * emultempl/vxworks.em (vxworks_before_parse): New function.
716         Override config.rpath_separator.
717         (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
718         set to gld${EMULATION_NAME}_after_open; #define that identifier
719         to vxworks_foo instead.
720         (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
721
722 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
723             Phil Edwards  <phil@codesourcery.com>
724
725         * ld.texinfo: Put the contents after the title page rather
726         than at the end of the document.
727
728 2007-03-26  Alan Modra  <amodra@bigpond.net.au>
729
730         * Makefile.am: Add dependency on ldemul-list.h for powerpc and
731         spu target emul files.
732         * configure.in: Check for mkstemp and waitpid.
733         * Makefile.in: Regenerate.
734         * configure: Regenerate.
735         * config.in: Regenerate.
736         * ldlang.c (input_file_chain): Make global.
737         (lang_add_input_file): Don't set lang_has_input_file here.
738         * ldlang.h (input_file_chain): Declare.
739         * emultempl/ppc32elf.em (ppc_recognized_file): New function.
740         (LDEMUL_RECOGNIZED_FILE): Define.
741         * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
742         (LDEMUL_RECOGNIZED_FILE): Define.
743         * emultempl/spuelf.em (struct tflist): New.
744         (tmp_file_list): New var.
745         (clean_tmp, embedded_spu_file): New functions.
746
747 2007-03-24  Alan Modra  <amodra@bigpond.net.au>
748
749         * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
750         rather than defining unconditionally.
751         (lang_leave_overlay_section): Likewise.
752         * ld.texinfo (Overlay Description): Update description and examples
753         for start/stop syms.
754
755 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
756
757         * ld.texinfo: Include VERSION_PACKAGE when reporting version.
758
759 2007-03-20  Paul Brook  <paul@codesourcery.com>
760
761         * emultempl/armelf.em (pic_veneer): New variable.
762         (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
763         (PARSE_AND_LIST_ARGS_CASES): Ditto.
764         (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
765         (PARSE_AND_LIST_OPTIONS): Ditto.
766         * ld.texinfo: Document --pic-veneer.
767
768 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
769
770         * ld.texinfo: Document --no-enum-size-warning.
771         * emultempl/armelf.em (no_enum_size_warning): New.
772         (arm_elf_create_output_section_statements): Correct typo
773         in comment.  Pass no_enum_size_warning to
774         bfd_elf32_arm_set_target_relocs.
775         (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
776         (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
777         (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
778         case.
779
780 2007-03-19  Bernd Schmidt  <bernd.schmidt@analog.com>
781
782         * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
783         (bfin-*-linux-uclibc*): New target.
784
785 2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
786
787         * pe-dll.c (make_one): Use pc-relative relocation instead of an
788         absolute relocation for x86_64-pc-mingw32 target.
789
790 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
791
792         * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
793         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
794         (TEXI2DVI): Likewise.
795         (REPORT_BUGS_TO): Removed.
796         (INCLUDES): Remove -DREPORT_BUGS_TO.
797         (ldver.texi): Likewise.
798         (ld.1): Don't depend on ldver.texi.
799         (MOSTLYCLEANFILES): Remove ldver.texi.
800         * Makefile.in: Regenerated.
801
802         * configure.in (--with-bugurl): Removed.
803         * configure: Regenerated.
804
805         * lexsup.c: Include bfdver.h.
806
807         * ld.texinfo: Include bfdver.texi instead of ldver.texi.
808
809 2007-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
810
811         * emultempl/mmixelf.em: Remove incorrect '#line' directive.
812
813 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
814
815         * ldlang.c (lang_size_sections_1): Correct backwards dot move
816         test to not trigger on overlays.  Only warn on backwards move
817         if non-default lma.
818
819 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
820
821         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
822         bug-reporting URL.
823         * Makefile.am (ldver.texi): Define BUGURL.
824         * ld.texinfo: Use BUGURL.
825         * Makefile.in, configure: Regenerate.
826
827 2007-03-07  Nick Clifton  <nickc@redhat.com>
828
829         PR ld/4023
830         * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
831         from any paths being inserted into the output binary's DT_RPATH.
832
833 2007-03-02  Nathan Sidwell  <nathan@codesourcery.com>
834
835         * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
836
837 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
838
839         * ldver.c (ldversion): Remove word "version" from output.  Update
840         copyright date.
841
842 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
843
844         * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
845         (eshelf_uclinux.c): New target.
846         * Makefile.in: Rebuilt.
847         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
848         * emulparams/shelf_uclinux.sh: New.
849
850 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
851
852         * configure.tgt: Fix type last change.
853         * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
854
855 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
856
857         * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
858         (eelf32_spu.c): Adjust dependencies.
859         * Makefile.in: Regenerate.
860         * emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
861         code using bin2c.
862         (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
863         (ovl_mgr_stream): Update.
864         * emultempl/spu_inc.s: Delete.
865         * emultempl/spu_none.s: Delete.
866
867 2007-02-26  Alan Modra  <amodra@bigpond.net.au>
868
869         * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
870         to _binary_spu_ovl_o_start.
871         (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
872         (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
873         * emultempl/spu_inc.s: Rename symbols.
874         * emultempl/spu_none.s: New file.
875         * emultempl/spu_ovl.S: Update copyright.
876         * Makefile.am (spu_inc.o): Try building with ld -r first, then
877         gas incbin, then build without overlay manager.
878         * Makefile.in: Regenerate.
879
880 2007-02-22  Joseph Myers  <joseph@codesourcery.com>
881
882         * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
883         mips*el-*-linux-*, mips*-*-linux-*): Set
884         targ_extra_libpath=$targ_extra_emuls.
885
886 2007-02-21  Nick Clifton  <nickc@redhat.com>
887
888         * ldlang.c (ldlang_override_segment_assignment): New function.
889         * ldlang.h (ldlang_override_segment_assignment): Prototype.
890         * ldmain.c (link_callbacks): Add
891         ldlang_override_segment_assignment.
892
893 2007-02-20  Alan Modra  <amodra@bigpond.net.au>
894
895         * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
896
897 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
898             Nathan Sidwell  <nathan@codesourcery.com>
899             Vladimir Prus  <vladimir@codesourcery.com
900             Joseph Myers  <joseph@codesourcery.com>
901
902         * configure.in (--with-bugurl): New option.
903         * configure: Regenerate.
904         * Makefile.am (REPORT_BUGS_TO): Define.
905         (INCLUDES): Define REPORT_BUGS_TO.
906         Regenerate dependencies.
907         * Makefile.in: Regenerate.
908         * ld.h: Remove include of bin-bugs.h.
909         * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
910
911 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
912
913         * ldcref.c (check_reloc_refs): Compare section for local syms.
914
915 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
916
917         * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
918         (__ovly_load_event): Define.
919         (size): Rename to osize.
920         * emultempl/spu_ovl.o: Regenerate.
921
922 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
923
924         * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
925         * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
926         SEC_RELOC flag set.
927
928 2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
929
930         * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
931         want64 is true.
932         (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
933         true
934         * configure: Regenerated.
935
936         * configure.tgt (targ_extra_libpath): Initialize.
937         (targ64_extra_emuls): New. Document. Initialize.
938         (targ64_extra_libpath): Likewise.
939         (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
940         targ64_extra_libpath.
941         (powerpc*-*-linux*): Likewise.
942         (s390-*-linux*): Likewise.
943
944 2007-02-07  Paul Brook  <paul@codesourcery.com>
945
946         * configure.tgt: Add arm*-*-uclinux-*eabi.
947
948 2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
949
950         * ldlang.c (lang_size_sections_1): Add a missing `)'.
951
952 2007-02-06  Alan Modra  <amodra@bigpond.net.au>
953
954         PR ld/3966
955         * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
956         move unless section size is non-zero.
957
958 2007-02-05  Dave Brolley  <brolley@redhat.com>
959
960         * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
961         * configure.tgt: Likewise.
962         * scripttempl/mep.sc: New file.
963         * emulparams/elf32mep.sh: New file.
964         * Makefile.in: Regenerate.
965
966 2006-01-29  Julian Brown  <julian@codesourcery.com>
967
968         * NEWS: Mention --vfp11-denorm-fix option.
969         * ld.texinfo: Document above.
970         * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
971         .vfp11_veneer section.
972         * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
973         * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
974         (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
975         bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
976         (arm_elf_after_allocation): New function. Call
977         bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
978         (arm_elf_create_output_section_statements): Pass vfp11 fix command
979         line option to BFD.
980         (OPTION_VFP11_DENORM_FIX): New option.
981         (PARSE_AND_LIST_LONGOPTS): Handle new option.
982         (PARSE_AND_LIST_OPTIONS): Likewise.
983         (PARSE_AND_LIST_ARGS_CASES): Likewise.
984         (LDEMUL_AFTER_ALLOCATION): Define.
985
986 2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
987
988         * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
989         (DEFSYMEND): Likewise.
990         (NAME): Likewise.
991         (LNAME): Likewise.
992
993 2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
994
995         * pe-dll.c: (make_one) Conditionally include jump stubs.
996         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
997         redundant jump stubs from import libraries and exclude them from
998         link.
999
1000 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
1001
1002         * ld.h (args_type): Add new symbolic and dynamic_list fields.
1003
1004         * ld.texinfo: Update -Bsymbolic-functions.
1005
1006         * ldmain.c (main): Initialize command_line.symbolic to
1007         symbolic_unset and command_line.dynamic_list to
1008         dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
1009         --dynamic-list* before setting link_info.symbolic,
1010         link_info.dynamic and link_info.dynamic_data.
1011
1012         * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
1013         (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
1014         -Bsymbolic-functions.
1015         (parse_args): Handle -Bsymbolic-functions.  Don't set
1016         link_info.dynamic, link_info.dynamic_data and link_info.symbolic
1017         here.  Set command_line.symbolic for -Bsymbolic.  Set
1018         command_line.dynamic_list and command_line.symbolic for
1019         --dynamic-list-data, --dynamic-list-cpp-new,
1020         --dynamic-list-cpp-typeinfo and --dynamic-list.
1021
1022 2007-01-19  Jakub Jelinek  <jakub@redhat.com>
1023             H.J. Lu  <hongjiu.lu@intel.com>
1024
1025         * emultempl/elf32.em (handle_option): Make sure -z max-page-size
1026         or -z common-page-size argument is a power of 2.  Call
1027         bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
1028
1029 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
1030
1031         * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
1032         bfd_emul_set_commonpagesize.
1033
1034 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
1035
1036         * NEWS: Mention --default-script/-dT.
1037
1038         * ld.h (args_type): Add a default_script field.
1039
1040         * ld.texinfo: Document --default-script/-dT.
1041
1042         * ldmain.c (main): Handle command_line.default_script.
1043
1044         * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
1045         (ld_options): Add entries for --default-script and -dT.
1046         (parse_args): Handle --default-script/-dT.
1047
1048 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1049
1050         PR ld/3831
1051         * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
1052         --dynamic-list-cpp-new.
1053
1054         * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
1055         and --dynamic-list-cpp-new.
1056
1057         * ldlang.c (lang_append_dynamic_list_cpp_new): New.
1058         (lang_process): Change link_info.dynamic to
1059         link_info.dynamic_list.
1060         (lang_append_dynamic_list): Likewise.
1061         * ldmain.c (main): Likewise.  Initialize link_info.dynamic and
1062         link_info.dynamic_data to FALSE.
1063
1064         * ldlang.h (lang_append_dynamic_list_cpp_new): New.
1065
1066         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
1067         OPTION_DYNAMIC_LIST_CPP_NEW.
1068         (ld_options): Add entries for -Bsymbolic-functions,
1069         --dynamic-list-data and --dynamic-list-cpp-new.  Make
1070         -Bsymbolic-functions an alias of --dynamic-list-data.
1071         (parse_args): Change link_info.dynamic to link_info.dynamic_list.
1072         Set link_info.dynamic to TRUE for --dynamic-list and
1073         --dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
1074         --dynamic-list-cpp-new.
1075
1076 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
1077
1078         * emultempl/elf-generic.em (gdl_map_segments): Only allow header
1079         shrinkage for the first few iterations.
1080
1081 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
1082
1083         * configure.tgt: Renamed target x86_64-*-mingw64 to
1084         x86_64-*-mingw*.
1085
1086 2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
1087
1088         * configure.host: Add i[3-7]86-*-mingw* case.
1089
1090 2007-01-08  Nick Clifton  <nickc@redhat.com>
1091
1092         * pep-dll.h (pep_bfd_is_dll): Add prototype.
1093
1094 2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
1095
1096         PR ld/3843
1097         * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
1098         tdir_elf_i386_fbsd.
1099
1100 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
1101
1102         * ldexp.c (fold_name): Issue error on undefined sections.
1103
1104 2007-01-02  Alan Modra  <amodra@bigpond.net.au>
1105
1106         * pe-dll.c: Include pe-dll.h.
1107         * pep-dll.c (pe_bfd_is_dll): Define.
1108
1109 For older changes see ChangeLog-2006
1110 \f
1111 Local Variables:
1112 mode: change-log
1113 left-margin: 8
1114 fill-column: 74
1115 version-control: never
1116 End: