bfd/
[binutils.git] / ld / ChangeLog
blob116a4a2830ee6e75b62c9833be854702d7fa34a0
1 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
3         * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
4         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
5         (TEXI2DVI): Likewise.
6         (REPORT_BUGS_TO): Removed.
7         (INCLUDES): Remove -DREPORT_BUGS_TO.
8         (ldver.texi): Likewise.
9         (ld.1): Don't depend on ldver.texi.
10         (MOSTLYCLEANFILES): Remove ldver.texi.
11         * Makefile.in: Regenerated.
13         * configure.in (--with-bugurl): Removed.
14         * configure: Regenerated.
16         * lexsup.c: Include bfdver.h.
18         * ld.texinfo: Include bfdver.texi instead of ldver.texi.
20 2007-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
22         * emultempl/mmixelf.em: Remove incorrect '#line' directive.
24 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
26         * ldlang.c (lang_size_sections_1): Correct backwards dot move
27         test to not trigger on overlays.  Only warn on backwards move
28         if non-default lma.
30 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
32         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
33         bug-reporting URL.
34         * Makefile.am (ldver.texi): Define BUGURL.
35         * ld.texinfo: Use BUGURL.
36         * Makefile.in, configure: Regenerate.
38 2007-03-07  Nick Clifton  <nickc@redhat.com>
40         PR ld/4023
41         * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
42         from any paths being inserted into the output binary's DT_RPATH.
44 2007-03-02  Nathan Sidwell  <nathan@codesourcery.com>
46         * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
48 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
50         * ldver.c (ldversion): Remove word "version" from output.  Update
51         copyright date.
53 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
55         * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
56         (eshelf_uclinux.c): New target.
57         * Makefile.in: Rebuilt.
58         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
59         * emulparams/shelf_uclinux.sh: New.
61 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
63         * configure.tgt: Fix type last change.
64         * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
66 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
68         * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
69         (eelf32_spu.c): Adjust dependencies.
70         * Makefile.in: Regenerate.
71         * emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
72         code using bin2c.
73         (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
74         (ovl_mgr_stream): Update.
75         * emultempl/spu_inc.s: Delete.
76         * emultempl/spu_none.s: Delete.
78 2007-02-26  Alan Modra  <amodra@bigpond.net.au>
80         * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
81         to _binary_spu_ovl_o_start.
82         (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
83         (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
84         * emultempl/spu_inc.s: Rename symbols.
85         * emultempl/spu_none.s: New file.
86         * emultempl/spu_ovl.S: Update copyright.
87         * Makefile.am (spu_inc.o): Try building with ld -r first, then
88         gas incbin, then build without overlay manager.
89         * Makefile.in: Regenerate.
91 2007-02-22  Joseph Myers  <joseph@codesourcery.com>
93         * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
94         mips*el-*-linux-*, mips*-*-linux-*): Set
95         targ_extra_libpath=$targ_extra_emuls.
97 2007-02-21  Nick Clifton  <nickc@redhat.com>
99         * ldlang.c (ldlang_override_segment_assignment): New function.
100         * ldlang.h (ldlang_override_segment_assignment): Prototype.
101         * ldmain.c (link_callbacks): Add
102         ldlang_override_segment_assignment.
104 2007-02-20  Alan Modra  <amodra@bigpond.net.au>
106         * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
108 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
109             Nathan Sidwell  <nathan@codesourcery.com>
110             Vladimir Prus  <vladimir@codesourcery.com
111             Joseph Myers  <joseph@codesourcery.com>
113         * configure.in (--with-bugurl): New option.
114         * configure: Regenerate.
115         * Makefile.am (REPORT_BUGS_TO): Define.
116         (INCLUDES): Define REPORT_BUGS_TO.
117         Regenerate dependencies.
118         * Makefile.in: Regenerate.
119         * ld.h: Remove include of bin-bugs.h.
120         * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
122 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
124         * ldcref.c (check_reloc_refs): Compare section for local syms.
126 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
128         * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
129         (__ovly_load_event): Define.
130         (size): Rename to osize.
131         * emultempl/spu_ovl.o: Regenerate.
133 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
135         * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
136         * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
137         SEC_RELOC flag set.
139 2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
141         * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
142         want64 is true.
143         (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
144         true
145         * configure: Regenerated.
147         * configure.tgt (targ_extra_libpath): Initialize.
148         (targ64_extra_emuls): New. Document. Initialize.
149         (targ64_extra_libpath): Likewise.
150         (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
151         targ64_extra_libpath.
152         (powerpc*-*-linux*): Likewise.
153         (s390-*-linux*): Likewise.
155 2007-02-07  Paul Brook  <paul@codesourcery.com>
157         * configure.tgt: Add arm*-*-uclinux-*eabi.
159 2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
161         * ldlang.c (lang_size_sections_1): Add a missing `)'.
163 2007-02-06  Alan Modra  <amodra@bigpond.net.au>
165         PR ld/3966
166         * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
167         move unless section size is non-zero.
169 2007-02-05  Dave Brolley  <brolley@redhat.com>
171         * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
172         * configure.tgt: Likewise.
173         * scripttempl/mep.sc: New file.
174         * emulparams/elf32mep.sh: New file.
175         * Makefile.in: Regenerate.
177 2006-01-29  Julian Brown  <julian@codesourcery.com>
179         * NEWS: Mention --vfp11-denorm-fix option.
180         * ld.texinfo: Document above.
181         * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
182         .vfp11_veneer section.
183         * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
184         * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
185         (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
186         bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
187         (arm_elf_after_allocation): New function. Call
188         bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
189         (arm_elf_create_output_section_statements): Pass vfp11 fix command
190         line option to BFD.
191         (OPTION_VFP11_DENORM_FIX): New option.
192         (PARSE_AND_LIST_LONGOPTS): Handle new option.
193         (PARSE_AND_LIST_OPTIONS): Likewise.
194         (PARSE_AND_LIST_ARGS_CASES): Likewise.
195         (LDEMUL_AFTER_ALLOCATION): Define.
197 2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
199         * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
200         (DEFSYMEND): Likewise.
201         (NAME): Likewise.
202         (LNAME): Likewise.
204 2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
206         * pe-dll.c: (make_one) Conditionally include jump stubs.
207         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
208         redundant jump stubs from import libraries and exclude them from
209         link.
211 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
213         * ld.h (args_type): Add new symbolic and dynamic_list fields.
215         * ld.texinfo: Update -Bsymbolic-functions.
217         * ldmain.c (main): Initialize command_line.symbolic to
218         symbolic_unset and command_line.dynamic_list to
219         dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
220         --dynamic-list* before setting link_info.symbolic,
221         link_info.dynamic and link_info.dynamic_data.
223         * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
224         (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
225         -Bsymbolic-functions.
226         (parse_args): Handle -Bsymbolic-functions.  Don't set
227         link_info.dynamic, link_info.dynamic_data and link_info.symbolic
228         here.  Set command_line.symbolic for -Bsymbolic.  Set
229         command_line.dynamic_list and command_line.symbolic for
230         --dynamic-list-data, --dynamic-list-cpp-new,
231         --dynamic-list-cpp-typeinfo and --dynamic-list.
233 2007-01-19  Jakub Jelinek  <jakub@redhat.com>
234             H.J. Lu  <hongjiu.lu@intel.com>
236         * emultempl/elf32.em (handle_option): Make sure -z max-page-size
237         or -z common-page-size argument is a power of 2.  Call
238         bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
240 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
242         * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
243         bfd_emul_set_commonpagesize.
245 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
247         * NEWS: Mention --default-script/-dT.
249         * ld.h (args_type): Add a default_script field.
251         * ld.texinfo: Document --default-script/-dT.
253         * ldmain.c (main): Handle command_line.default_script.
255         * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
256         (ld_options): Add entries for --default-script and -dT.
257         (parse_args): Handle --default-script/-dT.
259 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
261         PR ld/3831
262         * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
263         --dynamic-list-cpp-new.
265         * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
266         and --dynamic-list-cpp-new.
268         * ldlang.c (lang_append_dynamic_list_cpp_new): New.
269         (lang_process): Change link_info.dynamic to
270         link_info.dynamic_list.
271         (lang_append_dynamic_list): Likewise.
272         * ldmain.c (main): Likewise.  Initialize link_info.dynamic and
273         link_info.dynamic_data to FALSE.
275         * ldlang.h (lang_append_dynamic_list_cpp_new): New.
277         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
278         OPTION_DYNAMIC_LIST_CPP_NEW.
279         (ld_options): Add entries for -Bsymbolic-functions,
280         --dynamic-list-data and --dynamic-list-cpp-new.  Make
281         -Bsymbolic-functions an alias of --dynamic-list-data.
282         (parse_args): Change link_info.dynamic to link_info.dynamic_list.
283         Set link_info.dynamic to TRUE for --dynamic-list and
284         --dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
285         --dynamic-list-cpp-new.
287 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
289         * emultempl/elf-generic.em (gdl_map_segments): Only allow header
290         shrinkage for the first few iterations.
292 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
294         * configure.tgt: Renamed target x86_64-*-mingw64 to
295         x86_64-*-mingw*.
297 2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
299         * configure.host: Add i[3-7]86-*-mingw* case.
301 2007-01-08  Nick Clifton  <nickc@redhat.com>
303         * pep-dll.h (pep_bfd_is_dll): Add prototype.
305 2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
307         PR ld/3843
308         * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
309         tdir_elf_i386_fbsd.
311 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
313         * ldexp.c (fold_name): Issue error on undefined sections.
315 2007-01-02  Alan Modra  <amodra@bigpond.net.au>
317         * pe-dll.c: Include pe-dll.h.
318         * pep-dll.c (pe_bfd_is_dll): Define.
320 For older changes see ChangeLog-2006
322 Local Variables:
323 mode: change-log
324 left-margin: 8
325 fill-column: 74
326 version-control: never
327 End: