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