* Makefile.am: Add ACLOCAL_AMFLAGS.
[binutils.git] / ld / ChangeLog
blob5912cafc8715c32d6c0a1dfc0f8010e68ef00617
1 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
3         * Makefile.am: Add ACLOCAL_AMFLAGS.
4         * Makefile.in: Regenerate.
6 2007-04-12  Bob Wilson  <bob.wilson@acm.org>
7         
8         * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
9         
10 2007-04-10  Richard Henderson  <rth@redhat.com>
12         * ldlang.c (relax_sections): Initialize and increment
13         link_info.relax_trip.
15 2007-04-04  Paul Brook  <paul@codesourcery.com>
17         * configure.tgt: Loosen checks for arm uclinux eabi targets.
19 2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>
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.
37 2007-03-29  Richard Sandiford  <richard@codesourcery.com>
38             Daniel Jacobowitz  <dan@codesourcery.com>
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.
46 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
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.
62 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
63             Phil Edwards  <phil@codesourcery.com>
65         * ld.texinfo: Put the contents after the title page rather
66         than at the end of the document.
68 2007-03-26  Alan Modra  <amodra@bigpond.net.au>
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.
87 2007-03-24  Alan Modra  <amodra@bigpond.net.au>
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.
95 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
97         * ld.texinfo: Include VERSION_PACKAGE when reporting version.
99 2007-03-20  Paul Brook  <paul@codesourcery.com>
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.
108 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
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.
120 2007-03-19  Bernd Schmidt  <bernd.schmidt@analog.com>
122         * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
123         (bfin-*-linux-uclibc*): New target.
125 2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
127         * pe-dll.c (make_one): Use pc-relative relocation instead of an
128         absolute relocation for x86_64-pc-mingw32 target.
130 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
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.
142         * configure.in (--with-bugurl): Removed.
143         * configure: Regenerated.
145         * lexsup.c: Include bfdver.h.
147         * ld.texinfo: Include bfdver.texi instead of ldver.texi.
149 2007-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
151         * emultempl/mmixelf.em: Remove incorrect '#line' directive.
153 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
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.
159 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
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.
167 2007-03-07  Nick Clifton  <nickc@redhat.com>
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.
173 2007-03-02  Nathan Sidwell  <nathan@codesourcery.com>
175         * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
177 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
179         * ldver.c (ldversion): Remove word "version" from output.  Update
180         copyright date.
182 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
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.
190 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
192         * configure.tgt: Fix type last change.
193         * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
195 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
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.
207 2007-02-26  Alan Modra  <amodra@bigpond.net.au>
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.
220 2007-02-22  Joseph Myers  <joseph@codesourcery.com>
222         * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
223         mips*el-*-linux-*, mips*-*-linux-*): Set
224         targ_extra_libpath=$targ_extra_emuls.
226 2007-02-21  Nick Clifton  <nickc@redhat.com>
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.
233 2007-02-20  Alan Modra  <amodra@bigpond.net.au>
235         * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
237 2007-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>
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.
251 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
253         * ldcref.c (check_reloc_refs): Compare section for local syms.
255 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
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.
262 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
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.
268 2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
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.
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.
284 2007-02-07  Paul Brook  <paul@codesourcery.com>
286         * configure.tgt: Add arm*-*-uclinux-*eabi.
288 2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
290         * ldlang.c (lang_size_sections_1): Add a missing `)'.
292 2007-02-06  Alan Modra  <amodra@bigpond.net.au>
294         PR ld/3966
295         * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
296         move unless section size is non-zero.
298 2007-02-05  Dave Brolley  <brolley@redhat.com>
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.
306 2006-01-29  Julian Brown  <julian@codesourcery.com>
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.
326 2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
328         * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
329         (DEFSYMEND): Likewise.
330         (NAME): Likewise.
331         (LNAME): Likewise.
333 2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
335         * pe-dll.c: (make_one) Conditionally include jump stubs.
336         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
337         redundant jump stubs from import libraries and exclude them from
338         link.
340 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
342         * ld.h (args_type): Add new symbolic and dynamic_list fields.
344         * ld.texinfo: Update -Bsymbolic-functions.
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,
350         link_info.dynamic and link_info.dynamic_data.
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.
362 2007-01-19  Jakub Jelinek  <jakub@redhat.com>
363             H.J. Lu  <hongjiu.lu@intel.com>
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.
369 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
371         * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
372         bfd_emul_set_commonpagesize.
374 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
376         * NEWS: Mention --default-script/-dT.
378         * ld.h (args_type): Add a default_script field.
380         * ld.texinfo: Document --default-script/-dT.
382         * ldmain.c (main): Handle command_line.default_script.
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.
388 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
390         PR ld/3831
391         * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
392         --dynamic-list-cpp-new.
394         * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
395         and --dynamic-list-cpp-new.
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.
404         * ldlang.h (lang_append_dynamic_list_cpp_new): New.
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.
416 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
418         * emultempl/elf-generic.em (gdl_map_segments): Only allow header
419         shrinkage for the first few iterations.
421 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
423         * configure.tgt: Renamed target x86_64-*-mingw64 to
424         x86_64-*-mingw*.
426 2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
428         * configure.host: Add i[3-7]86-*-mingw* case.
430 2007-01-08  Nick Clifton  <nickc@redhat.com>
432         * pep-dll.h (pep_bfd_is_dll): Add prototype.
434 2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
436         PR ld/3843
437         * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
438         tdir_elf_i386_fbsd.
440 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
442         * ldexp.c (fold_name): Issue error on undefined sections.
444 2007-01-02  Alan Modra  <amodra@bigpond.net.au>
446         * pe-dll.c: Include pe-dll.h.
447         * pep-dll.c (pe_bfd_is_dll): Define.
449 For older changes see ChangeLog-2006
451 Local Variables:
452 mode: change-log
453 left-margin: 8
454 fill-column: 74
455 version-control: never
456 End: