1 2007-08-12 Daniel Jacobowitz <dan@codesourcery.com>
3 * configure.in (ALL_LINGUAS): Add fi.
5 * configure: Regenerated.
7 2007-08-10 Nick Clifton <nickc@redhat.com>
9 * NEWS: Add a marker for the 2.18 features.
11 2007-08-10 Nick Clifton <nickc@redhat.com>
13 * po/ga.po: Updated Irish translation.
14 * po/vi.po: Updated Vietnamese translation.
16 2007-08-09 Alan Modra <amodra@bigpond.net.au>
19 * genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR.
20 * ldint.texinfo: Likewise.
21 * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete.
22 * emulparams/armaoutl.sh: Likewise.
23 * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete.
24 * emulparams/bfin.sh: Likewise
25 * emulparams/crisaout.sh: Likewise
26 * emulparams/elf32_sparc.sh: Likewise
27 * emulparams/elf32am33lin.sh: Likewise
28 * emulparams/elf32b4300.sh: Likewise
29 * emulparams/elf32bmip.sh: Likewise
30 * emulparams/elf32mcore.sh: Likewise
31 * emulparams/elf32xtensa.sh: Likewise
32 * emulparams/elf64_s390.sh: Likewise
33 * emulparams/elf64_sparc.sh: Likewise
34 * emulparams/elf64alpha.sh: Likewise
35 * emulparams/elf_i386.sh: Likewise
36 * emulparams/elf_i386_be.sh: Likewise
37 * emulparams/elf_i386_chaos.sh: Likewise
38 * emulparams/elf_i386_ldso.sh: Likewise
39 * emulparams/elf_i386_vxworks.sh: Likewise
40 * emulparams/elf_s390.sh: Likewise
41 * emulparams/elf_x86_64.sh: Likewise
42 * emulparams/i386aout.sh: Likewise
43 * emulparams/i386moss.sh: Likewise
44 * emulparams/i386msdos.sh: Likewise
45 * emulparams/i386nto.sh: Likewise
46 * emulparams/i386nw.sh: Likewise
47 * emulparams/m68kaout.sh: Likewise
48 * emulparams/m68kelf.sh: Likewise
49 * emulparams/ppcnw.sh: Likewise
50 * emulparams/sun4.sh: Likewise
51 * emulparams/tic80coff.sh: Likewise
52 * emulparams/vaxnbsd.sh: Likewise
53 * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete.
54 (TEXT_START_ADDR): Set for -n, -N.
55 * emulparams/coff_sparc.sh: Likewise
56 * emulparams/elf32vax.sh: Likewise
57 * emulparams/i386bsd.sh: Likewise
58 * emulparams/i386go32.sh: Likewise
59 * emulparams/i386linux.sh: Likewise
60 * emulparams/i386lynx.sh: Likewise
61 * emulparams/i386mach.sh: Likewise
62 * emulparams/m68k4knbsd.sh: Likewise
63 * emulparams/m68klinux.sh: Likewise
64 * emulparams/m68knbsd.sh: Likewise
65 * emulparams/ns32knbsd.sh: Likewise
66 * emulparams/pc532macha.sh: Likewise
67 * emulparams/ppclynx.sh: Likewise
68 * emulparams/scoreelf.sh: Likewise
69 * emulparams/sparcaout.sh: Likewise
70 * emulparams/sparclinux.sh: Likewise
71 * emulparams/sun3.sh: Likewise
72 * emulparams/vsta.sh: Likewise
74 2007-08-07 Ralf Corsépius <ralf.corsepius@rtems.org>
76 * configure.tgt: Add bfin-*rtems*.
78 2007-08-06 Daniel Jacobowitz <dan@codesourcery.com>
80 * po/POTFILES.in: Regenerate.
82 2007-08-06 Kai Tietz <kai.tietz@onevision.com>
84 * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
85 (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of
87 * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64
90 2007-08-01 Nick Clifton <nickc@redhat.com>
92 * po/ga.po: Updated Irish translation.
94 2007-07-29 Alan Modra <amodra@bigpond.net.au>
96 * ldlang.c (lang_insert_orphan): When searching through linker
97 script to place an orphan, don't stop on statements that appear
99 * emultempl/elf32.em (output_rel_find): Prefer read-only alloc
100 sections over read/write alloc sections.
102 2007-07-28 Jakub Jelinek <jakub@redhat.com>
104 * scripttempl/elf.sc: Add .note.gnu.build-id.
106 2007-07-25 Nick Clifton <nickc@redhat.com>
109 * ld.texinfo (Options): Extend the description of the -O command
112 2007-07-24 Kai Tietz <kai.tietz@onevision.com>
114 * pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
116 2007-07-21 Nick Clifton <nickc@redhat.com>
118 * sha1.h: Change to use version 3 of the GNU General Public
119 License and tidy up formatting.
122 2007-07-19 Roland McGrath <roland@redhat.com>
124 * genscripts.sh (source_em, fragment): New sh functions.
125 Truncate e${EMULATION_NAME}.c file before .em script fills it.
126 Use source_em in place of . for the .em script.
127 * emultempl/generic.em: Use fragment and source_em functions.
128 * emultempl/aix.em: Likewise.
129 * emultempl/alphaelf.em: Likewise.
130 * emultempl/armcoff.em: Likewise.
131 * emultempl/armelf.em: Likewise.
132 * emultempl/avrelf.em: Likewise.
133 * emultempl/beos.em: Likewise.
134 * emultempl/cr16elf.em: Likewise.
135 * emultempl/crxelf.em: Likewise.
136 * emultempl/elf-generic.em: Likewise.
137 * emultempl/elf32.em: Likewise.
138 * emultempl/genelf.em: Likewise.
139 * emultempl/gld960.em: Likewise.
140 * emultempl/gld960c.em: Likewise.
141 * emultempl/hppaelf.em: Likewise.
142 * emultempl/ia64elf.em: Likewise.
143 * emultempl/irix.em: Likewise.
144 * emultempl/linux.em: Likewise.
145 * emultempl/lnk960.em: Likewise.
146 * emultempl/m68hc1xelf.em: Likewise.
147 * emultempl/m68kcoff.em: Likewise.
148 * emultempl/m68kelf.em: Likewise.
149 * emultempl/mipsecoff.em: Likewise.
150 * emultempl/mipself.em: Likewise.
151 * emultempl/mmix-elfnmmo.em: Likewise.
152 * emultempl/mmixelf.em: Likewise.
153 * emultempl/mmo.em: Likewise.
154 * emultempl/needrelax.em: Likewise.
155 * emultempl/netbsd.em: Likewise.
156 * emultempl/pe.em: Likewise.
157 * emultempl/pep.em: Likewise.
158 * emultempl/ppc32elf.em: Likewise.
159 * emultempl/ppc64elf.em: Likewise.
160 * emultempl/scoreelf.em: Likewise.
161 * emultempl/sh64elf.em: Likewise.
162 * emultempl/spuelf.em: Likewise.
163 * emultempl/sunos.em: Likewise.
164 * emultempl/ticoff.em: Likewise.
165 * emultempl/vanilla.em: Likewise.
166 * emultempl/vxworks.em: Likewise.
167 * emultempl/xtensaelf.em: Likewise.
168 * emultempl/z80.em: Likewise.
170 2007-07-18 Roland McGrath <roland@redhat.com>
172 * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
173 Use ASEC->contents for CONTENTS when missing, and allocate
174 ASEC->size if needed.
176 2007-07-13 Roland McGrath <roland@redhat.com>
178 * emultempl/elf32.em (struct build_id_info): New type.
179 (gld${EMULATION_NAME}_id_note_section_size): New function.
180 (gld${EMULATION_NAME}_write_build_id_section): New function.
181 (gld${EMULATION_NAME}_after_open): Use them.
182 (DEFAULT_BUILD_ID_STYLE): Change to "sha1".
183 * ld.texinfo (Options): Mention --build-id=sha1.
185 * sha1.h: New file (from gnulib).
186 * sha1.c: New file (from gnulib).
187 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
188 (sha1.o): New target.
189 * Makefile.in: Regenerated.
191 2007-07-13 Alan Modra <amodra@bigpond.net.au>
193 * ldlang.c (strip_excluded_output_sections): Don't ignore sections
194 with update_dot_tree.
196 2007-07-12 Nathan Sidwell <nathan@codesourcery.com>
198 * scripttempl/pe.sc: Don't include .gcc_except_table and
199 .eh_frame on partial links.
200 * scripttempl/pep.sc: Likewise.
202 2007-07-12 Alan Modra <amodra@bigpond.net.au>
205 * ldlang.c (lang_size_sections_1 <output_section_statement>): Only
206 use expld.result when valid.
208 2007-07-12 Alan Modra <amodra@bigpond.net.au>
210 * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
211 before calling base_name, not after.
213 2007-07-10 Alan Modra <amodra@bigpond.net.au>
215 * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
217 * scripttempl/armbpabi.sc: Likewise.
218 * scripttempl/elf32sh-symbian.sc: Likewise.
219 * scripttempl/elfxtensa.sc: Likewise.
220 * scripttempl/mep.sc: Likewise.
222 2007-07-09 Roland McGrath <roland@redhat.com>
224 * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
225 (gld${EMULATION_NAME}_handle_option): Handle --build-id.
226 (gld${EMULATION_NAME}_list_options): List --build-id.
227 (gld${EMULATION_NAME}_after_open): If --build-id was given,
228 synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
229 * ld.texinfo (Options): Describe --build-id.
230 * NEWS: Mention --build-id.
232 2007-07-06 Nick Clifton <nickc@redhat.com>
234 * deffile.h: Update copyright notice to refer to GPLv3.
235 * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
236 ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
237 ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
238 ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
239 mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
240 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
241 emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
242 emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
243 emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
244 emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
245 emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
246 emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
247 emultempl/m68kcoff.em, emultempl/m68kelf.em,
248 emultempl/mipsecoff.em, emultempl/mipself.em,
249 emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
250 emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
251 emultempl/ppc32elf.em, emultempl/ppc64elf.em,
252 emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
253 emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
254 emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
255 * genscripts.sh: Add copyright notice.
256 * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
258 * NEWS: Mention that the sources are now under GPLv3.
259 * configure: Regenerate.
261 2007-07-05 Danny Smith <dannysmith@users.sourceforge.net>
263 * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
266 2007-07-03 Matthias Klose <doko@ubuntu.com>
268 * emultempl/spuelf.em (base_name): Correct backslash quoting.
270 2007-07-02 Alan Modra <amodra@bigpond.net.au>
272 * Makefile.in: Regenerate.
273 * aclocal.m4: Regenerate.
274 * config.in: Regenerate.
275 * po/ld.pot: Regenerate.
277 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
279 * aclocal.m4: Regenerated.
280 * Makefile.in: Likewise.
282 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
284 * NEWS: Remove a line with '*' only.
286 2007-06-29 Joseph Myers <joseph@codesourcery.com>
288 * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
289 (ATTRS_SECTIONS): Define.
290 * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
291 scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
292 scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
294 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
296 * scripttemp/elf32cr16.sc: Default linker script.
297 * emulparams/elf32cr16.sh: Emulation script.
298 * emultempl/cr16elf.em: Emulation script.
299 * Makefile.am: Add entry to make cr16 target.
300 * Makefile.in: Regenerate.
301 * configure.tgt: Specify default and other emulation parameters
303 * ChangeLog: Added CR16 target entry.
304 * NEWS: Announce the support for the CR16 new target.
306 2007-06-27 Alan Modra <amodra@bigpond.net.au>
308 * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
310 2007-06-20 Alan Modra <amodra@bigpond.net.au>
312 * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
314 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
316 * ldlex.l, ldgram.y: Add ALIGNOF.
317 * ldexp.c (exp_print_token, foldname): Likewise.
318 * ld.texinfo: Likewise.
320 2007-06-18 Alan Modra <amodra@bigpond.net.au>
322 * Makefile.am: Add eelf32_spu.o rule.
323 * Makefile.in: Regenerate.
324 * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU
325 defined in Makefile for embedspu name.
327 2007-06-18 Alan Modra <amodra@bigpond.net.au>
329 * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
330 name prefix from that of ld.
332 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
334 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
336 * acinclude.m4: Removed.
338 * Makefile.in: Regenerated.
339 * aclocal.m4: Likewise.
340 * configure: Likewise.
342 2007-06-14 Alan Modra <amodra@bigpond.net.au>
344 * emultempl/spu_ovl.S: Don't trash lr on tail call from one
346 * emultempl/spu_ovl.o: Regenerate.
348 2007-06-11 Bob Wilson <bob.wilson@acm.org>
350 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
351 for .xt_except_table.
352 (OTHER_RELRO_SECTIONS): New.
354 2007-06-11 Sterling Augustine <sterling@tensilica.com>
355 Bob Wilson <bob.wilson@acm.org>
357 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
358 XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
360 2007-06-01 Noah Misch <noah@cs.caltech.edu>
361 Alan Modra <amodra@bigpond.net.au>
363 * ldlang.c (ldlang_add_file): Use input_bfds_tail.
364 * ldmain.c (main): Init input_bfds_tail. Sort link_info
367 2007-05-29 Alan Modra <amodra@bigpond.net.au>
369 * emultempl/spuelf.em (base_name): New function, split out from..
370 (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu
371 invocation if we deduce a shared lib or position independent
372 executable build by looking at ctrbegin* linker input files.
374 2007-05-29 Alan Modra <amodra@bigpond.net.au>
376 * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
378 * emultempl/spu_ovl.o: Regenerate.
380 2007-05-24 Steve Ellcey <sje@cup.hp.com>
382 * Makefile.in: Regnerate.
383 * configure: Regenerate.
384 * aclocal.m4: Regenerate.
386 2007-05-24 Nathan Sidwell <nathan@codesourcery.com>
388 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
389 contain commas in EXP env.
390 * ldgram.y (extern_name_list): Push to EXP env, move body to ...
391 (extern_name_list_body): ... here.
392 (script_file, ifile_list): Reformat.
393 (statement): Add ASSERT.
395 2007-05-22 Nick Clifton <nickc@redhat.com>
397 * ld.texinfo: Use @copying around the copyright notice.
398 * ldint.texinfo: Likewise.
400 2007-05-18 Richard Sandiford <richard@codesourcery.com>
402 * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
403 (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
405 2007-05-16 Richard Sandiford <richard@codesourcery.com>
407 * configure.in: Allow sysroots to be relocated under $prefix as
408 well as $exec_prefix.
409 * configure: Regenerate.
411 2007-05-14 Andreas Schwab <schwab@suse.de>
413 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
416 2007-05-11 Alan Modra <amodra@bigpond.net.au>
418 * emultempl/ppc32elf.em (plt_style): New variable.
420 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
421 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
422 OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
423 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
424 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
425 * ld.texinfo (--secure-plt): Document.
427 2007-05-08 Alan Modra <amodra@bigpond.net.au>
429 * ld.h (args_type, ld_config_type): Reorder fields.
430 * ldmain.c (main): Don't initialise a bunch of vars we know are
433 2007-05-05 Anatoly Sokolov <aesok@post.ru>
435 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
436 "--pmem-wrap-around".
437 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
439 2007-05-03 Bob Wilson <bob.wilson@acm.org>
441 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
443 2007-05-03 Alan Modra <amodra@bigpond.net.au>
445 * ld.texinfo (--no-warn-search-mismatch): Document.
446 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
447 incompatible libraries if --no-warn-search-mismatch.
448 * ld.h (args_type): Add warn_search_mismatch.
449 * ldmain.c (main): Init it.
450 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
451 (ld_options): Add entry for --no-warn-search-mismatch.
452 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
454 2007-05-03 Alan Modra <amodra@bigpond.net.au>
456 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
458 2007-05-01 Robert Millan <rmh@aybabtu.com>
460 * ldlang.c (lang_check): Error on architecture mismatch.
462 2007-04-30 Alan Modra <amodra@bigpond.net.au>
464 * ldmain.c (link_callbacks): Init info and minfo fields.
465 * ldmisc.c (minfo): Do nothing if no map file.
466 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
467 (spu_after_open): Adjust spu_elf_create_sections call.
468 (spu_before_allocation): Likewise for spu_elf_size_stubs.
469 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
470 (PARSE_AND_LIST_LONGOPTS): Add new entries.
471 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
472 * gen-doc.texi: Add @set for SPU and other missing targets.
473 * ld.texinfo: Update man page selection to match gen-doc.texi.
474 Document SPU features.
476 2007-04-28 Alan Modra <amodra@bigpond.net.au>
478 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
479 (cref_fill_array): Adjust for changed demangler.
480 * ldlang.c (lang_one_common): Likewise.
482 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
484 * emulparams/elf32_sparc.sh: Update comments.
485 * emulparams/elf32bmip.sh: Likewise.
486 * emulparams/elf32ppc.sh: Likewise.
487 * emulparams/vxworks.sh: Likewise.
489 2007-04-27 Alan Modra <amodra@bigpond.net.au>
491 Many files: Include sysdep.h first. Remove duplicate headers.
492 * Makefile.am: Run "make dep-am".
493 * Makefile.in: Regenerate.
495 2007-04-24 Alan Modra <amodra@bigpond.net.au>
497 * Makefile.in: Regenerate.
499 2007-04-19 Alan Modra <amodra@bigpond.net.au>
501 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
502 * ldlang.c (lang_one_common): Likewise.
503 * ldmisc.c (vfinfo): Likewise.
505 * ldmisc.h (demangle): Delete.
506 * Makefile.am: Run "make dep-am".
507 * Makefile.in: Regenerate.
509 2007-04-18 Alan Modra <amodra@bigpond.net.au>
511 * ldlang.h (enum section_type): Add overlay_section.
512 * ldlang.c (lang_add_section): Handle flags for overlay_section
513 as per normal_section.
514 (lang_size_sections_1): When setting lma, detect overlays by
515 os->sectype rather than by looking for overlapping vmas.
516 (lang_enter_overlay_section): Use overlay_section type.
517 (lang_leave_overlay): Set first overlay section to normal.
519 2007-04-14 Steve Ellcey <sje@cup.hp.com>
521 * Makefile.am: Add ACLOCAL_AMFLAGS.
522 * Makefile.in: Regenerate.
524 2007-04-12 Bob Wilson <bob.wilson@acm.org>
526 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
528 2007-04-10 Richard Henderson <rth@redhat.com>
530 * ldlang.c (relax_sections): Initialize and increment
531 link_info.relax_trip.
533 2007-04-04 Paul Brook <paul@codesourcery.com>
535 * configure.tgt: Loosen checks for arm uclinux eabi targets.
537 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
540 * ldexp.h (node_type): Add lineno.
541 * ldexp.c: Include "ldlex.h".
542 (exp_intop): Set the lineno field from lineno.
543 (exp_bigintop): Likewise.
544 (exp_relop): Likewise.
545 (exp_nameop): Likewise.
546 (exp_binop): Set the lineno field from lineno of lhs.
547 (exp_trinop): Likewise.
548 (exp_unop): Set the lineno field from lineno of child.
549 (exp_assop): Set the lineno field from lineno of src.
550 (exp_provide): Likewise.
551 (exp_assert): Set the lineno field from lineno of exp.
552 (exp_get_abs_int): Set lineno from lineno of nonconstant
553 expression when report problem.
555 2007-03-29 Richard Sandiford <richard@codesourcery.com>
556 Daniel Jacobowitz <dan@codesourcery.com>
558 * NEWS: Mention -l:foo.
559 * ld.texinfo: Document it.
560 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
561 entry as a name beginning with a coloh, convert it to a
562 lang_input_file_is_search_file_enum entry without the colon.
564 2007-03-28 Richard Sandiford <richard@codesourcery.com>
566 * ld.h (ld_config_type): Add rpath_separator.
567 * ldmain.c (main): Initialize it.
568 * lexsup.c (parse_args): Honor config.rpath_separator.
569 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
570 (gld${EMULATION_NAME}_add_sysroot): Likewise.
571 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
572 rather than ':' when building the path.
573 * emultempl/vxworks.em (vxworks_before_parse): New function.
574 Override config.rpath_separator.
575 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
576 set to gld${EMULATION_NAME}_after_open; #define that identifier
577 to vxworks_foo instead.
578 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
580 2007-03-28 Richard Sandiford <richard@codesourcery.com>
581 Phil Edwards <phil@codesourcery.com>
583 * ld.texinfo: Put the contents after the title page rather
584 than at the end of the document.
586 2007-03-26 Alan Modra <amodra@bigpond.net.au>
588 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
589 spu target emul files.
590 * configure.in: Check for mkstemp and waitpid.
591 * Makefile.in: Regenerate.
592 * configure: Regenerate.
593 * config.in: Regenerate.
594 * ldlang.c (input_file_chain): Make global.
595 (lang_add_input_file): Don't set lang_has_input_file here.
596 * ldlang.h (input_file_chain): Declare.
597 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
598 (LDEMUL_RECOGNIZED_FILE): Define.
599 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
600 (LDEMUL_RECOGNIZED_FILE): Define.
601 * emultempl/spuelf.em (struct tflist): New.
602 (tmp_file_list): New var.
603 (clean_tmp, embedded_spu_file): New functions.
605 2007-03-24 Alan Modra <amodra@bigpond.net.au>
607 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
608 rather than defining unconditionally.
609 (lang_leave_overlay_section): Likewise.
610 * ld.texinfo (Overlay Description): Update description and examples
613 2007-03-22 Joseph Myers <joseph@codesourcery.com>
615 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
617 2007-03-20 Paul Brook <paul@codesourcery.com>
619 * emultempl/armelf.em (pic_veneer): New variable.
620 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
621 (PARSE_AND_LIST_ARGS_CASES): Ditto.
622 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
623 (PARSE_AND_LIST_OPTIONS): Ditto.
624 * ld.texinfo: Document --pic-veneer.
626 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
628 * ld.texinfo: Document --no-enum-size-warning.
629 * emultempl/armelf.em (no_enum_size_warning): New.
630 (arm_elf_create_output_section_statements): Correct typo
631 in comment. Pass no_enum_size_warning to
632 bfd_elf32_arm_set_target_relocs.
633 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
634 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
635 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
638 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
640 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
641 (bfin-*-linux-uclibc*): New target.
643 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
645 * pe-dll.c (make_one): Use pc-relative relocation instead of an
646 absolute relocation for x86_64-pc-mingw32 target.
648 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
650 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
651 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
652 (TEXI2DVI): Likewise.
653 (REPORT_BUGS_TO): Removed.
654 (INCLUDES): Remove -DREPORT_BUGS_TO.
655 (ldver.texi): Likewise.
656 (ld.1): Don't depend on ldver.texi.
657 (MOSTLYCLEANFILES): Remove ldver.texi.
658 * Makefile.in: Regenerated.
660 * configure.in (--with-bugurl): Removed.
661 * configure: Regenerated.
663 * lexsup.c: Include bfdver.h.
665 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
667 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
669 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
671 2007-03-08 Alan Modra <amodra@bigpond.net.au>
673 * ldlang.c (lang_size_sections_1): Correct backwards dot move
674 test to not trigger on overlays. Only warn on backwards move
677 2007-03-07 Joseph Myers <joseph@codesourcery.com>
679 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
681 * Makefile.am (ldver.texi): Define BUGURL.
682 * ld.texinfo: Use BUGURL.
683 * Makefile.in, configure: Regenerate.
685 2007-03-07 Nick Clifton <nickc@redhat.com>
688 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
689 from any paths being inserted into the output binary's DT_RPATH.
691 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
693 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
695 2007-03-01 Joseph Myers <joseph@codesourcery.com>
697 * ldver.c (ldversion): Remove word "version" from output. Update
700 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
702 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
703 (eshelf_uclinux.c): New target.
704 * Makefile.in: Rebuilt.
705 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
706 * emulparams/shelf_uclinux.sh: New.
708 2007-02-28 Alan Modra <amodra@bigpond.net.au>
710 * configure.tgt: Fix type last change.
711 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
713 2007-02-27 Alan Modra <amodra@bigpond.net.au>
715 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
716 (eelf32_spu.c): Adjust dependencies.
717 * Makefile.in: Regenerate.
718 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
720 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
721 (ovl_mgr_stream): Update.
722 * emultempl/spu_inc.s: Delete.
723 * emultempl/spu_none.s: Delete.
725 2007-02-26 Alan Modra <amodra@bigpond.net.au>
727 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
728 to _binary_spu_ovl_o_start.
729 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
730 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
731 * emultempl/spu_inc.s: Rename symbols.
732 * emultempl/spu_none.s: New file.
733 * emultempl/spu_ovl.S: Update copyright.
734 * Makefile.am (spu_inc.o): Try building with ld -r first, then
735 gas incbin, then build without overlay manager.
736 * Makefile.in: Regenerate.
738 2007-02-22 Joseph Myers <joseph@codesourcery.com>
740 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
741 mips*el-*-linux-*, mips*-*-linux-*): Set
742 targ_extra_libpath=$targ_extra_emuls.
744 2007-02-21 Nick Clifton <nickc@redhat.com>
746 * ldlang.c (ldlang_override_segment_assignment): New function.
747 * ldlang.h (ldlang_override_segment_assignment): Prototype.
748 * ldmain.c (link_callbacks): Add
749 ldlang_override_segment_assignment.
751 2007-02-20 Alan Modra <amodra@bigpond.net.au>
753 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
755 2007-02-17 Mark Mitchell <mark@codesourcery.com>
756 Nathan Sidwell <nathan@codesourcery.com>
757 Vladimir Prus <vladimir@codesourcery.com
758 Joseph Myers <joseph@codesourcery.com>
760 * configure.in (--with-bugurl): New option.
761 * configure: Regenerate.
762 * Makefile.am (REPORT_BUGS_TO): Define.
763 (INCLUDES): Define REPORT_BUGS_TO.
764 Regenerate dependencies.
765 * Makefile.in: Regenerate.
766 * ld.h: Remove include of bin-bugs.h.
767 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
769 2007-02-17 Alan Modra <amodra@bigpond.net.au>
771 * ldcref.c (check_reloc_refs): Compare section for local syms.
773 2007-02-13 Alan Modra <amodra@bigpond.net.au>
775 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
776 (__ovly_load_event): Define.
777 (size): Rename to osize.
778 * emultempl/spu_ovl.o: Regenerate.
780 2007-02-13 Alan Modra <amodra@bigpond.net.au>
782 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
783 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
786 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
788 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
790 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
792 * configure: Regenerated.
794 * configure.tgt (targ_extra_libpath): Initialize.
795 (targ64_extra_emuls): New. Document. Initialize.
796 (targ64_extra_libpath): Likewise.
797 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
798 targ64_extra_libpath.
799 (powerpc*-*-linux*): Likewise.
800 (s390-*-linux*): Likewise.
802 2007-02-07 Paul Brook <paul@codesourcery.com>
804 * configure.tgt: Add arm*-*-uclinux-*eabi.
806 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
808 * ldlang.c (lang_size_sections_1): Add a missing `)'.
810 2007-02-06 Alan Modra <amodra@bigpond.net.au>
813 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
814 move unless section size is non-zero.
816 2007-02-05 Dave Brolley <brolley@redhat.com>
818 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
819 * configure.tgt: Likewise.
820 * scripttempl/mep.sc: New file.
821 * emulparams/elf32mep.sh: New file.
822 * Makefile.in: Regenerate.
824 2006-01-29 Julian Brown <julian@codesourcery.com>
826 * NEWS: Mention --vfp11-denorm-fix option.
827 * ld.texinfo: Document above.
828 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
829 .vfp11_veneer section.
830 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
831 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
832 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
833 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
834 (arm_elf_after_allocation): New function. Call
835 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
836 (arm_elf_create_output_section_statements): Pass vfp11 fix command
838 (OPTION_VFP11_DENORM_FIX): New option.
839 (PARSE_AND_LIST_LONGOPTS): Handle new option.
840 (PARSE_AND_LIST_OPTIONS): Likewise.
841 (PARSE_AND_LIST_ARGS_CASES): Likewise.
842 (LDEMUL_AFTER_ALLOCATION): Define.
844 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
846 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
847 (DEFSYMEND): Likewise.
851 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
853 * pe-dll.c: (make_one) Conditionally include jump stubs.
854 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
855 redundant jump stubs from import libraries and exclude them from
858 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
860 * ld.h (args_type): Add new symbolic and dynamic_list fields.
862 * ld.texinfo: Update -Bsymbolic-functions.
864 * ldmain.c (main): Initialize command_line.symbolic to
865 symbolic_unset and command_line.dynamic_list to
866 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
867 --dynamic-list* before setting link_info.symbolic,
868 link_info.dynamic and link_info.dynamic_data.
870 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
871 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
872 -Bsymbolic-functions.
873 (parse_args): Handle -Bsymbolic-functions. Don't set
874 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
875 here. Set command_line.symbolic for -Bsymbolic. Set
876 command_line.dynamic_list and command_line.symbolic for
877 --dynamic-list-data, --dynamic-list-cpp-new,
878 --dynamic-list-cpp-typeinfo and --dynamic-list.
880 2007-01-19 Jakub Jelinek <jakub@redhat.com>
881 H.J. Lu <hongjiu.lu@intel.com>
883 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
884 or -z common-page-size argument is a power of 2. Call
885 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
887 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
889 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
890 bfd_emul_set_commonpagesize.
892 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
894 * NEWS: Mention --default-script/-dT.
896 * ld.h (args_type): Add a default_script field.
898 * ld.texinfo: Document --default-script/-dT.
900 * ldmain.c (main): Handle command_line.default_script.
902 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
903 (ld_options): Add entries for --default-script and -dT.
904 (parse_args): Handle --default-script/-dT.
906 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
909 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
910 --dynamic-list-cpp-new.
912 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
913 and --dynamic-list-cpp-new.
915 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
916 (lang_process): Change link_info.dynamic to
917 link_info.dynamic_list.
918 (lang_append_dynamic_list): Likewise.
919 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
920 link_info.dynamic_data to FALSE.
922 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
924 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
925 OPTION_DYNAMIC_LIST_CPP_NEW.
926 (ld_options): Add entries for -Bsymbolic-functions,
927 --dynamic-list-data and --dynamic-list-cpp-new. Make
928 -Bsymbolic-functions an alias of --dynamic-list-data.
929 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
930 Set link_info.dynamic to TRUE for --dynamic-list and
931 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
932 --dynamic-list-cpp-new.
934 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
936 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
937 shrinkage for the first few iterations.
939 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
941 * configure.tgt: Renamed target x86_64-*-mingw64 to
944 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
946 * configure.host: Add i[3-7]86-*-mingw* case.
948 2007-01-08 Nick Clifton <nickc@redhat.com>
950 * pep-dll.h (pep_bfd_is_dll): Add prototype.
952 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
955 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
958 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
960 * ldexp.c (fold_name): Issue error on undefined sections.
962 2007-01-02 Alan Modra <amodra@bigpond.net.au>
964 * pe-dll.c: Include pe-dll.h.
965 * pep-dll.c (pe_bfd_is_dll): Define.
967 For older changes see ChangeLog-2006
973 version-control: never