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