1 2007-05-05 Anatoly Sokolov <aesok@post.ru>
3 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
5 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
7 2007-05-03 Bob Wilson <bob.wilson@acm.org>
9 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
11 2007-05-03 Alan Modra <amodra@bigpond.net.au>
13 * ld.texinfo (--no-warn-search-mismatch): Document.
14 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
15 incompatible libraries if --no-warn-search-mismatch.
16 * ld.h (args_type): Add warn_search_mismatch.
17 * ldmain.c (main): Init it.
18 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
19 (ld_options): Add entry for --no-warn-search-mismatch.
20 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
22 2007-05-03 Alan Modra <amodra@bigpond.net.au>
24 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
26 2007-05-01 Robert Millan <rmh@aybabtu.com>
28 * ldlang.c (lang_check): Error on architecture mismatch.
30 2007-04-30 Alan Modra <amodra@bigpond.net.au>
32 * ldmain.c (link_callbacks): Init info and minfo fields.
33 * ldmisc.c (minfo): Do nothing if no map file.
34 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
35 (spu_after_open): Adjust spu_elf_create_sections call.
36 (spu_before_allocation): Likewise for spu_elf_size_stubs.
37 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
38 (PARSE_AND_LIST_LONGOPTS): Add new entries.
39 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
40 * gen-doc.texi: Add @set for SPU and other missing targets.
41 * ld.texinfo: Update man page selection to match gen-doc.texi.
42 Document SPU features.
44 2007-04-28 Alan Modra <amodra@bigpond.net.au>
46 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
47 (cref_fill_array): Adjust for changed demangler.
48 * ldlang.c (lang_one_common): Likewise.
50 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
52 * emulparams/elf32_sparc.sh: Update comments.
53 * emulparams/elf32bmip.sh: Likewise.
54 * emulparams/elf32ppc.sh: Likewise.
55 * emulparams/vxworks.sh: Likewise.
57 2007-04-27 Alan Modra <amodra@bigpond.net.au>
59 Many files: Include sysdep.h first. Remove duplicate headers.
60 * Makefile.am: Run "make dep-am".
61 * Makefile.in: Regenerate.
63 2007-04-24 Alan Modra <amodra@bigpond.net.au>
65 * Makefile.in: Regenerate.
67 2007-04-19 Alan Modra <amodra@bigpond.net.au>
69 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
70 * ldlang.c (lang_one_common): Likewise.
71 * ldmisc.c (vfinfo): Likewise.
73 * ldmisc.h (demangle): Delete.
74 * Makefile.am: Run "make dep-am".
75 * Makefile.in: Regenerate.
77 2007-04-18 Alan Modra <amodra@bigpond.net.au>
79 * ldlang.h (enum section_type): Add overlay_section.
80 * ldlang.c (lang_add_section): Handle flags for overlay_section
81 as per normal_section.
82 (lang_size_sections_1): When setting lma, detect overlays by
83 os->sectype rather than by looking for overlapping vmas.
84 (lang_enter_overlay_section): Use overlay_section type.
85 (lang_leave_overlay): Set first overlay section to normal.
87 2007-04-14 Steve Ellcey <sje@cup.hp.com>
89 * Makefile.am: Add ACLOCAL_AMFLAGS.
90 * Makefile.in: Regenerate.
92 2007-04-12 Bob Wilson <bob.wilson@acm.org>
94 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
96 2007-04-10 Richard Henderson <rth@redhat.com>
98 * ldlang.c (relax_sections): Initialize and increment
101 2007-04-04 Paul Brook <paul@codesourcery.com>
103 * configure.tgt: Loosen checks for arm uclinux eabi targets.
105 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
108 * ldexp.h (node_type): Add lineno.
109 * ldexp.c: Include "ldlex.h".
110 (exp_intop): Set the lineno field from lineno.
111 (exp_bigintop): Likewise.
112 (exp_relop): Likewise.
113 (exp_nameop): Likewise.
114 (exp_binop): Set the lineno field from lineno of lhs.
115 (exp_trinop): Likewise.
116 (exp_unop): Set the lineno field from lineno of child.
117 (exp_assop): Set the lineno field from lineno of src.
118 (exp_provide): Likewise.
119 (exp_assert): Set the lineno field from lineno of exp.
120 (exp_get_abs_int): Set lineno from lineno of nonconstant
121 expression when report problem.
123 2007-03-29 Richard Sandiford <richard@codesourcery.com>
124 Daniel Jacobowitz <dan@codesourcery.com>
126 * NEWS: Mention -l:foo.
127 * ld.texinfo: Document it.
128 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
129 entry as a name beginning with a coloh, convert it to a
130 lang_input_file_is_search_file_enum entry without the colon.
132 2007-03-28 Richard Sandiford <richard@codesourcery.com>
134 * ld.h (ld_config_type): Add rpath_separator.
135 * ldmain.c (main): Initialize it.
136 * lexsup.c (parse_args): Honor config.rpath_separator.
137 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
138 (gld${EMULATION_NAME}_add_sysroot): Likewise.
139 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
140 rather than ':' when building the path.
141 * emultempl/vxworks.em (vxworks_before_parse): New function.
142 Override config.rpath_separator.
143 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
144 set to gld${EMULATION_NAME}_after_open; #define that identifier
145 to vxworks_foo instead.
146 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
148 2007-03-28 Richard Sandiford <richard@codesourcery.com>
149 Phil Edwards <phil@codesourcery.com>
151 * ld.texinfo: Put the contents after the title page rather
152 than at the end of the document.
154 2007-03-26 Alan Modra <amodra@bigpond.net.au>
156 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
157 spu target emul files.
158 * configure.in: Check for mkstemp and waitpid.
159 * Makefile.in: Regenerate.
160 * configure: Regenerate.
161 * config.in: Regenerate.
162 * ldlang.c (input_file_chain): Make global.
163 (lang_add_input_file): Don't set lang_has_input_file here.
164 * ldlang.h (input_file_chain): Declare.
165 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
166 (LDEMUL_RECOGNIZED_FILE): Define.
167 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
168 (LDEMUL_RECOGNIZED_FILE): Define.
169 * emultempl/spuelf.em (struct tflist): New.
170 (tmp_file_list): New var.
171 (clean_tmp, embedded_spu_file): New functions.
173 2007-03-24 Alan Modra <amodra@bigpond.net.au>
175 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
176 rather than defining unconditionally.
177 (lang_leave_overlay_section): Likewise.
178 * ld.texinfo (Overlay Description): Update description and examples
181 2007-03-22 Joseph Myers <joseph@codesourcery.com>
183 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
185 2007-03-20 Paul Brook <paul@codesourcery.com>
187 * emultempl/armelf.em (pic_veneer): New variable.
188 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
189 (PARSE_AND_LIST_ARGS_CASES): Ditto.
190 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
191 (PARSE_AND_LIST_OPTIONS): Ditto.
192 * ld.texinfo: Document --pic-veneer.
194 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
196 * ld.texinfo: Document --no-enum-size-warning.
197 * emultempl/armelf.em (no_enum_size_warning): New.
198 (arm_elf_create_output_section_statements): Correct typo
199 in comment. Pass no_enum_size_warning to
200 bfd_elf32_arm_set_target_relocs.
201 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
202 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
203 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
206 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
208 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
209 (bfin-*-linux-uclibc*): New target.
211 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
213 * pe-dll.c (make_one): Use pc-relative relocation instead of an
214 absolute relocation for x86_64-pc-mingw32 target.
216 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
218 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
219 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
220 (TEXI2DVI): Likewise.
221 (REPORT_BUGS_TO): Removed.
222 (INCLUDES): Remove -DREPORT_BUGS_TO.
223 (ldver.texi): Likewise.
224 (ld.1): Don't depend on ldver.texi.
225 (MOSTLYCLEANFILES): Remove ldver.texi.
226 * Makefile.in: Regenerated.
228 * configure.in (--with-bugurl): Removed.
229 * configure: Regenerated.
231 * lexsup.c: Include bfdver.h.
233 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
235 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
237 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
239 2007-03-08 Alan Modra <amodra@bigpond.net.au>
241 * ldlang.c (lang_size_sections_1): Correct backwards dot move
242 test to not trigger on overlays. Only warn on backwards move
245 2007-03-07 Joseph Myers <joseph@codesourcery.com>
247 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
249 * Makefile.am (ldver.texi): Define BUGURL.
250 * ld.texinfo: Use BUGURL.
251 * Makefile.in, configure: Regenerate.
253 2007-03-07 Nick Clifton <nickc@redhat.com>
256 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
257 from any paths being inserted into the output binary's DT_RPATH.
259 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
261 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
263 2007-03-01 Joseph Myers <joseph@codesourcery.com>
265 * ldver.c (ldversion): Remove word "version" from output. Update
268 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
270 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
271 (eshelf_uclinux.c): New target.
272 * Makefile.in: Rebuilt.
273 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
274 * emulparams/shelf_uclinux.sh: New.
276 2007-02-28 Alan Modra <amodra@bigpond.net.au>
278 * configure.tgt: Fix type last change.
279 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
281 2007-02-27 Alan Modra <amodra@bigpond.net.au>
283 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
284 (eelf32_spu.c): Adjust dependencies.
285 * Makefile.in: Regenerate.
286 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
288 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
289 (ovl_mgr_stream): Update.
290 * emultempl/spu_inc.s: Delete.
291 * emultempl/spu_none.s: Delete.
293 2007-02-26 Alan Modra <amodra@bigpond.net.au>
295 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
296 to _binary_spu_ovl_o_start.
297 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
298 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
299 * emultempl/spu_inc.s: Rename symbols.
300 * emultempl/spu_none.s: New file.
301 * emultempl/spu_ovl.S: Update copyright.
302 * Makefile.am (spu_inc.o): Try building with ld -r first, then
303 gas incbin, then build without overlay manager.
304 * Makefile.in: Regenerate.
306 2007-02-22 Joseph Myers <joseph@codesourcery.com>
308 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
309 mips*el-*-linux-*, mips*-*-linux-*): Set
310 targ_extra_libpath=$targ_extra_emuls.
312 2007-02-21 Nick Clifton <nickc@redhat.com>
314 * ldlang.c (ldlang_override_segment_assignment): New function.
315 * ldlang.h (ldlang_override_segment_assignment): Prototype.
316 * ldmain.c (link_callbacks): Add
317 ldlang_override_segment_assignment.
319 2007-02-20 Alan Modra <amodra@bigpond.net.au>
321 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
323 2007-02-17 Mark Mitchell <mark@codesourcery.com>
324 Nathan Sidwell <nathan@codesourcery.com>
325 Vladimir Prus <vladimir@codesourcery.com
326 Joseph Myers <joseph@codesourcery.com>
328 * configure.in (--with-bugurl): New option.
329 * configure: Regenerate.
330 * Makefile.am (REPORT_BUGS_TO): Define.
331 (INCLUDES): Define REPORT_BUGS_TO.
332 Regenerate dependencies.
333 * Makefile.in: Regenerate.
334 * ld.h: Remove include of bin-bugs.h.
335 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
337 2007-02-17 Alan Modra <amodra@bigpond.net.au>
339 * ldcref.c (check_reloc_refs): Compare section for local syms.
341 2007-02-13 Alan Modra <amodra@bigpond.net.au>
343 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
344 (__ovly_load_event): Define.
345 (size): Rename to osize.
346 * emultempl/spu_ovl.o: Regenerate.
348 2007-02-13 Alan Modra <amodra@bigpond.net.au>
350 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
351 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
354 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
356 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
358 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
360 * configure: Regenerated.
362 * configure.tgt (targ_extra_libpath): Initialize.
363 (targ64_extra_emuls): New. Document. Initialize.
364 (targ64_extra_libpath): Likewise.
365 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
366 targ64_extra_libpath.
367 (powerpc*-*-linux*): Likewise.
368 (s390-*-linux*): Likewise.
370 2007-02-07 Paul Brook <paul@codesourcery.com>
372 * configure.tgt: Add arm*-*-uclinux-*eabi.
374 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
376 * ldlang.c (lang_size_sections_1): Add a missing `)'.
378 2007-02-06 Alan Modra <amodra@bigpond.net.au>
381 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
382 move unless section size is non-zero.
384 2007-02-05 Dave Brolley <brolley@redhat.com>
386 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
387 * configure.tgt: Likewise.
388 * scripttempl/mep.sc: New file.
389 * emulparams/elf32mep.sh: New file.
390 * Makefile.in: Regenerate.
392 2006-01-29 Julian Brown <julian@codesourcery.com>
394 * NEWS: Mention --vfp11-denorm-fix option.
395 * ld.texinfo: Document above.
396 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
397 .vfp11_veneer section.
398 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
399 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
400 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
401 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
402 (arm_elf_after_allocation): New function. Call
403 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
404 (arm_elf_create_output_section_statements): Pass vfp11 fix command
406 (OPTION_VFP11_DENORM_FIX): New option.
407 (PARSE_AND_LIST_LONGOPTS): Handle new option.
408 (PARSE_AND_LIST_OPTIONS): Likewise.
409 (PARSE_AND_LIST_ARGS_CASES): Likewise.
410 (LDEMUL_AFTER_ALLOCATION): Define.
412 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
414 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
415 (DEFSYMEND): Likewise.
419 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
421 * pe-dll.c: (make_one) Conditionally include jump stubs.
422 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
423 redundant jump stubs from import libraries and exclude them from
426 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
428 * ld.h (args_type): Add new symbolic and dynamic_list fields.
430 * ld.texinfo: Update -Bsymbolic-functions.
432 * ldmain.c (main): Initialize command_line.symbolic to
433 symbolic_unset and command_line.dynamic_list to
434 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
435 --dynamic-list* before setting link_info.symbolic,
436 link_info.dynamic and link_info.dynamic_data.
438 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
439 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
440 -Bsymbolic-functions.
441 (parse_args): Handle -Bsymbolic-functions. Don't set
442 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
443 here. Set command_line.symbolic for -Bsymbolic. Set
444 command_line.dynamic_list and command_line.symbolic for
445 --dynamic-list-data, --dynamic-list-cpp-new,
446 --dynamic-list-cpp-typeinfo and --dynamic-list.
448 2007-01-19 Jakub Jelinek <jakub@redhat.com>
449 H.J. Lu <hongjiu.lu@intel.com>
451 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
452 or -z common-page-size argument is a power of 2. Call
453 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
455 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
457 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
458 bfd_emul_set_commonpagesize.
460 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
462 * NEWS: Mention --default-script/-dT.
464 * ld.h (args_type): Add a default_script field.
466 * ld.texinfo: Document --default-script/-dT.
468 * ldmain.c (main): Handle command_line.default_script.
470 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
471 (ld_options): Add entries for --default-script and -dT.
472 (parse_args): Handle --default-script/-dT.
474 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
477 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
478 --dynamic-list-cpp-new.
480 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
481 and --dynamic-list-cpp-new.
483 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
484 (lang_process): Change link_info.dynamic to
485 link_info.dynamic_list.
486 (lang_append_dynamic_list): Likewise.
487 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
488 link_info.dynamic_data to FALSE.
490 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
492 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
493 OPTION_DYNAMIC_LIST_CPP_NEW.
494 (ld_options): Add entries for -Bsymbolic-functions,
495 --dynamic-list-data and --dynamic-list-cpp-new. Make
496 -Bsymbolic-functions an alias of --dynamic-list-data.
497 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
498 Set link_info.dynamic to TRUE for --dynamic-list and
499 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
500 --dynamic-list-cpp-new.
502 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
504 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
505 shrinkage for the first few iterations.
507 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
509 * configure.tgt: Renamed target x86_64-*-mingw64 to
512 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
514 * configure.host: Add i[3-7]86-*-mingw* case.
516 2007-01-08 Nick Clifton <nickc@redhat.com>
518 * pep-dll.h (pep_bfd_is_dll): Add prototype.
520 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
523 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
526 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
528 * ldexp.c (fold_name): Issue error on undefined sections.
530 2007-01-02 Alan Modra <amodra@bigpond.net.au>
532 * pe-dll.c: Include pe-dll.h.
533 * pep-dll.c (pe_bfd_is_dll): Define.
535 For older changes see ChangeLog-2006
541 version-control: never