1 2007-08-06 Daniel Jacobowitz <dan@codesourcery.com>
3 * po/POTFILES.in: Regenerate.
5 2007-08-06 Kai Tietz <kai.tietz@onevision.com>
7 * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
8 (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of
10 * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64
13 2007-08-01 Nick Clifton <nickc@redhat.com>
15 * po/ga.po: Updated Irish translation.
17 2007-07-29 Alan Modra <amodra@bigpond.net.au>
19 * ldlang.c (lang_insert_orphan): When searching through linker
20 script to place an orphan, don't stop on statements that appear
22 * emultempl/elf32.em (output_rel_find): Prefer read-only alloc
23 sections over read/write alloc sections.
25 2007-07-28 Jakub Jelinek <jakub@redhat.com>
27 * scripttempl/elf.sc: Add .note.gnu.build-id.
29 2007-07-25 Nick Clifton <nickc@redhat.com>
32 * ld.texinfo (Options): Extend the description of the -O command
35 2007-07-24 Kai Tietz <kai.tietz@onevision.com>
37 * pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
39 2007-07-21 Nick Clifton <nickc@redhat.com>
41 * sha1.h: Change to use version 3 of the GNU General Public
42 License and tidy up formatting.
45 2007-07-19 Roland McGrath <roland@redhat.com>
47 * genscripts.sh (source_em, fragment): New sh functions.
48 Truncate e${EMULATION_NAME}.c file before .em script fills it.
49 Use source_em in place of . for the .em script.
50 * emultempl/generic.em: Use fragment and source_em functions.
51 * emultempl/aix.em: Likewise.
52 * emultempl/alphaelf.em: Likewise.
53 * emultempl/armcoff.em: Likewise.
54 * emultempl/armelf.em: Likewise.
55 * emultempl/avrelf.em: Likewise.
56 * emultempl/beos.em: Likewise.
57 * emultempl/cr16elf.em: Likewise.
58 * emultempl/crxelf.em: Likewise.
59 * emultempl/elf-generic.em: Likewise.
60 * emultempl/elf32.em: Likewise.
61 * emultempl/genelf.em: Likewise.
62 * emultempl/gld960.em: Likewise.
63 * emultempl/gld960c.em: Likewise.
64 * emultempl/hppaelf.em: Likewise.
65 * emultempl/ia64elf.em: Likewise.
66 * emultempl/irix.em: Likewise.
67 * emultempl/linux.em: Likewise.
68 * emultempl/lnk960.em: Likewise.
69 * emultempl/m68hc1xelf.em: Likewise.
70 * emultempl/m68kcoff.em: Likewise.
71 * emultempl/m68kelf.em: Likewise.
72 * emultempl/mipsecoff.em: Likewise.
73 * emultempl/mipself.em: Likewise.
74 * emultempl/mmix-elfnmmo.em: Likewise.
75 * emultempl/mmixelf.em: Likewise.
76 * emultempl/mmo.em: Likewise.
77 * emultempl/needrelax.em: Likewise.
78 * emultempl/netbsd.em: Likewise.
79 * emultempl/pe.em: Likewise.
80 * emultempl/pep.em: Likewise.
81 * emultempl/ppc32elf.em: Likewise.
82 * emultempl/ppc64elf.em: Likewise.
83 * emultempl/scoreelf.em: Likewise.
84 * emultempl/sh64elf.em: Likewise.
85 * emultempl/spuelf.em: Likewise.
86 * emultempl/sunos.em: Likewise.
87 * emultempl/ticoff.em: Likewise.
88 * emultempl/vanilla.em: Likewise.
89 * emultempl/vxworks.em: Likewise.
90 * emultempl/xtensaelf.em: Likewise.
91 * emultempl/z80.em: Likewise.
93 2007-07-18 Roland McGrath <roland@redhat.com>
95 * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
96 Use ASEC->contents for CONTENTS when missing, and allocate
99 2007-07-13 Roland McGrath <roland@redhat.com>
101 * emultempl/elf32.em (struct build_id_info): New type.
102 (gld${EMULATION_NAME}_id_note_section_size): New function.
103 (gld${EMULATION_NAME}_write_build_id_section): New function.
104 (gld${EMULATION_NAME}_after_open): Use them.
105 (DEFAULT_BUILD_ID_STYLE): Change to "sha1".
106 * ld.texinfo (Options): Mention --build-id=sha1.
108 * sha1.h: New file (from gnulib).
109 * sha1.c: New file (from gnulib).
110 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
111 (sha1.o): New target.
112 * Makefile.in: Regenerated.
114 2007-07-13 Alan Modra <amodra@bigpond.net.au>
116 * ldlang.c (strip_excluded_output_sections): Don't ignore sections
117 with update_dot_tree.
119 2007-07-12 Nathan Sidwell <nathan@codesourcery.com>
121 * scripttempl/pe.sc: Don't include .gcc_except_table and
122 .eh_frame on partial links.
123 * scripttempl/pep.sc: Likewise.
125 2007-07-12 Alan Modra <amodra@bigpond.net.au>
128 * ldlang.c (lang_size_sections_1 <output_section_statement>): Only
129 use expld.result when valid.
131 2007-07-12 Alan Modra <amodra@bigpond.net.au>
133 * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
134 before calling base_name, not after.
136 2007-07-10 Alan Modra <amodra@bigpond.net.au>
138 * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
140 * scripttempl/armbpabi.sc: Likewise.
141 * scripttempl/elf32sh-symbian.sc: Likewise.
142 * scripttempl/elfxtensa.sc: Likewise.
143 * scripttempl/mep.sc: Likewise.
145 2007-07-09 Roland McGrath <roland@redhat.com>
147 * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
148 (gld${EMULATION_NAME}_handle_option): Handle --build-id.
149 (gld${EMULATION_NAME}_list_options): List --build-id.
150 (gld${EMULATION_NAME}_after_open): If --build-id was given,
151 synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
152 * ld.texinfo (Options): Describe --build-id.
153 * NEWS: Mention --build-id.
155 2007-07-06 Nick Clifton <nickc@redhat.com>
157 * deffile.h: Update copyright notice to refer to GPLv3.
158 * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
159 ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
160 ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
161 ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
162 mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
163 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
164 emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
165 emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
166 emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
167 emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
168 emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
169 emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
170 emultempl/m68kcoff.em, emultempl/m68kelf.em,
171 emultempl/mipsecoff.em, emultempl/mipself.em,
172 emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
173 emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
174 emultempl/ppc32elf.em, emultempl/ppc64elf.em,
175 emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
176 emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
177 emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
178 * genscripts.sh: Add copyright notice.
179 * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
181 * NEWS: Mention that the sources are now under GPLv3.
182 * configure: Regenerate.
184 2007-07-05 Danny Smith <dannysmith@users.sourceforge.net>
186 * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
189 2007-07-03 Matthias Klose <doko@ubuntu.com>
191 * emultempl/spuelf.em (base_name): Correct backslash quoting.
193 2007-07-02 Alan Modra <amodra@bigpond.net.au>
195 * Makefile.in: Regenerate.
196 * aclocal.m4: Regenerate.
197 * config.in: Regenerate.
198 * po/ld.pot: Regenerate.
200 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
202 * aclocal.m4: Regenerated.
203 * Makefile.in: Likewise.
205 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
207 * NEWS: Remove a line with '*' only.
209 2007-06-29 Joseph Myers <joseph@codesourcery.com>
211 * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
212 (ATTRS_SECTIONS): Define.
213 * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
214 scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
215 scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
217 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
219 * scripttemp/elf32cr16.sc: Default linker script.
220 * emulparams/elf32cr16.sh: Emulation script.
221 * emultempl/cr16elf.em: Emulation script.
222 * Makefile.am: Add entry to make cr16 target.
223 * Makefile.in: Regenerate.
224 * configure.tgt: Specify default and other emulation parameters
226 * ChangeLog: Added CR16 target entry.
227 * NEWS: Announce the support for the CR16 new target.
229 2007-06-27 Alan Modra <amodra@bigpond.net.au>
231 * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
233 2007-06-20 Alan Modra <amodra@bigpond.net.au>
235 * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
237 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
239 * ldlex.l, ldgram.y: Add ALIGNOF.
240 * ldexp.c (exp_print_token, foldname): Likewise.
241 * ld.texinfo: Likewise.
243 2007-06-18 Alan Modra <amodra@bigpond.net.au>
245 * Makefile.am: Add eelf32_spu.o rule.
246 * Makefile.in: Regenerate.
247 * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU
248 defined in Makefile for embedspu name.
250 2007-06-18 Alan Modra <amodra@bigpond.net.au>
252 * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
253 name prefix from that of ld.
255 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
257 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
259 * acinclude.m4: Removed.
261 * Makefile.in: Regenerated.
262 * aclocal.m4: Likewise.
263 * configure: Likewise.
265 2007-06-14 Alan Modra <amodra@bigpond.net.au>
267 * emultempl/spu_ovl.S: Don't trash lr on tail call from one
269 * emultempl/spu_ovl.o: Regenerate.
271 2007-06-11 Bob Wilson <bob.wilson@acm.org>
273 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
274 for .xt_except_table.
275 (OTHER_RELRO_SECTIONS): New.
277 2007-06-11 Sterling Augustine <sterling@tensilica.com>
278 Bob Wilson <bob.wilson@acm.org>
280 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
281 XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
283 2007-06-01 Noah Misch <noah@cs.caltech.edu>
284 Alan Modra <amodra@bigpond.net.au>
286 * ldlang.c (ldlang_add_file): Use input_bfds_tail.
287 * ldmain.c (main): Init input_bfds_tail. Sort link_info
290 2007-05-29 Alan Modra <amodra@bigpond.net.au>
292 * emultempl/spuelf.em (base_name): New function, split out from..
293 (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu
294 invocation if we deduce a shared lib or position independent
295 executable build by looking at ctrbegin* linker input files.
297 2007-05-29 Alan Modra <amodra@bigpond.net.au>
299 * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
301 * emultempl/spu_ovl.o: Regenerate.
303 2007-05-24 Steve Ellcey <sje@cup.hp.com>
305 * Makefile.in: Regnerate.
306 * configure: Regenerate.
307 * aclocal.m4: Regenerate.
309 2007-05-24 Nathan Sidwell <nathan@codesourcery.com>
311 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
312 contain commas in EXP env.
313 * ldgram.y (extern_name_list): Push to EXP env, move body to ...
314 (extern_name_list_body): ... here.
315 (script_file, ifile_list): Reformat.
316 (statement): Add ASSERT.
318 2007-05-22 Nick Clifton <nickc@redhat.com>
320 * ld.texinfo: Use @copying around the copyright notice.
321 * ldint.texinfo: Likewise.
323 2007-05-18 Richard Sandiford <richard@codesourcery.com>
325 * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
326 (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
328 2007-05-16 Richard Sandiford <richard@codesourcery.com>
330 * configure.in: Allow sysroots to be relocated under $prefix as
331 well as $exec_prefix.
332 * configure: Regenerate.
334 2007-05-14 Andreas Schwab <schwab@suse.de>
336 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
339 2007-05-11 Alan Modra <amodra@bigpond.net.au>
341 * emultempl/ppc32elf.em (plt_style): New variable.
343 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
344 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
345 OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
346 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
347 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
348 * ld.texinfo (--secure-plt): Document.
350 2007-05-08 Alan Modra <amodra@bigpond.net.au>
352 * ld.h (args_type, ld_config_type): Reorder fields.
353 * ldmain.c (main): Don't initialise a bunch of vars we know are
356 2007-05-05 Anatoly Sokolov <aesok@post.ru>
358 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
359 "--pmem-wrap-around".
360 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
362 2007-05-03 Bob Wilson <bob.wilson@acm.org>
364 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
366 2007-05-03 Alan Modra <amodra@bigpond.net.au>
368 * ld.texinfo (--no-warn-search-mismatch): Document.
369 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
370 incompatible libraries if --no-warn-search-mismatch.
371 * ld.h (args_type): Add warn_search_mismatch.
372 * ldmain.c (main): Init it.
373 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
374 (ld_options): Add entry for --no-warn-search-mismatch.
375 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
377 2007-05-03 Alan Modra <amodra@bigpond.net.au>
379 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
381 2007-05-01 Robert Millan <rmh@aybabtu.com>
383 * ldlang.c (lang_check): Error on architecture mismatch.
385 2007-04-30 Alan Modra <amodra@bigpond.net.au>
387 * ldmain.c (link_callbacks): Init info and minfo fields.
388 * ldmisc.c (minfo): Do nothing if no map file.
389 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
390 (spu_after_open): Adjust spu_elf_create_sections call.
391 (spu_before_allocation): Likewise for spu_elf_size_stubs.
392 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
393 (PARSE_AND_LIST_LONGOPTS): Add new entries.
394 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
395 * gen-doc.texi: Add @set for SPU and other missing targets.
396 * ld.texinfo: Update man page selection to match gen-doc.texi.
397 Document SPU features.
399 2007-04-28 Alan Modra <amodra@bigpond.net.au>
401 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
402 (cref_fill_array): Adjust for changed demangler.
403 * ldlang.c (lang_one_common): Likewise.
405 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
407 * emulparams/elf32_sparc.sh: Update comments.
408 * emulparams/elf32bmip.sh: Likewise.
409 * emulparams/elf32ppc.sh: Likewise.
410 * emulparams/vxworks.sh: Likewise.
412 2007-04-27 Alan Modra <amodra@bigpond.net.au>
414 Many files: Include sysdep.h first. Remove duplicate headers.
415 * Makefile.am: Run "make dep-am".
416 * Makefile.in: Regenerate.
418 2007-04-24 Alan Modra <amodra@bigpond.net.au>
420 * Makefile.in: Regenerate.
422 2007-04-19 Alan Modra <amodra@bigpond.net.au>
424 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
425 * ldlang.c (lang_one_common): Likewise.
426 * ldmisc.c (vfinfo): Likewise.
428 * ldmisc.h (demangle): Delete.
429 * Makefile.am: Run "make dep-am".
430 * Makefile.in: Regenerate.
432 2007-04-18 Alan Modra <amodra@bigpond.net.au>
434 * ldlang.h (enum section_type): Add overlay_section.
435 * ldlang.c (lang_add_section): Handle flags for overlay_section
436 as per normal_section.
437 (lang_size_sections_1): When setting lma, detect overlays by
438 os->sectype rather than by looking for overlapping vmas.
439 (lang_enter_overlay_section): Use overlay_section type.
440 (lang_leave_overlay): Set first overlay section to normal.
442 2007-04-14 Steve Ellcey <sje@cup.hp.com>
444 * Makefile.am: Add ACLOCAL_AMFLAGS.
445 * Makefile.in: Regenerate.
447 2007-04-12 Bob Wilson <bob.wilson@acm.org>
449 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
451 2007-04-10 Richard Henderson <rth@redhat.com>
453 * ldlang.c (relax_sections): Initialize and increment
454 link_info.relax_trip.
456 2007-04-04 Paul Brook <paul@codesourcery.com>
458 * configure.tgt: Loosen checks for arm uclinux eabi targets.
460 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
463 * ldexp.h (node_type): Add lineno.
464 * ldexp.c: Include "ldlex.h".
465 (exp_intop): Set the lineno field from lineno.
466 (exp_bigintop): Likewise.
467 (exp_relop): Likewise.
468 (exp_nameop): Likewise.
469 (exp_binop): Set the lineno field from lineno of lhs.
470 (exp_trinop): Likewise.
471 (exp_unop): Set the lineno field from lineno of child.
472 (exp_assop): Set the lineno field from lineno of src.
473 (exp_provide): Likewise.
474 (exp_assert): Set the lineno field from lineno of exp.
475 (exp_get_abs_int): Set lineno from lineno of nonconstant
476 expression when report problem.
478 2007-03-29 Richard Sandiford <richard@codesourcery.com>
479 Daniel Jacobowitz <dan@codesourcery.com>
481 * NEWS: Mention -l:foo.
482 * ld.texinfo: Document it.
483 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
484 entry as a name beginning with a coloh, convert it to a
485 lang_input_file_is_search_file_enum entry without the colon.
487 2007-03-28 Richard Sandiford <richard@codesourcery.com>
489 * ld.h (ld_config_type): Add rpath_separator.
490 * ldmain.c (main): Initialize it.
491 * lexsup.c (parse_args): Honor config.rpath_separator.
492 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
493 (gld${EMULATION_NAME}_add_sysroot): Likewise.
494 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
495 rather than ':' when building the path.
496 * emultempl/vxworks.em (vxworks_before_parse): New function.
497 Override config.rpath_separator.
498 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
499 set to gld${EMULATION_NAME}_after_open; #define that identifier
500 to vxworks_foo instead.
501 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
503 2007-03-28 Richard Sandiford <richard@codesourcery.com>
504 Phil Edwards <phil@codesourcery.com>
506 * ld.texinfo: Put the contents after the title page rather
507 than at the end of the document.
509 2007-03-26 Alan Modra <amodra@bigpond.net.au>
511 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
512 spu target emul files.
513 * configure.in: Check for mkstemp and waitpid.
514 * Makefile.in: Regenerate.
515 * configure: Regenerate.
516 * config.in: Regenerate.
517 * ldlang.c (input_file_chain): Make global.
518 (lang_add_input_file): Don't set lang_has_input_file here.
519 * ldlang.h (input_file_chain): Declare.
520 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
521 (LDEMUL_RECOGNIZED_FILE): Define.
522 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
523 (LDEMUL_RECOGNIZED_FILE): Define.
524 * emultempl/spuelf.em (struct tflist): New.
525 (tmp_file_list): New var.
526 (clean_tmp, embedded_spu_file): New functions.
528 2007-03-24 Alan Modra <amodra@bigpond.net.au>
530 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
531 rather than defining unconditionally.
532 (lang_leave_overlay_section): Likewise.
533 * ld.texinfo (Overlay Description): Update description and examples
536 2007-03-22 Joseph Myers <joseph@codesourcery.com>
538 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
540 2007-03-20 Paul Brook <paul@codesourcery.com>
542 * emultempl/armelf.em (pic_veneer): New variable.
543 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
544 (PARSE_AND_LIST_ARGS_CASES): Ditto.
545 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
546 (PARSE_AND_LIST_OPTIONS): Ditto.
547 * ld.texinfo: Document --pic-veneer.
549 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
551 * ld.texinfo: Document --no-enum-size-warning.
552 * emultempl/armelf.em (no_enum_size_warning): New.
553 (arm_elf_create_output_section_statements): Correct typo
554 in comment. Pass no_enum_size_warning to
555 bfd_elf32_arm_set_target_relocs.
556 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
557 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
558 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
561 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
563 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
564 (bfin-*-linux-uclibc*): New target.
566 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
568 * pe-dll.c (make_one): Use pc-relative relocation instead of an
569 absolute relocation for x86_64-pc-mingw32 target.
571 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
573 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
574 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
575 (TEXI2DVI): Likewise.
576 (REPORT_BUGS_TO): Removed.
577 (INCLUDES): Remove -DREPORT_BUGS_TO.
578 (ldver.texi): Likewise.
579 (ld.1): Don't depend on ldver.texi.
580 (MOSTLYCLEANFILES): Remove ldver.texi.
581 * Makefile.in: Regenerated.
583 * configure.in (--with-bugurl): Removed.
584 * configure: Regenerated.
586 * lexsup.c: Include bfdver.h.
588 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
590 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
592 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
594 2007-03-08 Alan Modra <amodra@bigpond.net.au>
596 * ldlang.c (lang_size_sections_1): Correct backwards dot move
597 test to not trigger on overlays. Only warn on backwards move
600 2007-03-07 Joseph Myers <joseph@codesourcery.com>
602 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
604 * Makefile.am (ldver.texi): Define BUGURL.
605 * ld.texinfo: Use BUGURL.
606 * Makefile.in, configure: Regenerate.
608 2007-03-07 Nick Clifton <nickc@redhat.com>
611 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
612 from any paths being inserted into the output binary's DT_RPATH.
614 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
616 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
618 2007-03-01 Joseph Myers <joseph@codesourcery.com>
620 * ldver.c (ldversion): Remove word "version" from output. Update
623 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
625 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
626 (eshelf_uclinux.c): New target.
627 * Makefile.in: Rebuilt.
628 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
629 * emulparams/shelf_uclinux.sh: New.
631 2007-02-28 Alan Modra <amodra@bigpond.net.au>
633 * configure.tgt: Fix type last change.
634 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
636 2007-02-27 Alan Modra <amodra@bigpond.net.au>
638 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
639 (eelf32_spu.c): Adjust dependencies.
640 * Makefile.in: Regenerate.
641 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
643 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
644 (ovl_mgr_stream): Update.
645 * emultempl/spu_inc.s: Delete.
646 * emultempl/spu_none.s: Delete.
648 2007-02-26 Alan Modra <amodra@bigpond.net.au>
650 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
651 to _binary_spu_ovl_o_start.
652 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
653 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
654 * emultempl/spu_inc.s: Rename symbols.
655 * emultempl/spu_none.s: New file.
656 * emultempl/spu_ovl.S: Update copyright.
657 * Makefile.am (spu_inc.o): Try building with ld -r first, then
658 gas incbin, then build without overlay manager.
659 * Makefile.in: Regenerate.
661 2007-02-22 Joseph Myers <joseph@codesourcery.com>
663 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
664 mips*el-*-linux-*, mips*-*-linux-*): Set
665 targ_extra_libpath=$targ_extra_emuls.
667 2007-02-21 Nick Clifton <nickc@redhat.com>
669 * ldlang.c (ldlang_override_segment_assignment): New function.
670 * ldlang.h (ldlang_override_segment_assignment): Prototype.
671 * ldmain.c (link_callbacks): Add
672 ldlang_override_segment_assignment.
674 2007-02-20 Alan Modra <amodra@bigpond.net.au>
676 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
678 2007-02-17 Mark Mitchell <mark@codesourcery.com>
679 Nathan Sidwell <nathan@codesourcery.com>
680 Vladimir Prus <vladimir@codesourcery.com
681 Joseph Myers <joseph@codesourcery.com>
683 * configure.in (--with-bugurl): New option.
684 * configure: Regenerate.
685 * Makefile.am (REPORT_BUGS_TO): Define.
686 (INCLUDES): Define REPORT_BUGS_TO.
687 Regenerate dependencies.
688 * Makefile.in: Regenerate.
689 * ld.h: Remove include of bin-bugs.h.
690 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
692 2007-02-17 Alan Modra <amodra@bigpond.net.au>
694 * ldcref.c (check_reloc_refs): Compare section for local syms.
696 2007-02-13 Alan Modra <amodra@bigpond.net.au>
698 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
699 (__ovly_load_event): Define.
700 (size): Rename to osize.
701 * emultempl/spu_ovl.o: Regenerate.
703 2007-02-13 Alan Modra <amodra@bigpond.net.au>
705 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
706 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
709 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
711 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
713 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
715 * configure: Regenerated.
717 * configure.tgt (targ_extra_libpath): Initialize.
718 (targ64_extra_emuls): New. Document. Initialize.
719 (targ64_extra_libpath): Likewise.
720 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
721 targ64_extra_libpath.
722 (powerpc*-*-linux*): Likewise.
723 (s390-*-linux*): Likewise.
725 2007-02-07 Paul Brook <paul@codesourcery.com>
727 * configure.tgt: Add arm*-*-uclinux-*eabi.
729 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
731 * ldlang.c (lang_size_sections_1): Add a missing `)'.
733 2007-02-06 Alan Modra <amodra@bigpond.net.au>
736 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
737 move unless section size is non-zero.
739 2007-02-05 Dave Brolley <brolley@redhat.com>
741 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
742 * configure.tgt: Likewise.
743 * scripttempl/mep.sc: New file.
744 * emulparams/elf32mep.sh: New file.
745 * Makefile.in: Regenerate.
747 2006-01-29 Julian Brown <julian@codesourcery.com>
749 * NEWS: Mention --vfp11-denorm-fix option.
750 * ld.texinfo: Document above.
751 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
752 .vfp11_veneer section.
753 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
754 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
755 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
756 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
757 (arm_elf_after_allocation): New function. Call
758 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
759 (arm_elf_create_output_section_statements): Pass vfp11 fix command
761 (OPTION_VFP11_DENORM_FIX): New option.
762 (PARSE_AND_LIST_LONGOPTS): Handle new option.
763 (PARSE_AND_LIST_OPTIONS): Likewise.
764 (PARSE_AND_LIST_ARGS_CASES): Likewise.
765 (LDEMUL_AFTER_ALLOCATION): Define.
767 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
769 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
770 (DEFSYMEND): Likewise.
774 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
776 * pe-dll.c: (make_one) Conditionally include jump stubs.
777 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
778 redundant jump stubs from import libraries and exclude them from
781 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
783 * ld.h (args_type): Add new symbolic and dynamic_list fields.
785 * ld.texinfo: Update -Bsymbolic-functions.
787 * ldmain.c (main): Initialize command_line.symbolic to
788 symbolic_unset and command_line.dynamic_list to
789 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
790 --dynamic-list* before setting link_info.symbolic,
791 link_info.dynamic and link_info.dynamic_data.
793 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
794 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
795 -Bsymbolic-functions.
796 (parse_args): Handle -Bsymbolic-functions. Don't set
797 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
798 here. Set command_line.symbolic for -Bsymbolic. Set
799 command_line.dynamic_list and command_line.symbolic for
800 --dynamic-list-data, --dynamic-list-cpp-new,
801 --dynamic-list-cpp-typeinfo and --dynamic-list.
803 2007-01-19 Jakub Jelinek <jakub@redhat.com>
804 H.J. Lu <hongjiu.lu@intel.com>
806 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
807 or -z common-page-size argument is a power of 2. Call
808 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
810 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
812 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
813 bfd_emul_set_commonpagesize.
815 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
817 * NEWS: Mention --default-script/-dT.
819 * ld.h (args_type): Add a default_script field.
821 * ld.texinfo: Document --default-script/-dT.
823 * ldmain.c (main): Handle command_line.default_script.
825 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
826 (ld_options): Add entries for --default-script and -dT.
827 (parse_args): Handle --default-script/-dT.
829 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
832 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
833 --dynamic-list-cpp-new.
835 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
836 and --dynamic-list-cpp-new.
838 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
839 (lang_process): Change link_info.dynamic to
840 link_info.dynamic_list.
841 (lang_append_dynamic_list): Likewise.
842 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
843 link_info.dynamic_data to FALSE.
845 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
847 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
848 OPTION_DYNAMIC_LIST_CPP_NEW.
849 (ld_options): Add entries for -Bsymbolic-functions,
850 --dynamic-list-data and --dynamic-list-cpp-new. Make
851 -Bsymbolic-functions an alias of --dynamic-list-data.
852 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
853 Set link_info.dynamic to TRUE for --dynamic-list and
854 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
855 --dynamic-list-cpp-new.
857 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
859 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
860 shrinkage for the first few iterations.
862 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
864 * configure.tgt: Renamed target x86_64-*-mingw64 to
867 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
869 * configure.host: Add i[3-7]86-*-mingw* case.
871 2007-01-08 Nick Clifton <nickc@redhat.com>
873 * pep-dll.h (pep_bfd_is_dll): Add prototype.
875 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
878 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
881 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
883 * ldexp.c (fold_name): Issue error on undefined sections.
885 2007-01-02 Alan Modra <amodra@bigpond.net.au>
887 * pe-dll.c: Include pe-dll.h.
888 * pep-dll.c (pe_bfd_is_dll): Define.
890 For older changes see ChangeLog-2006
896 version-control: never