1 2007-04-19 Alan Modra <amodra@bigpond.net.au>
3 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
4 * ldlang.c (lang_one_common): Likewise.
5 * ldmisc.c (vfinfo): Likewise.
7 * ldmisc.h (demangle): Delete.
8 * Makefile.am: Run "make dep-am".
9 * Makefile.in: Regenerate.
11 2007-04-18 Alan Modra <amodra@bigpond.net.au>
13 * ldlang.h (enum section_type): Add overlay_section.
14 * ldlang.c (lang_add_section): Handle flags for overlay_section
15 as per normal_section.
16 (lang_size_sections_1): When setting lma, detect overlays by
17 os->sectype rather than by looking for overlapping vmas.
18 (lang_enter_overlay_section): Use overlay_section type.
19 (lang_leave_overlay): Set first overlay section to normal.
21 2007-04-14 Steve Ellcey <sje@cup.hp.com>
23 * Makefile.am: Add ACLOCAL_AMFLAGS.
24 * Makefile.in: Regenerate.
26 2007-04-12 Bob Wilson <bob.wilson@acm.org>
28 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
30 2007-04-10 Richard Henderson <rth@redhat.com>
32 * ldlang.c (relax_sections): Initialize and increment
35 2007-04-04 Paul Brook <paul@codesourcery.com>
37 * configure.tgt: Loosen checks for arm uclinux eabi targets.
39 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
42 * ldexp.h (node_type): Add lineno.
43 * ldexp.c: Include "ldlex.h".
44 (exp_intop): Set the lineno field from lineno.
45 (exp_bigintop): Likewise.
46 (exp_relop): Likewise.
47 (exp_nameop): Likewise.
48 (exp_binop): Set the lineno field from lineno of lhs.
49 (exp_trinop): Likewise.
50 (exp_unop): Set the lineno field from lineno of child.
51 (exp_assop): Set the lineno field from lineno of src.
52 (exp_provide): Likewise.
53 (exp_assert): Set the lineno field from lineno of exp.
54 (exp_get_abs_int): Set lineno from lineno of nonconstant
55 expression when report problem.
57 2007-03-29 Richard Sandiford <richard@codesourcery.com>
58 Daniel Jacobowitz <dan@codesourcery.com>
60 * NEWS: Mention -l:foo.
61 * ld.texinfo: Document it.
62 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
63 entry as a name beginning with a coloh, convert it to a
64 lang_input_file_is_search_file_enum entry without the colon.
66 2007-03-28 Richard Sandiford <richard@codesourcery.com>
68 * ld.h (ld_config_type): Add rpath_separator.
69 * ldmain.c (main): Initialize it.
70 * lexsup.c (parse_args): Honor config.rpath_separator.
71 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
72 (gld${EMULATION_NAME}_add_sysroot): Likewise.
73 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
74 rather than ':' when building the path.
75 * emultempl/vxworks.em (vxworks_before_parse): New function.
76 Override config.rpath_separator.
77 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
78 set to gld${EMULATION_NAME}_after_open; #define that identifier
79 to vxworks_foo instead.
80 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
82 2007-03-28 Richard Sandiford <richard@codesourcery.com>
83 Phil Edwards <phil@codesourcery.com>
85 * ld.texinfo: Put the contents after the title page rather
86 than at the end of the document.
88 2007-03-26 Alan Modra <amodra@bigpond.net.au>
90 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
91 spu target emul files.
92 * configure.in: Check for mkstemp and waitpid.
93 * Makefile.in: Regenerate.
94 * configure: Regenerate.
95 * config.in: Regenerate.
96 * ldlang.c (input_file_chain): Make global.
97 (lang_add_input_file): Don't set lang_has_input_file here.
98 * ldlang.h (input_file_chain): Declare.
99 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
100 (LDEMUL_RECOGNIZED_FILE): Define.
101 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
102 (LDEMUL_RECOGNIZED_FILE): Define.
103 * emultempl/spuelf.em (struct tflist): New.
104 (tmp_file_list): New var.
105 (clean_tmp, embedded_spu_file): New functions.
107 2007-03-24 Alan Modra <amodra@bigpond.net.au>
109 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
110 rather than defining unconditionally.
111 (lang_leave_overlay_section): Likewise.
112 * ld.texinfo (Overlay Description): Update description and examples
115 2007-03-22 Joseph Myers <joseph@codesourcery.com>
117 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
119 2007-03-20 Paul Brook <paul@codesourcery.com>
121 * emultempl/armelf.em (pic_veneer): New variable.
122 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
123 (PARSE_AND_LIST_ARGS_CASES): Ditto.
124 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
125 (PARSE_AND_LIST_OPTIONS): Ditto.
126 * ld.texinfo: Document --pic-veneer.
128 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
130 * ld.texinfo: Document --no-enum-size-warning.
131 * emultempl/armelf.em (no_enum_size_warning): New.
132 (arm_elf_create_output_section_statements): Correct typo
133 in comment. Pass no_enum_size_warning to
134 bfd_elf32_arm_set_target_relocs.
135 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
136 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
137 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
140 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
142 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
143 (bfin-*-linux-uclibc*): New target.
145 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
147 * pe-dll.c (make_one): Use pc-relative relocation instead of an
148 absolute relocation for x86_64-pc-mingw32 target.
150 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
152 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
153 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
154 (TEXI2DVI): Likewise.
155 (REPORT_BUGS_TO): Removed.
156 (INCLUDES): Remove -DREPORT_BUGS_TO.
157 (ldver.texi): Likewise.
158 (ld.1): Don't depend on ldver.texi.
159 (MOSTLYCLEANFILES): Remove ldver.texi.
160 * Makefile.in: Regenerated.
162 * configure.in (--with-bugurl): Removed.
163 * configure: Regenerated.
165 * lexsup.c: Include bfdver.h.
167 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
169 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
171 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
173 2007-03-08 Alan Modra <amodra@bigpond.net.au>
175 * ldlang.c (lang_size_sections_1): Correct backwards dot move
176 test to not trigger on overlays. Only warn on backwards move
179 2007-03-07 Joseph Myers <joseph@codesourcery.com>
181 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
183 * Makefile.am (ldver.texi): Define BUGURL.
184 * ld.texinfo: Use BUGURL.
185 * Makefile.in, configure: Regenerate.
187 2007-03-07 Nick Clifton <nickc@redhat.com>
190 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
191 from any paths being inserted into the output binary's DT_RPATH.
193 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
195 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
197 2007-03-01 Joseph Myers <joseph@codesourcery.com>
199 * ldver.c (ldversion): Remove word "version" from output. Update
202 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
204 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
205 (eshelf_uclinux.c): New target.
206 * Makefile.in: Rebuilt.
207 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
208 * emulparams/shelf_uclinux.sh: New.
210 2007-02-28 Alan Modra <amodra@bigpond.net.au>
212 * configure.tgt: Fix type last change.
213 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
215 2007-02-27 Alan Modra <amodra@bigpond.net.au>
217 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
218 (eelf32_spu.c): Adjust dependencies.
219 * Makefile.in: Regenerate.
220 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
222 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
223 (ovl_mgr_stream): Update.
224 * emultempl/spu_inc.s: Delete.
225 * emultempl/spu_none.s: Delete.
227 2007-02-26 Alan Modra <amodra@bigpond.net.au>
229 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
230 to _binary_spu_ovl_o_start.
231 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
232 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
233 * emultempl/spu_inc.s: Rename symbols.
234 * emultempl/spu_none.s: New file.
235 * emultempl/spu_ovl.S: Update copyright.
236 * Makefile.am (spu_inc.o): Try building with ld -r first, then
237 gas incbin, then build without overlay manager.
238 * Makefile.in: Regenerate.
240 2007-02-22 Joseph Myers <joseph@codesourcery.com>
242 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
243 mips*el-*-linux-*, mips*-*-linux-*): Set
244 targ_extra_libpath=$targ_extra_emuls.
246 2007-02-21 Nick Clifton <nickc@redhat.com>
248 * ldlang.c (ldlang_override_segment_assignment): New function.
249 * ldlang.h (ldlang_override_segment_assignment): Prototype.
250 * ldmain.c (link_callbacks): Add
251 ldlang_override_segment_assignment.
253 2007-02-20 Alan Modra <amodra@bigpond.net.au>
255 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
257 2007-02-17 Mark Mitchell <mark@codesourcery.com>
258 Nathan Sidwell <nathan@codesourcery.com>
259 Vladimir Prus <vladimir@codesourcery.com
260 Joseph Myers <joseph@codesourcery.com>
262 * configure.in (--with-bugurl): New option.
263 * configure: Regenerate.
264 * Makefile.am (REPORT_BUGS_TO): Define.
265 (INCLUDES): Define REPORT_BUGS_TO.
266 Regenerate dependencies.
267 * Makefile.in: Regenerate.
268 * ld.h: Remove include of bin-bugs.h.
269 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
271 2007-02-17 Alan Modra <amodra@bigpond.net.au>
273 * ldcref.c (check_reloc_refs): Compare section for local syms.
275 2007-02-13 Alan Modra <amodra@bigpond.net.au>
277 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
278 (__ovly_load_event): Define.
279 (size): Rename to osize.
280 * emultempl/spu_ovl.o: Regenerate.
282 2007-02-13 Alan Modra <amodra@bigpond.net.au>
284 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
285 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
288 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
290 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
292 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
294 * configure: Regenerated.
296 * configure.tgt (targ_extra_libpath): Initialize.
297 (targ64_extra_emuls): New. Document. Initialize.
298 (targ64_extra_libpath): Likewise.
299 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
300 targ64_extra_libpath.
301 (powerpc*-*-linux*): Likewise.
302 (s390-*-linux*): Likewise.
304 2007-02-07 Paul Brook <paul@codesourcery.com>
306 * configure.tgt: Add arm*-*-uclinux-*eabi.
308 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
310 * ldlang.c (lang_size_sections_1): Add a missing `)'.
312 2007-02-06 Alan Modra <amodra@bigpond.net.au>
315 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
316 move unless section size is non-zero.
318 2007-02-05 Dave Brolley <brolley@redhat.com>
320 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
321 * configure.tgt: Likewise.
322 * scripttempl/mep.sc: New file.
323 * emulparams/elf32mep.sh: New file.
324 * Makefile.in: Regenerate.
326 2006-01-29 Julian Brown <julian@codesourcery.com>
328 * NEWS: Mention --vfp11-denorm-fix option.
329 * ld.texinfo: Document above.
330 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
331 .vfp11_veneer section.
332 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
333 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
334 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
335 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
336 (arm_elf_after_allocation): New function. Call
337 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
338 (arm_elf_create_output_section_statements): Pass vfp11 fix command
340 (OPTION_VFP11_DENORM_FIX): New option.
341 (PARSE_AND_LIST_LONGOPTS): Handle new option.
342 (PARSE_AND_LIST_OPTIONS): Likewise.
343 (PARSE_AND_LIST_ARGS_CASES): Likewise.
344 (LDEMUL_AFTER_ALLOCATION): Define.
346 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
348 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
349 (DEFSYMEND): Likewise.
353 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
355 * pe-dll.c: (make_one) Conditionally include jump stubs.
356 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
357 redundant jump stubs from import libraries and exclude them from
360 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
362 * ld.h (args_type): Add new symbolic and dynamic_list fields.
364 * ld.texinfo: Update -Bsymbolic-functions.
366 * ldmain.c (main): Initialize command_line.symbolic to
367 symbolic_unset and command_line.dynamic_list to
368 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
369 --dynamic-list* before setting link_info.symbolic,
370 link_info.dynamic and link_info.dynamic_data.
372 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
373 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
374 -Bsymbolic-functions.
375 (parse_args): Handle -Bsymbolic-functions. Don't set
376 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
377 here. Set command_line.symbolic for -Bsymbolic. Set
378 command_line.dynamic_list and command_line.symbolic for
379 --dynamic-list-data, --dynamic-list-cpp-new,
380 --dynamic-list-cpp-typeinfo and --dynamic-list.
382 2007-01-19 Jakub Jelinek <jakub@redhat.com>
383 H.J. Lu <hongjiu.lu@intel.com>
385 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
386 or -z common-page-size argument is a power of 2. Call
387 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
389 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
391 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
392 bfd_emul_set_commonpagesize.
394 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
396 * NEWS: Mention --default-script/-dT.
398 * ld.h (args_type): Add a default_script field.
400 * ld.texinfo: Document --default-script/-dT.
402 * ldmain.c (main): Handle command_line.default_script.
404 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
405 (ld_options): Add entries for --default-script and -dT.
406 (parse_args): Handle --default-script/-dT.
408 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
411 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
412 --dynamic-list-cpp-new.
414 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
415 and --dynamic-list-cpp-new.
417 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
418 (lang_process): Change link_info.dynamic to
419 link_info.dynamic_list.
420 (lang_append_dynamic_list): Likewise.
421 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
422 link_info.dynamic_data to FALSE.
424 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
426 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
427 OPTION_DYNAMIC_LIST_CPP_NEW.
428 (ld_options): Add entries for -Bsymbolic-functions,
429 --dynamic-list-data and --dynamic-list-cpp-new. Make
430 -Bsymbolic-functions an alias of --dynamic-list-data.
431 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
432 Set link_info.dynamic to TRUE for --dynamic-list and
433 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
434 --dynamic-list-cpp-new.
436 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
438 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
439 shrinkage for the first few iterations.
441 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
443 * configure.tgt: Renamed target x86_64-*-mingw64 to
446 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
448 * configure.host: Add i[3-7]86-*-mingw* case.
450 2007-01-08 Nick Clifton <nickc@redhat.com>
452 * pep-dll.h (pep_bfd_is_dll): Add prototype.
454 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
457 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
460 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
462 * ldexp.c (fold_name): Issue error on undefined sections.
464 2007-01-02 Alan Modra <amodra@bigpond.net.au>
466 * pe-dll.c: Include pe-dll.h.
467 * pep-dll.c (pe_bfd_is_dll): Define.
469 For older changes see ChangeLog-2006
475 version-control: never