1 2007-03-20 Paul Brook <paul@codesourcery.com>
3 * emultempl/armelf.em (pic_veneer): New variable.
4 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
5 (PARSE_AND_LIST_ARGS_CASES): Ditto.
6 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
7 (PARSE_AND_LIST_OPTIONS): Ditto.
8 * ld.texinfo: Document --pic-veneer.
10 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
12 * ld.texinfo: Document --no-enum-size-warning.
13 * emultempl/armelf.em (no_enum_size_warning): New.
14 (arm_elf_create_output_section_statements): Correct typo
15 in comment. Pass no_enum_size_warning to
16 bfd_elf32_arm_set_target_relocs.
17 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
18 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
19 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
22 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
24 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
25 (bfin-*-linux-uclibc*): New target.
27 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
29 * pe-dll.c (make_one): Use pc-relative relocation instead of an
30 absolute relocation for x86_64-pc-mingw32 target.
32 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
34 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
35 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
37 (REPORT_BUGS_TO): Removed.
38 (INCLUDES): Remove -DREPORT_BUGS_TO.
39 (ldver.texi): Likewise.
40 (ld.1): Don't depend on ldver.texi.
41 (MOSTLYCLEANFILES): Remove ldver.texi.
42 * Makefile.in: Regenerated.
44 * configure.in (--with-bugurl): Removed.
45 * configure: Regenerated.
47 * lexsup.c: Include bfdver.h.
49 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
51 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
53 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
55 2007-03-08 Alan Modra <amodra@bigpond.net.au>
57 * ldlang.c (lang_size_sections_1): Correct backwards dot move
58 test to not trigger on overlays. Only warn on backwards move
61 2007-03-07 Joseph Myers <joseph@codesourcery.com>
63 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
65 * Makefile.am (ldver.texi): Define BUGURL.
66 * ld.texinfo: Use BUGURL.
67 * Makefile.in, configure: Regenerate.
69 2007-03-07 Nick Clifton <nickc@redhat.com>
72 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
73 from any paths being inserted into the output binary's DT_RPATH.
75 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
77 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
79 2007-03-01 Joseph Myers <joseph@codesourcery.com>
81 * ldver.c (ldversion): Remove word "version" from output. Update
84 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
86 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
87 (eshelf_uclinux.c): New target.
88 * Makefile.in: Rebuilt.
89 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
90 * emulparams/shelf_uclinux.sh: New.
92 2007-02-28 Alan Modra <amodra@bigpond.net.au>
94 * configure.tgt: Fix type last change.
95 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
97 2007-02-27 Alan Modra <amodra@bigpond.net.au>
99 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
100 (eelf32_spu.c): Adjust dependencies.
101 * Makefile.in: Regenerate.
102 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
104 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
105 (ovl_mgr_stream): Update.
106 * emultempl/spu_inc.s: Delete.
107 * emultempl/spu_none.s: Delete.
109 2007-02-26 Alan Modra <amodra@bigpond.net.au>
111 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
112 to _binary_spu_ovl_o_start.
113 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
114 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
115 * emultempl/spu_inc.s: Rename symbols.
116 * emultempl/spu_none.s: New file.
117 * emultempl/spu_ovl.S: Update copyright.
118 * Makefile.am (spu_inc.o): Try building with ld -r first, then
119 gas incbin, then build without overlay manager.
120 * Makefile.in: Regenerate.
122 2007-02-22 Joseph Myers <joseph@codesourcery.com>
124 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
125 mips*el-*-linux-*, mips*-*-linux-*): Set
126 targ_extra_libpath=$targ_extra_emuls.
128 2007-02-21 Nick Clifton <nickc@redhat.com>
130 * ldlang.c (ldlang_override_segment_assignment): New function.
131 * ldlang.h (ldlang_override_segment_assignment): Prototype.
132 * ldmain.c (link_callbacks): Add
133 ldlang_override_segment_assignment.
135 2007-02-20 Alan Modra <amodra@bigpond.net.au>
137 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
139 2007-02-17 Mark Mitchell <mark@codesourcery.com>
140 Nathan Sidwell <nathan@codesourcery.com>
141 Vladimir Prus <vladimir@codesourcery.com
142 Joseph Myers <joseph@codesourcery.com>
144 * configure.in (--with-bugurl): New option.
145 * configure: Regenerate.
146 * Makefile.am (REPORT_BUGS_TO): Define.
147 (INCLUDES): Define REPORT_BUGS_TO.
148 Regenerate dependencies.
149 * Makefile.in: Regenerate.
150 * ld.h: Remove include of bin-bugs.h.
151 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
153 2007-02-17 Alan Modra <amodra@bigpond.net.au>
155 * ldcref.c (check_reloc_refs): Compare section for local syms.
157 2007-02-13 Alan Modra <amodra@bigpond.net.au>
159 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
160 (__ovly_load_event): Define.
161 (size): Rename to osize.
162 * emultempl/spu_ovl.o: Regenerate.
164 2007-02-13 Alan Modra <amodra@bigpond.net.au>
166 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
167 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
170 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
172 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
174 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
176 * configure: Regenerated.
178 * configure.tgt (targ_extra_libpath): Initialize.
179 (targ64_extra_emuls): New. Document. Initialize.
180 (targ64_extra_libpath): Likewise.
181 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
182 targ64_extra_libpath.
183 (powerpc*-*-linux*): Likewise.
184 (s390-*-linux*): Likewise.
186 2007-02-07 Paul Brook <paul@codesourcery.com>
188 * configure.tgt: Add arm*-*-uclinux-*eabi.
190 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
192 * ldlang.c (lang_size_sections_1): Add a missing `)'.
194 2007-02-06 Alan Modra <amodra@bigpond.net.au>
197 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
198 move unless section size is non-zero.
200 2007-02-05 Dave Brolley <brolley@redhat.com>
202 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
203 * configure.tgt: Likewise.
204 * scripttempl/mep.sc: New file.
205 * emulparams/elf32mep.sh: New file.
206 * Makefile.in: Regenerate.
208 2006-01-29 Julian Brown <julian@codesourcery.com>
210 * NEWS: Mention --vfp11-denorm-fix option.
211 * ld.texinfo: Document above.
212 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
213 .vfp11_veneer section.
214 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
215 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
216 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
217 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
218 (arm_elf_after_allocation): New function. Call
219 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
220 (arm_elf_create_output_section_statements): Pass vfp11 fix command
222 (OPTION_VFP11_DENORM_FIX): New option.
223 (PARSE_AND_LIST_LONGOPTS): Handle new option.
224 (PARSE_AND_LIST_OPTIONS): Likewise.
225 (PARSE_AND_LIST_ARGS_CASES): Likewise.
226 (LDEMUL_AFTER_ALLOCATION): Define.
228 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
230 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
231 (DEFSYMEND): Likewise.
235 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
237 * pe-dll.c: (make_one) Conditionally include jump stubs.
238 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
239 redundant jump stubs from import libraries and exclude them from
242 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
244 * ld.h (args_type): Add new symbolic and dynamic_list fields.
246 * ld.texinfo: Update -Bsymbolic-functions.
248 * ldmain.c (main): Initialize command_line.symbolic to
249 symbolic_unset and command_line.dynamic_list to
250 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
251 --dynamic-list* before setting link_info.symbolic,
252 link_info.dynamic and link_info.dynamic_data.
254 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
255 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
256 -Bsymbolic-functions.
257 (parse_args): Handle -Bsymbolic-functions. Don't set
258 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
259 here. Set command_line.symbolic for -Bsymbolic. Set
260 command_line.dynamic_list and command_line.symbolic for
261 --dynamic-list-data, --dynamic-list-cpp-new,
262 --dynamic-list-cpp-typeinfo and --dynamic-list.
264 2007-01-19 Jakub Jelinek <jakub@redhat.com>
265 H.J. Lu <hongjiu.lu@intel.com>
267 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
268 or -z common-page-size argument is a power of 2. Call
269 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
271 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
273 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
274 bfd_emul_set_commonpagesize.
276 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
278 * NEWS: Mention --default-script/-dT.
280 * ld.h (args_type): Add a default_script field.
282 * ld.texinfo: Document --default-script/-dT.
284 * ldmain.c (main): Handle command_line.default_script.
286 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
287 (ld_options): Add entries for --default-script and -dT.
288 (parse_args): Handle --default-script/-dT.
290 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
293 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
294 --dynamic-list-cpp-new.
296 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
297 and --dynamic-list-cpp-new.
299 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
300 (lang_process): Change link_info.dynamic to
301 link_info.dynamic_list.
302 (lang_append_dynamic_list): Likewise.
303 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
304 link_info.dynamic_data to FALSE.
306 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
308 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
309 OPTION_DYNAMIC_LIST_CPP_NEW.
310 (ld_options): Add entries for -Bsymbolic-functions,
311 --dynamic-list-data and --dynamic-list-cpp-new. Make
312 -Bsymbolic-functions an alias of --dynamic-list-data.
313 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
314 Set link_info.dynamic to TRUE for --dynamic-list and
315 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
316 --dynamic-list-cpp-new.
318 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
320 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
321 shrinkage for the first few iterations.
323 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
325 * configure.tgt: Renamed target x86_64-*-mingw64 to
328 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
330 * configure.host: Add i[3-7]86-*-mingw* case.
332 2007-01-08 Nick Clifton <nickc@redhat.com>
334 * pep-dll.h (pep_bfd_is_dll): Add prototype.
336 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
339 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
342 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
344 * ldexp.c (fold_name): Issue error on undefined sections.
346 2007-01-02 Alan Modra <amodra@bigpond.net.au>
348 * pe-dll.c: Include pe-dll.h.
349 * pep-dll.c (pe_bfd_is_dll): Define.
351 For older changes see ChangeLog-2006
357 version-control: never