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