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