1 2007-07-19 Roland McGrath <roland@redhat.com>
3 * genscripts.sh (source_em, fragment): New sh functions.
4 Truncate e${EMULATION_NAME}.c file before .em script fills it.
5 Use source_em in place of . for the .em script.
6 * emultempl/generic.em: Use fragment and source_em functions.
7 * emultempl/aix.em: Likewise.
8 * emultempl/alphaelf.em: Likewise.
9 * emultempl/armcoff.em: Likewise.
10 * emultempl/armelf.em: Likewise.
11 * emultempl/avrelf.em: Likewise.
12 * emultempl/beos.em: Likewise.
13 * emultempl/cr16elf.em: Likewise.
14 * emultempl/crxelf.em: Likewise.
15 * emultempl/elf-generic.em: Likewise.
16 * emultempl/elf32.em: Likewise.
17 * emultempl/genelf.em: Likewise.
18 * emultempl/gld960.em: Likewise.
19 * emultempl/gld960c.em: Likewise.
20 * emultempl/hppaelf.em: Likewise.
21 * emultempl/ia64elf.em: Likewise.
22 * emultempl/irix.em: Likewise.
23 * emultempl/linux.em: Likewise.
24 * emultempl/lnk960.em: Likewise.
25 * emultempl/m68hc1xelf.em: Likewise.
26 * emultempl/m68kcoff.em: Likewise.
27 * emultempl/m68kelf.em: Likewise.
28 * emultempl/mipsecoff.em: Likewise.
29 * emultempl/mipself.em: Likewise.
30 * emultempl/mmix-elfnmmo.em: Likewise.
31 * emultempl/mmixelf.em: Likewise.
32 * emultempl/mmo.em: Likewise.
33 * emultempl/needrelax.em: Likewise.
34 * emultempl/netbsd.em: Likewise.
35 * emultempl/pe.em: Likewise.
36 * emultempl/pep.em: Likewise.
37 * emultempl/ppc32elf.em: Likewise.
38 * emultempl/ppc64elf.em: Likewise.
39 * emultempl/scoreelf.em: Likewise.
40 * emultempl/sh64elf.em: Likewise.
41 * emultempl/spuelf.em: Likewise.
42 * emultempl/sunos.em: Likewise.
43 * emultempl/ticoff.em: Likewise.
44 * emultempl/vanilla.em: Likewise.
45 * emultempl/vxworks.em: Likewise.
46 * emultempl/xtensaelf.em: Likewise.
47 * emultempl/z80.em: Likewise.
49 2007-07-18 Roland McGrath <roland@redhat.com>
51 * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
52 Use ASEC->contents for CONTENTS when missing, and allocate
55 2007-07-13 Roland McGrath <roland@redhat.com>
57 * emultempl/elf32.em (struct build_id_info): New type.
58 (gld${EMULATION_NAME}_id_note_section_size): New function.
59 (gld${EMULATION_NAME}_write_build_id_section): New function.
60 (gld${EMULATION_NAME}_after_open): Use them.
61 (DEFAULT_BUILD_ID_STYLE): Change to "sha1".
62 * ld.texinfo (Options): Mention --build-id=sha1.
64 * sha1.h: New file (from gnulib).
65 * sha1.c: New file (from gnulib).
66 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
68 * Makefile.in: Regenerated.
70 2007-07-13 Alan Modra <amodra@bigpond.net.au>
72 * ldlang.c (strip_excluded_output_sections): Don't ignore sections
75 2007-07-12 Nathan Sidwell <nathan@codesourcery.com>
77 * scripttempl/pe.sc: Don't include .gcc_except_table and
78 .eh_frame on partial links.
79 * scripttempl/pep.sc: Likewise.
81 2007-07-12 Alan Modra <amodra@bigpond.net.au>
84 * ldlang.c (lang_size_sections_1 <output_section_statement>): Only
85 use expld.result when valid.
87 2007-07-12 Alan Modra <amodra@bigpond.net.au>
89 * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
90 before calling base_name, not after.
92 2007-07-10 Alan Modra <amodra@bigpond.net.au>
94 * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
96 * scripttempl/armbpabi.sc: Likewise.
97 * scripttempl/elf32sh-symbian.sc: Likewise.
98 * scripttempl/elfxtensa.sc: Likewise.
99 * scripttempl/mep.sc: Likewise.
101 2007-07-09 Roland McGrath <roland@redhat.com>
103 * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
104 (gld${EMULATION_NAME}_handle_option): Handle --build-id.
105 (gld${EMULATION_NAME}_list_options): List --build-id.
106 (gld${EMULATION_NAME}_after_open): If --build-id was given,
107 synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
108 * ld.texinfo (Options): Describe --build-id.
109 * NEWS: Mention --build-id.
111 2007-07-06 Nick Clifton <nickc@redhat.com>
113 * deffile.h: Update copyright notice to refer to GPLv3.
114 * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
115 ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
116 ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
117 ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
118 mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
119 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
120 emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
121 emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
122 emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
123 emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
124 emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
125 emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
126 emultempl/m68kcoff.em, emultempl/m68kelf.em,
127 emultempl/mipsecoff.em, emultempl/mipself.em,
128 emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
129 emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
130 emultempl/ppc32elf.em, emultempl/ppc64elf.em,
131 emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
132 emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
133 emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
134 * genscripts.sh: Add copyright notice.
135 * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
137 * NEWS: Mention that the sources are now under GPLv3.
138 * configure: Regenerate.
140 2007-07-05 Danny Smith <dannysmith@users.sourceforge.net>
142 * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
145 2007-07-03 Matthias Klose <doko@ubuntu.com>
147 * emultempl/spuelf.em (base_name): Correct backslash quoting.
149 2007-07-02 Alan Modra <amodra@bigpond.net.au>
151 * Makefile.in: Regenerate.
152 * aclocal.m4: Regenerate.
153 * config.in: Regenerate.
154 * po/ld.pot: Regenerate.
156 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
158 * aclocal.m4: Regenerated.
159 * Makefile.in: Likewise.
161 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
163 * NEWS: Remove a line with '*' only.
165 2007-06-29 Joseph Myers <joseph@codesourcery.com>
167 * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
168 (ATTRS_SECTIONS): Define.
169 * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
170 scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
171 scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
173 2006-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
175 * scripttemp/elf32cr16.sc: Default linker script.
176 * emulparams/elf32cr16.sh: Emulation script.
177 * emultempl/cr16elf.em: Emulation script.
178 * Makefile.am: Add entry to make cr16 target.
179 * Makefile.in: Regenerate.
180 * configure.tgt: Specify default and other emulation parameters
182 * ChangeLog: Added CR16 target entry.
183 * NEWS: Announce the support for the CR16 new target.
185 2007-06-27 Alan Modra <amodra@bigpond.net.au>
187 * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
189 2007-06-20 Alan Modra <amodra@bigpond.net.au>
191 * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
193 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
195 * ldlex.l, ldgram.y: Add ALIGNOF.
196 * ldexp.c (exp_print_token, foldname): Likewise.
197 * ld.texinfo: Likewise.
199 2007-06-18 Alan Modra <amodra@bigpond.net.au>
201 * Makefile.am: Add eelf32_spu.o rule.
202 * Makefile.in: Regenerate.
203 * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU
204 defined in Makefile for embedspu name.
206 2007-06-18 Alan Modra <amodra@bigpond.net.au>
208 * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
209 name prefix from that of ld.
211 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
213 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
215 * acinclude.m4: Removed.
217 * Makefile.in: Regenerated.
218 * aclocal.m4: Likewise.
219 * configure: Likewise.
221 2007-06-14 Alan Modra <amodra@bigpond.net.au>
223 * emultempl/spu_ovl.S: Don't trash lr on tail call from one
225 * emultempl/spu_ovl.o: Regenerate.
227 2007-06-11 Bob Wilson <bob.wilson@acm.org>
229 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
230 for .xt_except_table.
231 (OTHER_RELRO_SECTIONS): New.
233 2007-06-11 Sterling Augustine <sterling@tensilica.com>
234 Bob Wilson <bob.wilson@acm.org>
236 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
237 XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
239 2007-06-01 Noah Misch <noah@cs.caltech.edu>
240 Alan Modra <amodra@bigpond.net.au>
242 * ldlang.c (ldlang_add_file): Use input_bfds_tail.
243 * ldmain.c (main): Init input_bfds_tail. Sort link_info
246 2007-05-29 Alan Modra <amodra@bigpond.net.au>
248 * emultempl/spuelf.em (base_name): New function, split out from..
249 (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu
250 invocation if we deduce a shared lib or position independent
251 executable build by looking at ctrbegin* linker input files.
253 2007-05-29 Alan Modra <amodra@bigpond.net.au>
255 * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
257 * emultempl/spu_ovl.o: Regenerate.
259 2007-05-24 Steve Ellcey <sje@cup.hp.com>
261 * Makefile.in: Regnerate.
262 * configure: Regenerate.
263 * aclocal.m4: Regenerate.
265 2007-05-24 Nathan Sidwell <nathan@codesourcery.com>
267 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
268 contain commas in EXP env.
269 * ldgram.y (extern_name_list): Push to EXP env, move body to ...
270 (extern_name_list_body): ... here.
271 (script_file, ifile_list): Reformat.
272 (statement): Add ASSERT.
274 2007-05-22 Nick Clifton <nickc@redhat.com>
276 * ld.texinfo: Use @copying around the copyright notice.
277 * ldint.texinfo: Likewise.
279 2007-05-18 Richard Sandiford <richard@codesourcery.com>
281 * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
282 (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
284 2007-05-16 Richard Sandiford <richard@codesourcery.com>
286 * configure.in: Allow sysroots to be relocated under $prefix as
287 well as $exec_prefix.
288 * configure: Regenerate.
290 2007-05-14 Andreas Schwab <schwab@suse.de>
292 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
295 2007-05-11 Alan Modra <amodra@bigpond.net.au>
297 * emultempl/ppc32elf.em (plt_style): New variable.
299 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
300 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
301 OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
302 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
303 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
304 * ld.texinfo (--secure-plt): Document.
306 2007-05-08 Alan Modra <amodra@bigpond.net.au>
308 * ld.h (args_type, ld_config_type): Reorder fields.
309 * ldmain.c (main): Don't initialise a bunch of vars we know are
312 2007-05-05 Anatoly Sokolov <aesok@post.ru>
314 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
315 "--pmem-wrap-around".
316 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
318 2007-05-03 Bob Wilson <bob.wilson@acm.org>
320 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
322 2007-05-03 Alan Modra <amodra@bigpond.net.au>
324 * ld.texinfo (--no-warn-search-mismatch): Document.
325 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
326 incompatible libraries if --no-warn-search-mismatch.
327 * ld.h (args_type): Add warn_search_mismatch.
328 * ldmain.c (main): Init it.
329 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
330 (ld_options): Add entry for --no-warn-search-mismatch.
331 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
333 2007-05-03 Alan Modra <amodra@bigpond.net.au>
335 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
337 2007-05-01 Robert Millan <rmh@aybabtu.com>
339 * ldlang.c (lang_check): Error on architecture mismatch.
341 2007-04-30 Alan Modra <amodra@bigpond.net.au>
343 * ldmain.c (link_callbacks): Init info and minfo fields.
344 * ldmisc.c (minfo): Do nothing if no map file.
345 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
346 (spu_after_open): Adjust spu_elf_create_sections call.
347 (spu_before_allocation): Likewise for spu_elf_size_stubs.
348 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
349 (PARSE_AND_LIST_LONGOPTS): Add new entries.
350 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
351 * gen-doc.texi: Add @set for SPU and other missing targets.
352 * ld.texinfo: Update man page selection to match gen-doc.texi.
353 Document SPU features.
355 2007-04-28 Alan Modra <amodra@bigpond.net.au>
357 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
358 (cref_fill_array): Adjust for changed demangler.
359 * ldlang.c (lang_one_common): Likewise.
361 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
363 * emulparams/elf32_sparc.sh: Update comments.
364 * emulparams/elf32bmip.sh: Likewise.
365 * emulparams/elf32ppc.sh: Likewise.
366 * emulparams/vxworks.sh: Likewise.
368 2007-04-27 Alan Modra <amodra@bigpond.net.au>
370 Many files: Include sysdep.h first. Remove duplicate headers.
371 * Makefile.am: Run "make dep-am".
372 * Makefile.in: Regenerate.
374 2007-04-24 Alan Modra <amodra@bigpond.net.au>
376 * Makefile.in: Regenerate.
378 2007-04-19 Alan Modra <amodra@bigpond.net.au>
380 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
381 * ldlang.c (lang_one_common): Likewise.
382 * ldmisc.c (vfinfo): Likewise.
384 * ldmisc.h (demangle): Delete.
385 * Makefile.am: Run "make dep-am".
386 * Makefile.in: Regenerate.
388 2007-04-18 Alan Modra <amodra@bigpond.net.au>
390 * ldlang.h (enum section_type): Add overlay_section.
391 * ldlang.c (lang_add_section): Handle flags for overlay_section
392 as per normal_section.
393 (lang_size_sections_1): When setting lma, detect overlays by
394 os->sectype rather than by looking for overlapping vmas.
395 (lang_enter_overlay_section): Use overlay_section type.
396 (lang_leave_overlay): Set first overlay section to normal.
398 2007-04-14 Steve Ellcey <sje@cup.hp.com>
400 * Makefile.am: Add ACLOCAL_AMFLAGS.
401 * Makefile.in: Regenerate.
403 2007-04-12 Bob Wilson <bob.wilson@acm.org>
405 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
407 2007-04-10 Richard Henderson <rth@redhat.com>
409 * ldlang.c (relax_sections): Initialize and increment
410 link_info.relax_trip.
412 2007-04-04 Paul Brook <paul@codesourcery.com>
414 * configure.tgt: Loosen checks for arm uclinux eabi targets.
416 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
419 * ldexp.h (node_type): Add lineno.
420 * ldexp.c: Include "ldlex.h".
421 (exp_intop): Set the lineno field from lineno.
422 (exp_bigintop): Likewise.
423 (exp_relop): Likewise.
424 (exp_nameop): Likewise.
425 (exp_binop): Set the lineno field from lineno of lhs.
426 (exp_trinop): Likewise.
427 (exp_unop): Set the lineno field from lineno of child.
428 (exp_assop): Set the lineno field from lineno of src.
429 (exp_provide): Likewise.
430 (exp_assert): Set the lineno field from lineno of exp.
431 (exp_get_abs_int): Set lineno from lineno of nonconstant
432 expression when report problem.
434 2007-03-29 Richard Sandiford <richard@codesourcery.com>
435 Daniel Jacobowitz <dan@codesourcery.com>
437 * NEWS: Mention -l:foo.
438 * ld.texinfo: Document it.
439 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
440 entry as a name beginning with a coloh, convert it to a
441 lang_input_file_is_search_file_enum entry without the colon.
443 2007-03-28 Richard Sandiford <richard@codesourcery.com>
445 * ld.h (ld_config_type): Add rpath_separator.
446 * ldmain.c (main): Initialize it.
447 * lexsup.c (parse_args): Honor config.rpath_separator.
448 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
449 (gld${EMULATION_NAME}_add_sysroot): Likewise.
450 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
451 rather than ':' when building the path.
452 * emultempl/vxworks.em (vxworks_before_parse): New function.
453 Override config.rpath_separator.
454 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
455 set to gld${EMULATION_NAME}_after_open; #define that identifier
456 to vxworks_foo instead.
457 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
459 2007-03-28 Richard Sandiford <richard@codesourcery.com>
460 Phil Edwards <phil@codesourcery.com>
462 * ld.texinfo: Put the contents after the title page rather
463 than at the end of the document.
465 2007-03-26 Alan Modra <amodra@bigpond.net.au>
467 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
468 spu target emul files.
469 * configure.in: Check for mkstemp and waitpid.
470 * Makefile.in: Regenerate.
471 * configure: Regenerate.
472 * config.in: Regenerate.
473 * ldlang.c (input_file_chain): Make global.
474 (lang_add_input_file): Don't set lang_has_input_file here.
475 * ldlang.h (input_file_chain): Declare.
476 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
477 (LDEMUL_RECOGNIZED_FILE): Define.
478 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
479 (LDEMUL_RECOGNIZED_FILE): Define.
480 * emultempl/spuelf.em (struct tflist): New.
481 (tmp_file_list): New var.
482 (clean_tmp, embedded_spu_file): New functions.
484 2007-03-24 Alan Modra <amodra@bigpond.net.au>
486 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
487 rather than defining unconditionally.
488 (lang_leave_overlay_section): Likewise.
489 * ld.texinfo (Overlay Description): Update description and examples
492 2007-03-22 Joseph Myers <joseph@codesourcery.com>
494 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
496 2007-03-20 Paul Brook <paul@codesourcery.com>
498 * emultempl/armelf.em (pic_veneer): New variable.
499 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
500 (PARSE_AND_LIST_ARGS_CASES): Ditto.
501 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
502 (PARSE_AND_LIST_OPTIONS): Ditto.
503 * ld.texinfo: Document --pic-veneer.
505 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
507 * ld.texinfo: Document --no-enum-size-warning.
508 * emultempl/armelf.em (no_enum_size_warning): New.
509 (arm_elf_create_output_section_statements): Correct typo
510 in comment. Pass no_enum_size_warning to
511 bfd_elf32_arm_set_target_relocs.
512 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
513 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
514 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
517 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
519 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
520 (bfin-*-linux-uclibc*): New target.
522 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
524 * pe-dll.c (make_one): Use pc-relative relocation instead of an
525 absolute relocation for x86_64-pc-mingw32 target.
527 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
529 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
530 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
531 (TEXI2DVI): Likewise.
532 (REPORT_BUGS_TO): Removed.
533 (INCLUDES): Remove -DREPORT_BUGS_TO.
534 (ldver.texi): Likewise.
535 (ld.1): Don't depend on ldver.texi.
536 (MOSTLYCLEANFILES): Remove ldver.texi.
537 * Makefile.in: Regenerated.
539 * configure.in (--with-bugurl): Removed.
540 * configure: Regenerated.
542 * lexsup.c: Include bfdver.h.
544 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
546 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
548 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
550 2007-03-08 Alan Modra <amodra@bigpond.net.au>
552 * ldlang.c (lang_size_sections_1): Correct backwards dot move
553 test to not trigger on overlays. Only warn on backwards move
556 2007-03-07 Joseph Myers <joseph@codesourcery.com>
558 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
560 * Makefile.am (ldver.texi): Define BUGURL.
561 * ld.texinfo: Use BUGURL.
562 * Makefile.in, configure: Regenerate.
564 2007-03-07 Nick Clifton <nickc@redhat.com>
567 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
568 from any paths being inserted into the output binary's DT_RPATH.
570 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
572 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
574 2007-03-01 Joseph Myers <joseph@codesourcery.com>
576 * ldver.c (ldversion): Remove word "version" from output. Update
579 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
581 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
582 (eshelf_uclinux.c): New target.
583 * Makefile.in: Rebuilt.
584 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
585 * emulparams/shelf_uclinux.sh: New.
587 2007-02-28 Alan Modra <amodra@bigpond.net.au>
589 * configure.tgt: Fix type last change.
590 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
592 2007-02-27 Alan Modra <amodra@bigpond.net.au>
594 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
595 (eelf32_spu.c): Adjust dependencies.
596 * Makefile.in: Regenerate.
597 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
599 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
600 (ovl_mgr_stream): Update.
601 * emultempl/spu_inc.s: Delete.
602 * emultempl/spu_none.s: Delete.
604 2007-02-26 Alan Modra <amodra@bigpond.net.au>
606 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
607 to _binary_spu_ovl_o_start.
608 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
609 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
610 * emultempl/spu_inc.s: Rename symbols.
611 * emultempl/spu_none.s: New file.
612 * emultempl/spu_ovl.S: Update copyright.
613 * Makefile.am (spu_inc.o): Try building with ld -r first, then
614 gas incbin, then build without overlay manager.
615 * Makefile.in: Regenerate.
617 2007-02-22 Joseph Myers <joseph@codesourcery.com>
619 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
620 mips*el-*-linux-*, mips*-*-linux-*): Set
621 targ_extra_libpath=$targ_extra_emuls.
623 2007-02-21 Nick Clifton <nickc@redhat.com>
625 * ldlang.c (ldlang_override_segment_assignment): New function.
626 * ldlang.h (ldlang_override_segment_assignment): Prototype.
627 * ldmain.c (link_callbacks): Add
628 ldlang_override_segment_assignment.
630 2007-02-20 Alan Modra <amodra@bigpond.net.au>
632 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
634 2007-02-17 Mark Mitchell <mark@codesourcery.com>
635 Nathan Sidwell <nathan@codesourcery.com>
636 Vladimir Prus <vladimir@codesourcery.com
637 Joseph Myers <joseph@codesourcery.com>
639 * configure.in (--with-bugurl): New option.
640 * configure: Regenerate.
641 * Makefile.am (REPORT_BUGS_TO): Define.
642 (INCLUDES): Define REPORT_BUGS_TO.
643 Regenerate dependencies.
644 * Makefile.in: Regenerate.
645 * ld.h: Remove include of bin-bugs.h.
646 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
648 2007-02-17 Alan Modra <amodra@bigpond.net.au>
650 * ldcref.c (check_reloc_refs): Compare section for local syms.
652 2007-02-13 Alan Modra <amodra@bigpond.net.au>
654 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
655 (__ovly_load_event): Define.
656 (size): Rename to osize.
657 * emultempl/spu_ovl.o: Regenerate.
659 2007-02-13 Alan Modra <amodra@bigpond.net.au>
661 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
662 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
665 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
667 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
669 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
671 * configure: Regenerated.
673 * configure.tgt (targ_extra_libpath): Initialize.
674 (targ64_extra_emuls): New. Document. Initialize.
675 (targ64_extra_libpath): Likewise.
676 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
677 targ64_extra_libpath.
678 (powerpc*-*-linux*): Likewise.
679 (s390-*-linux*): Likewise.
681 2007-02-07 Paul Brook <paul@codesourcery.com>
683 * configure.tgt: Add arm*-*-uclinux-*eabi.
685 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
687 * ldlang.c (lang_size_sections_1): Add a missing `)'.
689 2007-02-06 Alan Modra <amodra@bigpond.net.au>
692 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
693 move unless section size is non-zero.
695 2007-02-05 Dave Brolley <brolley@redhat.com>
697 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
698 * configure.tgt: Likewise.
699 * scripttempl/mep.sc: New file.
700 * emulparams/elf32mep.sh: New file.
701 * Makefile.in: Regenerate.
703 2006-01-29 Julian Brown <julian@codesourcery.com>
705 * NEWS: Mention --vfp11-denorm-fix option.
706 * ld.texinfo: Document above.
707 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
708 .vfp11_veneer section.
709 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
710 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
711 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
712 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
713 (arm_elf_after_allocation): New function. Call
714 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
715 (arm_elf_create_output_section_statements): Pass vfp11 fix command
717 (OPTION_VFP11_DENORM_FIX): New option.
718 (PARSE_AND_LIST_LONGOPTS): Handle new option.
719 (PARSE_AND_LIST_OPTIONS): Likewise.
720 (PARSE_AND_LIST_ARGS_CASES): Likewise.
721 (LDEMUL_AFTER_ALLOCATION): Define.
723 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
725 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
726 (DEFSYMEND): Likewise.
730 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
732 * pe-dll.c: (make_one) Conditionally include jump stubs.
733 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
734 redundant jump stubs from import libraries and exclude them from
737 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
739 * ld.h (args_type): Add new symbolic and dynamic_list fields.
741 * ld.texinfo: Update -Bsymbolic-functions.
743 * ldmain.c (main): Initialize command_line.symbolic to
744 symbolic_unset and command_line.dynamic_list to
745 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
746 --dynamic-list* before setting link_info.symbolic,
747 link_info.dynamic and link_info.dynamic_data.
749 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
750 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
751 -Bsymbolic-functions.
752 (parse_args): Handle -Bsymbolic-functions. Don't set
753 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
754 here. Set command_line.symbolic for -Bsymbolic. Set
755 command_line.dynamic_list and command_line.symbolic for
756 --dynamic-list-data, --dynamic-list-cpp-new,
757 --dynamic-list-cpp-typeinfo and --dynamic-list.
759 2007-01-19 Jakub Jelinek <jakub@redhat.com>
760 H.J. Lu <hongjiu.lu@intel.com>
762 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
763 or -z common-page-size argument is a power of 2. Call
764 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
766 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
768 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
769 bfd_emul_set_commonpagesize.
771 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
773 * NEWS: Mention --default-script/-dT.
775 * ld.h (args_type): Add a default_script field.
777 * ld.texinfo: Document --default-script/-dT.
779 * ldmain.c (main): Handle command_line.default_script.
781 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
782 (ld_options): Add entries for --default-script and -dT.
783 (parse_args): Handle --default-script/-dT.
785 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
788 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
789 --dynamic-list-cpp-new.
791 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
792 and --dynamic-list-cpp-new.
794 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
795 (lang_process): Change link_info.dynamic to
796 link_info.dynamic_list.
797 (lang_append_dynamic_list): Likewise.
798 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
799 link_info.dynamic_data to FALSE.
801 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
803 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
804 OPTION_DYNAMIC_LIST_CPP_NEW.
805 (ld_options): Add entries for -Bsymbolic-functions,
806 --dynamic-list-data and --dynamic-list-cpp-new. Make
807 -Bsymbolic-functions an alias of --dynamic-list-data.
808 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
809 Set link_info.dynamic to TRUE for --dynamic-list and
810 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
811 --dynamic-list-cpp-new.
813 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
815 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
816 shrinkage for the first few iterations.
818 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
820 * configure.tgt: Renamed target x86_64-*-mingw64 to
823 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
825 * configure.host: Add i[3-7]86-*-mingw* case.
827 2007-01-08 Nick Clifton <nickc@redhat.com>
829 * pep-dll.h (pep_bfd_is_dll): Add prototype.
831 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
834 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
837 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
839 * ldexp.c (fold_name): Issue error on undefined sections.
841 2007-01-02 Alan Modra <amodra@bigpond.net.au>
843 * pe-dll.c: Include pe-dll.h.
844 * pep-dll.c (pe_bfd_is_dll): Define.
846 For older changes see ChangeLog-2006
852 version-control: never