42162f1f56a5a55331d7cbf9121b2561726fba05
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2007-05-01 Robert Millan <rmh@aybabtu.com>
2
3 * ldlang.c (lang_check): Error on architecture mismatch.
4
5 2007-04-30 Alan Modra <amodra@bigpond.net.au>
6
7 * ldmain.c (link_callbacks): Init info and minfo fields.
8 * ldmisc.c (minfo): Do nothing if no map file.
9 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
10 (spu_after_open): Adjust spu_elf_create_sections call.
11 (spu_before_allocation): Likewise for spu_elf_size_stubs.
12 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
13 (PARSE_AND_LIST_LONGOPTS): Add new entries.
14 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
15 * gen-doc.texi: Add @set for SPU and other missing targets.
16 * ld.texinfo: Update man page selection to match gen-doc.texi.
17 Document SPU features.
18
19 2007-04-28 Alan Modra <amodra@bigpond.net.au>
20
21 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
22 (cref_fill_array): Adjust for changed demangler.
23 * ldlang.c (lang_one_common): Likewise.
24
25 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
26
27 * emulparams/elf32_sparc.sh: Update comments.
28 * emulparams/elf32bmip.sh: Likewise.
29 * emulparams/elf32ppc.sh: Likewise.
30 * emulparams/vxworks.sh: Likewise.
31
32 2007-04-27 Alan Modra <amodra@bigpond.net.au>
33
34 Many files: Include sysdep.h first. Remove duplicate headers.
35 * Makefile.am: Run "make dep-am".
36 * Makefile.in: Regenerate.
37
38 2007-04-24 Alan Modra <amodra@bigpond.net.au>
39
40 * Makefile.in: Regenerate.
41
42 2007-04-19 Alan Modra <amodra@bigpond.net.au>
43
44 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
45 * ldlang.c (lang_one_common): Likewise.
46 * ldmisc.c (vfinfo): Likewise.
47 (demangle): Delete.
48 * ldmisc.h (demangle): Delete.
49 * Makefile.am: Run "make dep-am".
50 * Makefile.in: Regenerate.
51
52 2007-04-18 Alan Modra <amodra@bigpond.net.au>
53
54 * ldlang.h (enum section_type): Add overlay_section.
55 * ldlang.c (lang_add_section): Handle flags for overlay_section
56 as per normal_section.
57 (lang_size_sections_1): When setting lma, detect overlays by
58 os->sectype rather than by looking for overlapping vmas.
59 (lang_enter_overlay_section): Use overlay_section type.
60 (lang_leave_overlay): Set first overlay section to normal.
61
62 2007-04-14 Steve Ellcey <sje@cup.hp.com>
63
64 * Makefile.am: Add ACLOCAL_AMFLAGS.
65 * Makefile.in: Regenerate.
66
67 2007-04-12 Bob Wilson <bob.wilson@acm.org>
68
69 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
70
71 2007-04-10 Richard Henderson <rth@redhat.com>
72
73 * ldlang.c (relax_sections): Initialize and increment
74 link_info.relax_trip.
75
76 2007-04-04 Paul Brook <paul@codesourcery.com>
77
78 * configure.tgt: Loosen checks for arm uclinux eabi targets.
79
80 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
81
82 PR ld/4090
83 * ldexp.h (node_type): Add lineno.
84 * ldexp.c: Include "ldlex.h".
85 (exp_intop): Set the lineno field from lineno.
86 (exp_bigintop): Likewise.
87 (exp_relop): Likewise.
88 (exp_nameop): Likewise.
89 (exp_binop): Set the lineno field from lineno of lhs.
90 (exp_trinop): Likewise.
91 (exp_unop): Set the lineno field from lineno of child.
92 (exp_assop): Set the lineno field from lineno of src.
93 (exp_provide): Likewise.
94 (exp_assert): Set the lineno field from lineno of exp.
95 (exp_get_abs_int): Set lineno from lineno of nonconstant
96 expression when report problem.
97
98 2007-03-29 Richard Sandiford <richard@codesourcery.com>
99 Daniel Jacobowitz <dan@codesourcery.com>
100
101 * NEWS: Mention -l:foo.
102 * ld.texinfo: Document it.
103 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
104 entry as a name beginning with a coloh, convert it to a
105 lang_input_file_is_search_file_enum entry without the colon.
106
107 2007-03-28 Richard Sandiford <richard@codesourcery.com>
108
109 * ld.h (ld_config_type): Add rpath_separator.
110 * ldmain.c (main): Initialize it.
111 * lexsup.c (parse_args): Honor config.rpath_separator.
112 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
113 (gld${EMULATION_NAME}_add_sysroot): Likewise.
114 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
115 rather than ':' when building the path.
116 * emultempl/vxworks.em (vxworks_before_parse): New function.
117 Override config.rpath_separator.
118 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
119 set to gld${EMULATION_NAME}_after_open; #define that identifier
120 to vxworks_foo instead.
121 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
122
123 2007-03-28 Richard Sandiford <richard@codesourcery.com>
124 Phil Edwards <phil@codesourcery.com>
125
126 * ld.texinfo: Put the contents after the title page rather
127 than at the end of the document.
128
129 2007-03-26 Alan Modra <amodra@bigpond.net.au>
130
131 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
132 spu target emul files.
133 * configure.in: Check for mkstemp and waitpid.
134 * Makefile.in: Regenerate.
135 * configure: Regenerate.
136 * config.in: Regenerate.
137 * ldlang.c (input_file_chain): Make global.
138 (lang_add_input_file): Don't set lang_has_input_file here.
139 * ldlang.h (input_file_chain): Declare.
140 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
141 (LDEMUL_RECOGNIZED_FILE): Define.
142 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
143 (LDEMUL_RECOGNIZED_FILE): Define.
144 * emultempl/spuelf.em (struct tflist): New.
145 (tmp_file_list): New var.
146 (clean_tmp, embedded_spu_file): New functions.
147
148 2007-03-24 Alan Modra <amodra@bigpond.net.au>
149
150 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
151 rather than defining unconditionally.
152 (lang_leave_overlay_section): Likewise.
153 * ld.texinfo (Overlay Description): Update description and examples
154 for start/stop syms.
155
156 2007-03-22 Joseph Myers <joseph@codesourcery.com>
157
158 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
159
160 2007-03-20 Paul Brook <paul@codesourcery.com>
161
162 * emultempl/armelf.em (pic_veneer): New variable.
163 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
164 (PARSE_AND_LIST_ARGS_CASES): Ditto.
165 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
166 (PARSE_AND_LIST_OPTIONS): Ditto.
167 * ld.texinfo: Document --pic-veneer.
168
169 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
170
171 * ld.texinfo: Document --no-enum-size-warning.
172 * emultempl/armelf.em (no_enum_size_warning): New.
173 (arm_elf_create_output_section_statements): Correct typo
174 in comment. Pass no_enum_size_warning to
175 bfd_elf32_arm_set_target_relocs.
176 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
177 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
178 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
179 case.
180
181 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
182
183 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
184 (bfin-*-linux-uclibc*): New target.
185
186 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
187
188 * pe-dll.c (make_one): Use pc-relative relocation instead of an
189 absolute relocation for x86_64-pc-mingw32 target.
190
191 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
192
193 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
194 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
195 (TEXI2DVI): Likewise.
196 (REPORT_BUGS_TO): Removed.
197 (INCLUDES): Remove -DREPORT_BUGS_TO.
198 (ldver.texi): Likewise.
199 (ld.1): Don't depend on ldver.texi.
200 (MOSTLYCLEANFILES): Remove ldver.texi.
201 * Makefile.in: Regenerated.
202
203 * configure.in (--with-bugurl): Removed.
204 * configure: Regenerated.
205
206 * lexsup.c: Include bfdver.h.
207
208 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
209
210 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
211
212 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
213
214 2007-03-08 Alan Modra <amodra@bigpond.net.au>
215
216 * ldlang.c (lang_size_sections_1): Correct backwards dot move
217 test to not trigger on overlays. Only warn on backwards move
218 if non-default lma.
219
220 2007-03-07 Joseph Myers <joseph@codesourcery.com>
221
222 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
223 bug-reporting URL.
224 * Makefile.am (ldver.texi): Define BUGURL.
225 * ld.texinfo: Use BUGURL.
226 * Makefile.in, configure: Regenerate.
227
228 2007-03-07 Nick Clifton <nickc@redhat.com>
229
230 PR ld/4023
231 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
232 from any paths being inserted into the output binary's DT_RPATH.
233
234 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
235
236 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
237
238 2007-03-01 Joseph Myers <joseph@codesourcery.com>
239
240 * ldver.c (ldversion): Remove word "version" from output. Update
241 copyright date.
242
243 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
244
245 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
246 (eshelf_uclinux.c): New target.
247 * Makefile.in: Rebuilt.
248 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
249 * emulparams/shelf_uclinux.sh: New.
250
251 2007-02-28 Alan Modra <amodra@bigpond.net.au>
252
253 * configure.tgt: Fix type last change.
254 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
255
256 2007-02-27 Alan Modra <amodra@bigpond.net.au>
257
258 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
259 (eelf32_spu.c): Adjust dependencies.
260 * Makefile.in: Regenerate.
261 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
262 code using bin2c.
263 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
264 (ovl_mgr_stream): Update.
265 * emultempl/spu_inc.s: Delete.
266 * emultempl/spu_none.s: Delete.
267
268 2007-02-26 Alan Modra <amodra@bigpond.net.au>
269
270 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
271 to _binary_spu_ovl_o_start.
272 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
273 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
274 * emultempl/spu_inc.s: Rename symbols.
275 * emultempl/spu_none.s: New file.
276 * emultempl/spu_ovl.S: Update copyright.
277 * Makefile.am (spu_inc.o): Try building with ld -r first, then
278 gas incbin, then build without overlay manager.
279 * Makefile.in: Regenerate.
280
281 2007-02-22 Joseph Myers <joseph@codesourcery.com>
282
283 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
284 mips*el-*-linux-*, mips*-*-linux-*): Set
285 targ_extra_libpath=$targ_extra_emuls.
286
287 2007-02-21 Nick Clifton <nickc@redhat.com>
288
289 * ldlang.c (ldlang_override_segment_assignment): New function.
290 * ldlang.h (ldlang_override_segment_assignment): Prototype.
291 * ldmain.c (link_callbacks): Add
292 ldlang_override_segment_assignment.
293
294 2007-02-20 Alan Modra <amodra@bigpond.net.au>
295
296 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
297
298 2007-02-17 Mark Mitchell <mark@codesourcery.com>
299 Nathan Sidwell <nathan@codesourcery.com>
300 Vladimir Prus <vladimir@codesourcery.com
301 Joseph Myers <joseph@codesourcery.com>
302
303 * configure.in (--with-bugurl): New option.
304 * configure: Regenerate.
305 * Makefile.am (REPORT_BUGS_TO): Define.
306 (INCLUDES): Define REPORT_BUGS_TO.
307 Regenerate dependencies.
308 * Makefile.in: Regenerate.
309 * ld.h: Remove include of bin-bugs.h.
310 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
311
312 2007-02-17 Alan Modra <amodra@bigpond.net.au>
313
314 * ldcref.c (check_reloc_refs): Compare section for local syms.
315
316 2007-02-13 Alan Modra <amodra@bigpond.net.au>
317
318 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
319 (__ovly_load_event): Define.
320 (size): Rename to osize.
321 * emultempl/spu_ovl.o: Regenerate.
322
323 2007-02-13 Alan Modra <amodra@bigpond.net.au>
324
325 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
326 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
327 SEC_RELOC flag set.
328
329 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
330
331 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
332 want64 is true.
333 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
334 true
335 * configure: Regenerated.
336
337 * configure.tgt (targ_extra_libpath): Initialize.
338 (targ64_extra_emuls): New. Document. Initialize.
339 (targ64_extra_libpath): Likewise.
340 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
341 targ64_extra_libpath.
342 (powerpc*-*-linux*): Likewise.
343 (s390-*-linux*): Likewise.
344
345 2007-02-07 Paul Brook <paul@codesourcery.com>
346
347 * configure.tgt: Add arm*-*-uclinux-*eabi.
348
349 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
350
351 * ldlang.c (lang_size_sections_1): Add a missing `)'.
352
353 2007-02-06 Alan Modra <amodra@bigpond.net.au>
354
355 PR ld/3966
356 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
357 move unless section size is non-zero.
358
359 2007-02-05 Dave Brolley <brolley@redhat.com>
360
361 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
362 * configure.tgt: Likewise.
363 * scripttempl/mep.sc: New file.
364 * emulparams/elf32mep.sh: New file.
365 * Makefile.in: Regenerate.
366
367 2006-01-29 Julian Brown <julian@codesourcery.com>
368
369 * NEWS: Mention --vfp11-denorm-fix option.
370 * ld.texinfo: Document above.
371 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
372 .vfp11_veneer section.
373 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
374 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
375 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
376 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
377 (arm_elf_after_allocation): New function. Call
378 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
379 (arm_elf_create_output_section_statements): Pass vfp11 fix command
380 line option to BFD.
381 (OPTION_VFP11_DENORM_FIX): New option.
382 (PARSE_AND_LIST_LONGOPTS): Handle new option.
383 (PARSE_AND_LIST_OPTIONS): Likewise.
384 (PARSE_AND_LIST_ARGS_CASES): Likewise.
385 (LDEMUL_AFTER_ALLOCATION): Define.
386
387 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
388
389 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
390 (DEFSYMEND): Likewise.
391 (NAME): Likewise.
392 (LNAME): Likewise.
393
394 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
395
396 * pe-dll.c: (make_one) Conditionally include jump stubs.
397 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
398 redundant jump stubs from import libraries and exclude them from
399 link.
400
401 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
402
403 * ld.h (args_type): Add new symbolic and dynamic_list fields.
404
405 * ld.texinfo: Update -Bsymbolic-functions.
406
407 * ldmain.c (main): Initialize command_line.symbolic to
408 symbolic_unset and command_line.dynamic_list to
409 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
410 --dynamic-list* before setting link_info.symbolic,
411 link_info.dynamic and link_info.dynamic_data.
412
413 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
414 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
415 -Bsymbolic-functions.
416 (parse_args): Handle -Bsymbolic-functions. Don't set
417 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
418 here. Set command_line.symbolic for -Bsymbolic. Set
419 command_line.dynamic_list and command_line.symbolic for
420 --dynamic-list-data, --dynamic-list-cpp-new,
421 --dynamic-list-cpp-typeinfo and --dynamic-list.
422
423 2007-01-19 Jakub Jelinek <jakub@redhat.com>
424 H.J. Lu <hongjiu.lu@intel.com>
425
426 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
427 or -z common-page-size argument is a power of 2. Call
428 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
429
430 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
431
432 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
433 bfd_emul_set_commonpagesize.
434
435 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
436
437 * NEWS: Mention --default-script/-dT.
438
439 * ld.h (args_type): Add a default_script field.
440
441 * ld.texinfo: Document --default-script/-dT.
442
443 * ldmain.c (main): Handle command_line.default_script.
444
445 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
446 (ld_options): Add entries for --default-script and -dT.
447 (parse_args): Handle --default-script/-dT.
448
449 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
450
451 PR ld/3831
452 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
453 --dynamic-list-cpp-new.
454
455 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
456 and --dynamic-list-cpp-new.
457
458 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
459 (lang_process): Change link_info.dynamic to
460 link_info.dynamic_list.
461 (lang_append_dynamic_list): Likewise.
462 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
463 link_info.dynamic_data to FALSE.
464
465 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
466
467 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
468 OPTION_DYNAMIC_LIST_CPP_NEW.
469 (ld_options): Add entries for -Bsymbolic-functions,
470 --dynamic-list-data and --dynamic-list-cpp-new. Make
471 -Bsymbolic-functions an alias of --dynamic-list-data.
472 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
473 Set link_info.dynamic to TRUE for --dynamic-list and
474 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
475 --dynamic-list-cpp-new.
476
477 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
478
479 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
480 shrinkage for the first few iterations.
481
482 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
483
484 * configure.tgt: Renamed target x86_64-*-mingw64 to
485 x86_64-*-mingw*.
486
487 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
488
489 * configure.host: Add i[3-7]86-*-mingw* case.
490
491 2007-01-08 Nick Clifton <nickc@redhat.com>
492
493 * pep-dll.h (pep_bfd_is_dll): Add prototype.
494
495 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
496
497 PR ld/3843
498 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
499 tdir_elf_i386_fbsd.
500
501 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
502
503 * ldexp.c (fold_name): Issue error on undefined sections.
504
505 2007-01-02 Alan Modra <amodra@bigpond.net.au>
506
507 * pe-dll.c: Include pe-dll.h.
508 * pep-dll.c (pe_bfd_is_dll): Define.
509
510 For older changes see ChangeLog-2006
511 \f
512 Local Variables:
513 mode: change-log
514 left-margin: 8
515 fill-column: 74
516 version-control: never
517 End:
This page took 0.039697 seconds and 4 git commands to generate.