1 2007-03-28 Richard Sandiford <richard@codesourcery.com>
3 * ld.h (ld_config_type): Add rpath_separator.
4 * ldmain.c (main): Initialize it.
5 * lexsup.c (parse_args): Honor config.rpath_separator.
6 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
7 (gld${EMULATION_NAME}_add_sysroot): Likewise.
8 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
9 rather than ':' when building the path.
10 * emultempl/vxworks.em (vxworks_before_parse): New function.
11 Override config.rpath_separator.
12 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
13 set to gld${EMULATION_NAME}_after_open; #define that identifier
14 to vxworks_foo instead.
15 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
17 2007-03-28 Richard Sandiford <richard@codesourcery.com>
18 Phil Edwards <phil@codesourcery.com>
20 * ld.texinfo: Put the contents after the title page rather
21 than at the end of the document.
23 2007-03-26 Alan Modra <amodra@bigpond.net.au>
25 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
26 spu target emul files.
27 * configure.in: Check for mkstemp and waitpid.
28 * Makefile.in: Regenerate.
29 * configure: Regenerate.
30 * config.in: Regenerate.
31 * ldlang.c (input_file_chain): Make global.
32 (lang_add_input_file): Don't set lang_has_input_file here.
33 * ldlang.h (input_file_chain): Declare.
34 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
35 (LDEMUL_RECOGNIZED_FILE): Define.
36 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
37 (LDEMUL_RECOGNIZED_FILE): Define.
38 * emultempl/spuelf.em (struct tflist): New.
39 (tmp_file_list): New var.
40 (clean_tmp, embedded_spu_file): New functions.
42 2007-03-24 Alan Modra <amodra@bigpond.net.au>
44 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
45 rather than defining unconditionally.
46 (lang_leave_overlay_section): Likewise.
47 * ld.texinfo (Overlay Description): Update description and examples
50 2007-03-22 Joseph Myers <joseph@codesourcery.com>
52 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
54 2007-03-20 Paul Brook <paul@codesourcery.com>
56 * emultempl/armelf.em (pic_veneer): New variable.
57 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
58 (PARSE_AND_LIST_ARGS_CASES): Ditto.
59 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
60 (PARSE_AND_LIST_OPTIONS): Ditto.
61 * ld.texinfo: Document --pic-veneer.
63 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
65 * ld.texinfo: Document --no-enum-size-warning.
66 * emultempl/armelf.em (no_enum_size_warning): New.
67 (arm_elf_create_output_section_statements): Correct typo
68 in comment. Pass no_enum_size_warning to
69 bfd_elf32_arm_set_target_relocs.
70 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
71 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
72 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
75 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
77 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
78 (bfin-*-linux-uclibc*): New target.
80 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
82 * pe-dll.c (make_one): Use pc-relative relocation instead of an
83 absolute relocation for x86_64-pc-mingw32 target.
85 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
87 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
88 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
90 (REPORT_BUGS_TO): Removed.
91 (INCLUDES): Remove -DREPORT_BUGS_TO.
92 (ldver.texi): Likewise.
93 (ld.1): Don't depend on ldver.texi.
94 (MOSTLYCLEANFILES): Remove ldver.texi.
95 * Makefile.in: Regenerated.
97 * configure.in (--with-bugurl): Removed.
98 * configure: Regenerated.
100 * lexsup.c: Include bfdver.h.
102 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
104 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
106 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
108 2007-03-08 Alan Modra <amodra@bigpond.net.au>
110 * ldlang.c (lang_size_sections_1): Correct backwards dot move
111 test to not trigger on overlays. Only warn on backwards move
114 2007-03-07 Joseph Myers <joseph@codesourcery.com>
116 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
118 * Makefile.am (ldver.texi): Define BUGURL.
119 * ld.texinfo: Use BUGURL.
120 * Makefile.in, configure: Regenerate.
122 2007-03-07 Nick Clifton <nickc@redhat.com>
125 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
126 from any paths being inserted into the output binary's DT_RPATH.
128 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
130 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
132 2007-03-01 Joseph Myers <joseph@codesourcery.com>
134 * ldver.c (ldversion): Remove word "version" from output. Update
137 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
139 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
140 (eshelf_uclinux.c): New target.
141 * Makefile.in: Rebuilt.
142 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
143 * emulparams/shelf_uclinux.sh: New.
145 2007-02-28 Alan Modra <amodra@bigpond.net.au>
147 * configure.tgt: Fix type last change.
148 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
150 2007-02-27 Alan Modra <amodra@bigpond.net.au>
152 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
153 (eelf32_spu.c): Adjust dependencies.
154 * Makefile.in: Regenerate.
155 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
157 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
158 (ovl_mgr_stream): Update.
159 * emultempl/spu_inc.s: Delete.
160 * emultempl/spu_none.s: Delete.
162 2007-02-26 Alan Modra <amodra@bigpond.net.au>
164 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
165 to _binary_spu_ovl_o_start.
166 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
167 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
168 * emultempl/spu_inc.s: Rename symbols.
169 * emultempl/spu_none.s: New file.
170 * emultempl/spu_ovl.S: Update copyright.
171 * Makefile.am (spu_inc.o): Try building with ld -r first, then
172 gas incbin, then build without overlay manager.
173 * Makefile.in: Regenerate.
175 2007-02-22 Joseph Myers <joseph@codesourcery.com>
177 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
178 mips*el-*-linux-*, mips*-*-linux-*): Set
179 targ_extra_libpath=$targ_extra_emuls.
181 2007-02-21 Nick Clifton <nickc@redhat.com>
183 * ldlang.c (ldlang_override_segment_assignment): New function.
184 * ldlang.h (ldlang_override_segment_assignment): Prototype.
185 * ldmain.c (link_callbacks): Add
186 ldlang_override_segment_assignment.
188 2007-02-20 Alan Modra <amodra@bigpond.net.au>
190 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
192 2007-02-17 Mark Mitchell <mark@codesourcery.com>
193 Nathan Sidwell <nathan@codesourcery.com>
194 Vladimir Prus <vladimir@codesourcery.com
195 Joseph Myers <joseph@codesourcery.com>
197 * configure.in (--with-bugurl): New option.
198 * configure: Regenerate.
199 * Makefile.am (REPORT_BUGS_TO): Define.
200 (INCLUDES): Define REPORT_BUGS_TO.
201 Regenerate dependencies.
202 * Makefile.in: Regenerate.
203 * ld.h: Remove include of bin-bugs.h.
204 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
206 2007-02-17 Alan Modra <amodra@bigpond.net.au>
208 * ldcref.c (check_reloc_refs): Compare section for local syms.
210 2007-02-13 Alan Modra <amodra@bigpond.net.au>
212 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
213 (__ovly_load_event): Define.
214 (size): Rename to osize.
215 * emultempl/spu_ovl.o: Regenerate.
217 2007-02-13 Alan Modra <amodra@bigpond.net.au>
219 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
220 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
223 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
225 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
227 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
229 * configure: Regenerated.
231 * configure.tgt (targ_extra_libpath): Initialize.
232 (targ64_extra_emuls): New. Document. Initialize.
233 (targ64_extra_libpath): Likewise.
234 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
235 targ64_extra_libpath.
236 (powerpc*-*-linux*): Likewise.
237 (s390-*-linux*): Likewise.
239 2007-02-07 Paul Brook <paul@codesourcery.com>
241 * configure.tgt: Add arm*-*-uclinux-*eabi.
243 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
245 * ldlang.c (lang_size_sections_1): Add a missing `)'.
247 2007-02-06 Alan Modra <amodra@bigpond.net.au>
250 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
251 move unless section size is non-zero.
253 2007-02-05 Dave Brolley <brolley@redhat.com>
255 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
256 * configure.tgt: Likewise.
257 * scripttempl/mep.sc: New file.
258 * emulparams/elf32mep.sh: New file.
259 * Makefile.in: Regenerate.
261 2006-01-29 Julian Brown <julian@codesourcery.com>
263 * NEWS: Mention --vfp11-denorm-fix option.
264 * ld.texinfo: Document above.
265 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
266 .vfp11_veneer section.
267 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
268 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
269 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
270 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
271 (arm_elf_after_allocation): New function. Call
272 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
273 (arm_elf_create_output_section_statements): Pass vfp11 fix command
275 (OPTION_VFP11_DENORM_FIX): New option.
276 (PARSE_AND_LIST_LONGOPTS): Handle new option.
277 (PARSE_AND_LIST_OPTIONS): Likewise.
278 (PARSE_AND_LIST_ARGS_CASES): Likewise.
279 (LDEMUL_AFTER_ALLOCATION): Define.
281 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
283 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
284 (DEFSYMEND): Likewise.
288 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
290 * pe-dll.c: (make_one) Conditionally include jump stubs.
291 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
292 redundant jump stubs from import libraries and exclude them from
295 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
297 * ld.h (args_type): Add new symbolic and dynamic_list fields.
299 * ld.texinfo: Update -Bsymbolic-functions.
301 * ldmain.c (main): Initialize command_line.symbolic to
302 symbolic_unset and command_line.dynamic_list to
303 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
304 --dynamic-list* before setting link_info.symbolic,
305 link_info.dynamic and link_info.dynamic_data.
307 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
308 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
309 -Bsymbolic-functions.
310 (parse_args): Handle -Bsymbolic-functions. Don't set
311 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
312 here. Set command_line.symbolic for -Bsymbolic. Set
313 command_line.dynamic_list and command_line.symbolic for
314 --dynamic-list-data, --dynamic-list-cpp-new,
315 --dynamic-list-cpp-typeinfo and --dynamic-list.
317 2007-01-19 Jakub Jelinek <jakub@redhat.com>
318 H.J. Lu <hongjiu.lu@intel.com>
320 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
321 or -z common-page-size argument is a power of 2. Call
322 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
324 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
326 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
327 bfd_emul_set_commonpagesize.
329 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
331 * NEWS: Mention --default-script/-dT.
333 * ld.h (args_type): Add a default_script field.
335 * ld.texinfo: Document --default-script/-dT.
337 * ldmain.c (main): Handle command_line.default_script.
339 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
340 (ld_options): Add entries for --default-script and -dT.
341 (parse_args): Handle --default-script/-dT.
343 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
346 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
347 --dynamic-list-cpp-new.
349 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
350 and --dynamic-list-cpp-new.
352 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
353 (lang_process): Change link_info.dynamic to
354 link_info.dynamic_list.
355 (lang_append_dynamic_list): Likewise.
356 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
357 link_info.dynamic_data to FALSE.
359 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
361 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
362 OPTION_DYNAMIC_LIST_CPP_NEW.
363 (ld_options): Add entries for -Bsymbolic-functions,
364 --dynamic-list-data and --dynamic-list-cpp-new. Make
365 -Bsymbolic-functions an alias of --dynamic-list-data.
366 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
367 Set link_info.dynamic to TRUE for --dynamic-list and
368 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
369 --dynamic-list-cpp-new.
371 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
373 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
374 shrinkage for the first few iterations.
376 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
378 * configure.tgt: Renamed target x86_64-*-mingw64 to
381 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
383 * configure.host: Add i[3-7]86-*-mingw* case.
385 2007-01-08 Nick Clifton <nickc@redhat.com>
387 * pep-dll.h (pep_bfd_is_dll): Add prototype.
389 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
392 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
395 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
397 * ldexp.c (fold_name): Issue error on undefined sections.
399 2007-01-02 Alan Modra <amodra@bigpond.net.au>
401 * pe-dll.c: Include pe-dll.h.
402 * pep-dll.c (pe_bfd_is_dll): Define.
404 For older changes see ChangeLog-2006
410 version-control: never