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