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