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