OSDN Git Service

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