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