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