1 2007-04-30 Alan Modra <amodra@bigpond.net.au>
3 * ldmain.c (link_callbacks): Init info and minfo fields.
4 * ldmisc.c (minfo): Do nothing if no map file.
5 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
6 (spu_after_open): Adjust spu_elf_create_sections call.
7 (spu_before_allocation): Likewise for spu_elf_size_stubs.
8 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
9 (PARSE_AND_LIST_LONGOPTS): Add new entries.
10 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
11 * gen-doc.texi: Add @set for SPU and other missing targets.
12 * ld.texinfo: Update man page selection to match gen-doc.texi.
13 Document SPU features.
15 2007-04-28 Alan Modra <amodra@bigpond.net.au>
17 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
18 (cref_fill_array): Adjust for changed demangler.
19 * ldlang.c (lang_one_common): Likewise.
21 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
23 * emulparams/elf32_sparc.sh: Update comments.
24 * emulparams/elf32bmip.sh: Likewise.
25 * emulparams/elf32ppc.sh: Likewise.
26 * emulparams/vxworks.sh: Likewise.
28 2007-04-27 Alan Modra <amodra@bigpond.net.au>
30 Many files: Include sysdep.h first. Remove duplicate headers.
31 * Makefile.am: Run "make dep-am".
32 * Makefile.in: Regenerate.
34 2007-04-24 Alan Modra <amodra@bigpond.net.au>
36 * Makefile.in: Regenerate.
38 2007-04-19 Alan Modra <amodra@bigpond.net.au>
40 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
41 * ldlang.c (lang_one_common): Likewise.
42 * ldmisc.c (vfinfo): Likewise.
44 * ldmisc.h (demangle): Delete.
45 * Makefile.am: Run "make dep-am".
46 * Makefile.in: Regenerate.
48 2007-04-18 Alan Modra <amodra@bigpond.net.au>
50 * ldlang.h (enum section_type): Add overlay_section.
51 * ldlang.c (lang_add_section): Handle flags for overlay_section
52 as per normal_section.
53 (lang_size_sections_1): When setting lma, detect overlays by
54 os->sectype rather than by looking for overlapping vmas.
55 (lang_enter_overlay_section): Use overlay_section type.
56 (lang_leave_overlay): Set first overlay section to normal.
58 2007-04-14 Steve Ellcey <sje@cup.hp.com>
60 * Makefile.am: Add ACLOCAL_AMFLAGS.
61 * Makefile.in: Regenerate.
63 2007-04-12 Bob Wilson <bob.wilson@acm.org>
65 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
67 2007-04-10 Richard Henderson <rth@redhat.com>
69 * ldlang.c (relax_sections): Initialize and increment
72 2007-04-04 Paul Brook <paul@codesourcery.com>
74 * configure.tgt: Loosen checks for arm uclinux eabi targets.
76 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
79 * ldexp.h (node_type): Add lineno.
80 * ldexp.c: Include "ldlex.h".
81 (exp_intop): Set the lineno field from lineno.
82 (exp_bigintop): Likewise.
83 (exp_relop): Likewise.
84 (exp_nameop): Likewise.
85 (exp_binop): Set the lineno field from lineno of lhs.
86 (exp_trinop): Likewise.
87 (exp_unop): Set the lineno field from lineno of child.
88 (exp_assop): Set the lineno field from lineno of src.
89 (exp_provide): Likewise.
90 (exp_assert): Set the lineno field from lineno of exp.
91 (exp_get_abs_int): Set lineno from lineno of nonconstant
92 expression when report problem.
94 2007-03-29 Richard Sandiford <richard@codesourcery.com>
95 Daniel Jacobowitz <dan@codesourcery.com>
97 * NEWS: Mention -l:foo.
98 * ld.texinfo: Document it.
99 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
100 entry as a name beginning with a coloh, convert it to a
101 lang_input_file_is_search_file_enum entry without the colon.
103 2007-03-28 Richard Sandiford <richard@codesourcery.com>
105 * ld.h (ld_config_type): Add rpath_separator.
106 * ldmain.c (main): Initialize it.
107 * lexsup.c (parse_args): Honor config.rpath_separator.
108 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
109 (gld${EMULATION_NAME}_add_sysroot): Likewise.
110 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
111 rather than ':' when building the path.
112 * emultempl/vxworks.em (vxworks_before_parse): New function.
113 Override config.rpath_separator.
114 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
115 set to gld${EMULATION_NAME}_after_open; #define that identifier
116 to vxworks_foo instead.
117 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
119 2007-03-28 Richard Sandiford <richard@codesourcery.com>
120 Phil Edwards <phil@codesourcery.com>
122 * ld.texinfo: Put the contents after the title page rather
123 than at the end of the document.
125 2007-03-26 Alan Modra <amodra@bigpond.net.au>
127 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
128 spu target emul files.
129 * configure.in: Check for mkstemp and waitpid.
130 * Makefile.in: Regenerate.
131 * configure: Regenerate.
132 * config.in: Regenerate.
133 * ldlang.c (input_file_chain): Make global.
134 (lang_add_input_file): Don't set lang_has_input_file here.
135 * ldlang.h (input_file_chain): Declare.
136 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
137 (LDEMUL_RECOGNIZED_FILE): Define.
138 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
139 (LDEMUL_RECOGNIZED_FILE): Define.
140 * emultempl/spuelf.em (struct tflist): New.
141 (tmp_file_list): New var.
142 (clean_tmp, embedded_spu_file): New functions.
144 2007-03-24 Alan Modra <amodra@bigpond.net.au>
146 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
147 rather than defining unconditionally.
148 (lang_leave_overlay_section): Likewise.
149 * ld.texinfo (Overlay Description): Update description and examples
152 2007-03-22 Joseph Myers <joseph@codesourcery.com>
154 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
156 2007-03-20 Paul Brook <paul@codesourcery.com>
158 * emultempl/armelf.em (pic_veneer): New variable.
159 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
160 (PARSE_AND_LIST_ARGS_CASES): Ditto.
161 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
162 (PARSE_AND_LIST_OPTIONS): Ditto.
163 * ld.texinfo: Document --pic-veneer.
165 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
167 * ld.texinfo: Document --no-enum-size-warning.
168 * emultempl/armelf.em (no_enum_size_warning): New.
169 (arm_elf_create_output_section_statements): Correct typo
170 in comment. Pass no_enum_size_warning to
171 bfd_elf32_arm_set_target_relocs.
172 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
173 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
174 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
177 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
179 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
180 (bfin-*-linux-uclibc*): New target.
182 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
184 * pe-dll.c (make_one): Use pc-relative relocation instead of an
185 absolute relocation for x86_64-pc-mingw32 target.
187 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
189 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
190 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
191 (TEXI2DVI): Likewise.
192 (REPORT_BUGS_TO): Removed.
193 (INCLUDES): Remove -DREPORT_BUGS_TO.
194 (ldver.texi): Likewise.
195 (ld.1): Don't depend on ldver.texi.
196 (MOSTLYCLEANFILES): Remove ldver.texi.
197 * Makefile.in: Regenerated.
199 * configure.in (--with-bugurl): Removed.
200 * configure: Regenerated.
202 * lexsup.c: Include bfdver.h.
204 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
206 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
208 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
210 2007-03-08 Alan Modra <amodra@bigpond.net.au>
212 * ldlang.c (lang_size_sections_1): Correct backwards dot move
213 test to not trigger on overlays. Only warn on backwards move
216 2007-03-07 Joseph Myers <joseph@codesourcery.com>
218 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
220 * Makefile.am (ldver.texi): Define BUGURL.
221 * ld.texinfo: Use BUGURL.
222 * Makefile.in, configure: Regenerate.
224 2007-03-07 Nick Clifton <nickc@redhat.com>
227 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
228 from any paths being inserted into the output binary's DT_RPATH.
230 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
232 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
234 2007-03-01 Joseph Myers <joseph@codesourcery.com>
236 * ldver.c (ldversion): Remove word "version" from output. Update
239 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
241 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
242 (eshelf_uclinux.c): New target.
243 * Makefile.in: Rebuilt.
244 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
245 * emulparams/shelf_uclinux.sh: New.
247 2007-02-28 Alan Modra <amodra@bigpond.net.au>
249 * configure.tgt: Fix type last change.
250 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
252 2007-02-27 Alan Modra <amodra@bigpond.net.au>
254 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
255 (eelf32_spu.c): Adjust dependencies.
256 * Makefile.in: Regenerate.
257 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
259 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
260 (ovl_mgr_stream): Update.
261 * emultempl/spu_inc.s: Delete.
262 * emultempl/spu_none.s: Delete.
264 2007-02-26 Alan Modra <amodra@bigpond.net.au>
266 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
267 to _binary_spu_ovl_o_start.
268 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
269 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
270 * emultempl/spu_inc.s: Rename symbols.
271 * emultempl/spu_none.s: New file.
272 * emultempl/spu_ovl.S: Update copyright.
273 * Makefile.am (spu_inc.o): Try building with ld -r first, then
274 gas incbin, then build without overlay manager.
275 * Makefile.in: Regenerate.
277 2007-02-22 Joseph Myers <joseph@codesourcery.com>
279 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
280 mips*el-*-linux-*, mips*-*-linux-*): Set
281 targ_extra_libpath=$targ_extra_emuls.
283 2007-02-21 Nick Clifton <nickc@redhat.com>
285 * ldlang.c (ldlang_override_segment_assignment): New function.
286 * ldlang.h (ldlang_override_segment_assignment): Prototype.
287 * ldmain.c (link_callbacks): Add
288 ldlang_override_segment_assignment.
290 2007-02-20 Alan Modra <amodra@bigpond.net.au>
292 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
294 2007-02-17 Mark Mitchell <mark@codesourcery.com>
295 Nathan Sidwell <nathan@codesourcery.com>
296 Vladimir Prus <vladimir@codesourcery.com
297 Joseph Myers <joseph@codesourcery.com>
299 * configure.in (--with-bugurl): New option.
300 * configure: Regenerate.
301 * Makefile.am (REPORT_BUGS_TO): Define.
302 (INCLUDES): Define REPORT_BUGS_TO.
303 Regenerate dependencies.
304 * Makefile.in: Regenerate.
305 * ld.h: Remove include of bin-bugs.h.
306 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
308 2007-02-17 Alan Modra <amodra@bigpond.net.au>
310 * ldcref.c (check_reloc_refs): Compare section for local syms.
312 2007-02-13 Alan Modra <amodra@bigpond.net.au>
314 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
315 (__ovly_load_event): Define.
316 (size): Rename to osize.
317 * emultempl/spu_ovl.o: Regenerate.
319 2007-02-13 Alan Modra <amodra@bigpond.net.au>
321 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
322 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
325 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
327 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
329 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
331 * configure: Regenerated.
333 * configure.tgt (targ_extra_libpath): Initialize.
334 (targ64_extra_emuls): New. Document. Initialize.
335 (targ64_extra_libpath): Likewise.
336 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
337 targ64_extra_libpath.
338 (powerpc*-*-linux*): Likewise.
339 (s390-*-linux*): Likewise.
341 2007-02-07 Paul Brook <paul@codesourcery.com>
343 * configure.tgt: Add arm*-*-uclinux-*eabi.
345 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
347 * ldlang.c (lang_size_sections_1): Add a missing `)'.
349 2007-02-06 Alan Modra <amodra@bigpond.net.au>
352 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
353 move unless section size is non-zero.
355 2007-02-05 Dave Brolley <brolley@redhat.com>
357 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
358 * configure.tgt: Likewise.
359 * scripttempl/mep.sc: New file.
360 * emulparams/elf32mep.sh: New file.
361 * Makefile.in: Regenerate.
363 2006-01-29 Julian Brown <julian@codesourcery.com>
365 * NEWS: Mention --vfp11-denorm-fix option.
366 * ld.texinfo: Document above.
367 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
368 .vfp11_veneer section.
369 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
370 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
371 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
372 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
373 (arm_elf_after_allocation): New function. Call
374 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
375 (arm_elf_create_output_section_statements): Pass vfp11 fix command
377 (OPTION_VFP11_DENORM_FIX): New option.
378 (PARSE_AND_LIST_LONGOPTS): Handle new option.
379 (PARSE_AND_LIST_OPTIONS): Likewise.
380 (PARSE_AND_LIST_ARGS_CASES): Likewise.
381 (LDEMUL_AFTER_ALLOCATION): Define.
383 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
385 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
386 (DEFSYMEND): Likewise.
390 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
392 * pe-dll.c: (make_one) Conditionally include jump stubs.
393 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
394 redundant jump stubs from import libraries and exclude them from
397 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
399 * ld.h (args_type): Add new symbolic and dynamic_list fields.
401 * ld.texinfo: Update -Bsymbolic-functions.
403 * ldmain.c (main): Initialize command_line.symbolic to
404 symbolic_unset and command_line.dynamic_list to
405 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
406 --dynamic-list* before setting link_info.symbolic,
407 link_info.dynamic and link_info.dynamic_data.
409 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
410 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
411 -Bsymbolic-functions.
412 (parse_args): Handle -Bsymbolic-functions. Don't set
413 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
414 here. Set command_line.symbolic for -Bsymbolic. Set
415 command_line.dynamic_list and command_line.symbolic for
416 --dynamic-list-data, --dynamic-list-cpp-new,
417 --dynamic-list-cpp-typeinfo and --dynamic-list.
419 2007-01-19 Jakub Jelinek <jakub@redhat.com>
420 H.J. Lu <hongjiu.lu@intel.com>
422 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
423 or -z common-page-size argument is a power of 2. Call
424 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
426 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
428 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
429 bfd_emul_set_commonpagesize.
431 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
433 * NEWS: Mention --default-script/-dT.
435 * ld.h (args_type): Add a default_script field.
437 * ld.texinfo: Document --default-script/-dT.
439 * ldmain.c (main): Handle command_line.default_script.
441 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
442 (ld_options): Add entries for --default-script and -dT.
443 (parse_args): Handle --default-script/-dT.
445 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
448 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
449 --dynamic-list-cpp-new.
451 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
452 and --dynamic-list-cpp-new.
454 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
455 (lang_process): Change link_info.dynamic to
456 link_info.dynamic_list.
457 (lang_append_dynamic_list): Likewise.
458 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
459 link_info.dynamic_data to FALSE.
461 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
463 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
464 OPTION_DYNAMIC_LIST_CPP_NEW.
465 (ld_options): Add entries for -Bsymbolic-functions,
466 --dynamic-list-data and --dynamic-list-cpp-new. Make
467 -Bsymbolic-functions an alias of --dynamic-list-data.
468 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
469 Set link_info.dynamic to TRUE for --dynamic-list and
470 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
471 --dynamic-list-cpp-new.
473 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
475 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
476 shrinkage for the first few iterations.
478 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
480 * configure.tgt: Renamed target x86_64-*-mingw64 to
483 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
485 * configure.host: Add i[3-7]86-*-mingw* case.
487 2007-01-08 Nick Clifton <nickc@redhat.com>
489 * pep-dll.h (pep_bfd_is_dll): Add prototype.
491 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
494 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
497 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
499 * ldexp.c (fold_name): Issue error on undefined sections.
501 2007-01-02 Alan Modra <amodra@bigpond.net.au>
503 * pe-dll.c: Include pe-dll.h.
504 * pep-dll.c (pe_bfd_is_dll): Define.
506 For older changes see ChangeLog-2006
512 version-control: never