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