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