1 2007-03-26 Alan Modra <amodra@bigpond.net.au>
3 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
5 * configure.in: Check for mkstemp and waitpid.
6 * Makefile.in: Regenerate.
7 * configure: Regenerate.
8 * config.in: Regenerate.
9 * ldlang.c (input_file_chain): Make global.
10 (lang_add_input_file): Don't set lang_has_input_file here.
11 * ldlang.h (input_file_chain): Declare.
12 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
13 (LDEMUL_RECOGNIZED_FILE): Define.
14 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
15 (LDEMUL_RECOGNIZED_FILE): Define.
16 * emultempl/spuelf.em (struct tflist): New.
17 (tmp_file_list): New var.
18 (clean_tmp, embedded_spu_file): New functions.
20 2007-03-24 Alan Modra <amodra@bigpond.net.au>
22 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
23 rather than defining unconditionally.
24 (lang_leave_overlay_section): Likewise.
25 * ld.texinfo (Overlay Description): Update description and examples
28 2007-03-22 Joseph Myers <joseph@codesourcery.com>
30 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
32 2007-03-20 Paul Brook <paul@codesourcery.com>
34 * emultempl/armelf.em (pic_veneer): New variable.
35 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
36 (PARSE_AND_LIST_ARGS_CASES): Ditto.
37 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
38 (PARSE_AND_LIST_OPTIONS): Ditto.
39 * ld.texinfo: Document --pic-veneer.
41 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
43 * ld.texinfo: Document --no-enum-size-warning.
44 * emultempl/armelf.em (no_enum_size_warning): New.
45 (arm_elf_create_output_section_statements): Correct typo
46 in comment. Pass no_enum_size_warning to
47 bfd_elf32_arm_set_target_relocs.
48 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
49 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
50 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
53 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
55 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
56 (bfin-*-linux-uclibc*): New target.
58 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
60 * pe-dll.c (make_one): Use pc-relative relocation instead of an
61 absolute relocation for x86_64-pc-mingw32 target.
63 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
65 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
66 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
68 (REPORT_BUGS_TO): Removed.
69 (INCLUDES): Remove -DREPORT_BUGS_TO.
70 (ldver.texi): Likewise.
71 (ld.1): Don't depend on ldver.texi.
72 (MOSTLYCLEANFILES): Remove ldver.texi.
73 * Makefile.in: Regenerated.
75 * configure.in (--with-bugurl): Removed.
76 * configure: Regenerated.
78 * lexsup.c: Include bfdver.h.
80 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
82 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
84 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
86 2007-03-08 Alan Modra <amodra@bigpond.net.au>
88 * ldlang.c (lang_size_sections_1): Correct backwards dot move
89 test to not trigger on overlays. Only warn on backwards move
92 2007-03-07 Joseph Myers <joseph@codesourcery.com>
94 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
96 * Makefile.am (ldver.texi): Define BUGURL.
97 * ld.texinfo: Use BUGURL.
98 * Makefile.in, configure: Regenerate.
100 2007-03-07 Nick Clifton <nickc@redhat.com>
103 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
104 from any paths being inserted into the output binary's DT_RPATH.
106 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
108 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
110 2007-03-01 Joseph Myers <joseph@codesourcery.com>
112 * ldver.c (ldversion): Remove word "version" from output. Update
115 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
117 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
118 (eshelf_uclinux.c): New target.
119 * Makefile.in: Rebuilt.
120 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
121 * emulparams/shelf_uclinux.sh: New.
123 2007-02-28 Alan Modra <amodra@bigpond.net.au>
125 * configure.tgt: Fix type last change.
126 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
128 2007-02-27 Alan Modra <amodra@bigpond.net.au>
130 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
131 (eelf32_spu.c): Adjust dependencies.
132 * Makefile.in: Regenerate.
133 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
135 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
136 (ovl_mgr_stream): Update.
137 * emultempl/spu_inc.s: Delete.
138 * emultempl/spu_none.s: Delete.
140 2007-02-26 Alan Modra <amodra@bigpond.net.au>
142 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
143 to _binary_spu_ovl_o_start.
144 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
145 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
146 * emultempl/spu_inc.s: Rename symbols.
147 * emultempl/spu_none.s: New file.
148 * emultempl/spu_ovl.S: Update copyright.
149 * Makefile.am (spu_inc.o): Try building with ld -r first, then
150 gas incbin, then build without overlay manager.
151 * Makefile.in: Regenerate.
153 2007-02-22 Joseph Myers <joseph@codesourcery.com>
155 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
156 mips*el-*-linux-*, mips*-*-linux-*): Set
157 targ_extra_libpath=$targ_extra_emuls.
159 2007-02-21 Nick Clifton <nickc@redhat.com>
161 * ldlang.c (ldlang_override_segment_assignment): New function.
162 * ldlang.h (ldlang_override_segment_assignment): Prototype.
163 * ldmain.c (link_callbacks): Add
164 ldlang_override_segment_assignment.
166 2007-02-20 Alan Modra <amodra@bigpond.net.au>
168 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
170 2007-02-17 Mark Mitchell <mark@codesourcery.com>
171 Nathan Sidwell <nathan@codesourcery.com>
172 Vladimir Prus <vladimir@codesourcery.com
173 Joseph Myers <joseph@codesourcery.com>
175 * configure.in (--with-bugurl): New option.
176 * configure: Regenerate.
177 * Makefile.am (REPORT_BUGS_TO): Define.
178 (INCLUDES): Define REPORT_BUGS_TO.
179 Regenerate dependencies.
180 * Makefile.in: Regenerate.
181 * ld.h: Remove include of bin-bugs.h.
182 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
184 2007-02-17 Alan Modra <amodra@bigpond.net.au>
186 * ldcref.c (check_reloc_refs): Compare section for local syms.
188 2007-02-13 Alan Modra <amodra@bigpond.net.au>
190 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
191 (__ovly_load_event): Define.
192 (size): Rename to osize.
193 * emultempl/spu_ovl.o: Regenerate.
195 2007-02-13 Alan Modra <amodra@bigpond.net.au>
197 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
198 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
201 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
203 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
205 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
207 * configure: Regenerated.
209 * configure.tgt (targ_extra_libpath): Initialize.
210 (targ64_extra_emuls): New. Document. Initialize.
211 (targ64_extra_libpath): Likewise.
212 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
213 targ64_extra_libpath.
214 (powerpc*-*-linux*): Likewise.
215 (s390-*-linux*): Likewise.
217 2007-02-07 Paul Brook <paul@codesourcery.com>
219 * configure.tgt: Add arm*-*-uclinux-*eabi.
221 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
223 * ldlang.c (lang_size_sections_1): Add a missing `)'.
225 2007-02-06 Alan Modra <amodra@bigpond.net.au>
228 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
229 move unless section size is non-zero.
231 2007-02-05 Dave Brolley <brolley@redhat.com>
233 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
234 * configure.tgt: Likewise.
235 * scripttempl/mep.sc: New file.
236 * emulparams/elf32mep.sh: New file.
237 * Makefile.in: Regenerate.
239 2006-01-29 Julian Brown <julian@codesourcery.com>
241 * NEWS: Mention --vfp11-denorm-fix option.
242 * ld.texinfo: Document above.
243 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
244 .vfp11_veneer section.
245 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
246 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
247 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
248 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
249 (arm_elf_after_allocation): New function. Call
250 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
251 (arm_elf_create_output_section_statements): Pass vfp11 fix command
253 (OPTION_VFP11_DENORM_FIX): New option.
254 (PARSE_AND_LIST_LONGOPTS): Handle new option.
255 (PARSE_AND_LIST_OPTIONS): Likewise.
256 (PARSE_AND_LIST_ARGS_CASES): Likewise.
257 (LDEMUL_AFTER_ALLOCATION): Define.
259 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
261 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
262 (DEFSYMEND): Likewise.
266 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
268 * pe-dll.c: (make_one) Conditionally include jump stubs.
269 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
270 redundant jump stubs from import libraries and exclude them from
273 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
275 * ld.h (args_type): Add new symbolic and dynamic_list fields.
277 * ld.texinfo: Update -Bsymbolic-functions.
279 * ldmain.c (main): Initialize command_line.symbolic to
280 symbolic_unset and command_line.dynamic_list to
281 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
282 --dynamic-list* before setting link_info.symbolic,
283 link_info.dynamic and link_info.dynamic_data.
285 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
286 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
287 -Bsymbolic-functions.
288 (parse_args): Handle -Bsymbolic-functions. Don't set
289 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
290 here. Set command_line.symbolic for -Bsymbolic. Set
291 command_line.dynamic_list and command_line.symbolic for
292 --dynamic-list-data, --dynamic-list-cpp-new,
293 --dynamic-list-cpp-typeinfo and --dynamic-list.
295 2007-01-19 Jakub Jelinek <jakub@redhat.com>
296 H.J. Lu <hongjiu.lu@intel.com>
298 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
299 or -z common-page-size argument is a power of 2. Call
300 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
302 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
304 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
305 bfd_emul_set_commonpagesize.
307 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
309 * NEWS: Mention --default-script/-dT.
311 * ld.h (args_type): Add a default_script field.
313 * ld.texinfo: Document --default-script/-dT.
315 * ldmain.c (main): Handle command_line.default_script.
317 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
318 (ld_options): Add entries for --default-script and -dT.
319 (parse_args): Handle --default-script/-dT.
321 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
324 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
325 --dynamic-list-cpp-new.
327 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
328 and --dynamic-list-cpp-new.
330 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
331 (lang_process): Change link_info.dynamic to
332 link_info.dynamic_list.
333 (lang_append_dynamic_list): Likewise.
334 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
335 link_info.dynamic_data to FALSE.
337 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
339 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
340 OPTION_DYNAMIC_LIST_CPP_NEW.
341 (ld_options): Add entries for -Bsymbolic-functions,
342 --dynamic-list-data and --dynamic-list-cpp-new. Make
343 -Bsymbolic-functions an alias of --dynamic-list-data.
344 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
345 Set link_info.dynamic to TRUE for --dynamic-list and
346 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
347 --dynamic-list-cpp-new.
349 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
351 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
352 shrinkage for the first few iterations.
354 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
356 * configure.tgt: Renamed target x86_64-*-mingw64 to
359 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
361 * configure.host: Add i[3-7]86-*-mingw* case.
363 2007-01-08 Nick Clifton <nickc@redhat.com>
365 * pep-dll.h (pep_bfd_is_dll): Add prototype.
367 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
370 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
373 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
375 * ldexp.c (fold_name): Issue error on undefined sections.
377 2007-01-02 Alan Modra <amodra@bigpond.net.au>
379 * pe-dll.c: Include pe-dll.h.
380 * pep-dll.c (pe_bfd_is_dll): Define.
382 For older changes see ChangeLog-2006
388 version-control: never