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