2007-03-06 H.J. Lu <hongjiu.lu@intel.com>
[binutils.git] / ld / ChangeLog
blobba7af36f70069cc9babae6fecc2e29135a05d6ec
1 2007-03-02  Nathan Sidwell  <nathan@codesourcery.com>
3         * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
5 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
7         * ldver.c (ldversion): Remove word "version" from output.  Update
8         copyright date.
10 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
12         * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
13         (eshelf_uclinux.c): New target.
14         * Makefile.in: Rebuilt.
15         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
16         * emulparams/shelf_uclinux.sh: New.
18 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
20         * configure.tgt: Fix type last change.
21         * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
23 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
25         * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
26         (eelf32_spu.c): Adjust dependencies.
27         * Makefile.in: Regenerate.
28         * emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
29         code using bin2c.
30         (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
31         (ovl_mgr_stream): Update.
32         * emultempl/spu_inc.s: Delete.
33         * emultempl/spu_none.s: Delete.
35 2007-02-26  Alan Modra  <amodra@bigpond.net.au>
37         * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
38         to _binary_spu_ovl_o_start.
39         (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
40         (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
41         * emultempl/spu_inc.s: Rename symbols.
42         * emultempl/spu_none.s: New file.
43         * emultempl/spu_ovl.S: Update copyright.
44         * Makefile.am (spu_inc.o): Try building with ld -r first, then
45         gas incbin, then build without overlay manager.
46         * Makefile.in: Regenerate.
48 2007-02-22  Joseph Myers  <joseph@codesourcery.com>
50         * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
51         mips*el-*-linux-*, mips*-*-linux-*): Set
52         targ_extra_libpath=$targ_extra_emuls.
54 2007-02-21  Nick Clifton  <nickc@redhat.com>
56         * ldlang.c (ldlang_override_segment_assignment): New function.
57         * ldlang.h (ldlang_override_segment_assignment): Prototype.
58         * ldmain.c (link_callbacks): Add
59         ldlang_override_segment_assignment.
61 2007-02-20  Alan Modra  <amodra@bigpond.net.au>
63         * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
65 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
66             Nathan Sidwell  <nathan@codesourcery.com>
67             Vladimir Prus  <vladimir@codesourcery.com
68             Joseph Myers  <joseph@codesourcery.com>
70         * configure.in (--with-bugurl): New option.
71         * configure: Regenerate.
72         * Makefile.am (REPORT_BUGS_TO): Define.
73         (INCLUDES): Define REPORT_BUGS_TO.
74         Regenerate dependencies.
75         * Makefile.in: Regenerate.
76         * ld.h: Remove include of bin-bugs.h.
77         * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
79 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
81         * ldcref.c (check_reloc_refs): Compare section for local syms.
83 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
85         * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
86         (__ovly_load_event): Define.
87         (size): Rename to osize.
88         * emultempl/spu_ovl.o: Regenerate.
90 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
92         * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
93         * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
94         SEC_RELOC flag set.
96 2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
98         * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
99         want64 is true.
100         (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
101         true
102         * configure: Regenerated.
104         * configure.tgt (targ_extra_libpath): Initialize.
105         (targ64_extra_emuls): New. Document. Initialize.
106         (targ64_extra_libpath): Likewise.
107         (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
108         targ64_extra_libpath.
109         (powerpc*-*-linux*): Likewise.
110         (s390-*-linux*): Likewise.
112 2007-02-07  Paul Brook  <paul@codesourcery.com>
114         * configure.tgt: Add arm*-*-uclinux-*eabi.
116 2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
118         * ldlang.c (lang_size_sections_1): Add a missing `)'.
120 2007-02-06  Alan Modra  <amodra@bigpond.net.au>
122         PR ld/3966
123         * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
124         move unless section size is non-zero.
126 2007-02-05  Dave Brolley  <brolley@redhat.com>
128         * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
129         * configure.tgt: Likewise.
130         * scripttempl/mep.sc: New file.
131         * emulparams/elf32mep.sh: New file.
132         * Makefile.in: Regenerate.
134 2006-01-29  Julian Brown  <julian@codesourcery.com>
136         * NEWS: Mention --vfp11-denorm-fix option.
137         * ld.texinfo: Document above.
138         * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
139         .vfp11_veneer section.
140         * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
141         * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
142         (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
143         bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
144         (arm_elf_after_allocation): New function. Call
145         bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
146         (arm_elf_create_output_section_statements): Pass vfp11 fix command
147         line option to BFD.
148         (OPTION_VFP11_DENORM_FIX): New option.
149         (PARSE_AND_LIST_LONGOPTS): Handle new option.
150         (PARSE_AND_LIST_OPTIONS): Likewise.
151         (PARSE_AND_LIST_ARGS_CASES): Likewise.
152         (LDEMUL_AFTER_ALLOCATION): Define.
154 2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
156         * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
157         (DEFSYMEND): Likewise.
158         (NAME): Likewise.
159         (LNAME): Likewise.
161 2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
163         * pe-dll.c: (make_one) Conditionally include jump stubs.
164         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
165         redundant jump stubs from import libraries and exclude them from 
166         link.
168 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
170         * ld.h (args_type): Add new symbolic and dynamic_list fields.
172         * ld.texinfo: Update -Bsymbolic-functions.
174         * ldmain.c (main): Initialize command_line.symbolic to
175         symbolic_unset and command_line.dynamic_list to
176         dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
177         --dynamic-list* before setting link_info.symbolic,
178         link_info.dynamic and link_info.dynamic_data. 
180         * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
181         (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
182         -Bsymbolic-functions.
183         (parse_args): Handle -Bsymbolic-functions.  Don't set
184         link_info.dynamic, link_info.dynamic_data and link_info.symbolic
185         here.  Set command_line.symbolic for -Bsymbolic.  Set
186         command_line.dynamic_list and command_line.symbolic for
187         --dynamic-list-data, --dynamic-list-cpp-new,
188         --dynamic-list-cpp-typeinfo and --dynamic-list.
190 2007-01-19  Jakub Jelinek  <jakub@redhat.com>
191             H.J. Lu  <hongjiu.lu@intel.com>
193         * emultempl/elf32.em (handle_option): Make sure -z max-page-size
194         or -z common-page-size argument is a power of 2.  Call
195         bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
197 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
199         * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
200         bfd_emul_set_commonpagesize.
202 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
204         * NEWS: Mention --default-script/-dT.
206         * ld.h (args_type): Add a default_script field.
208         * ld.texinfo: Document --default-script/-dT.
210         * ldmain.c (main): Handle command_line.default_script.
212         * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
213         (ld_options): Add entries for --default-script and -dT.
214         (parse_args): Handle --default-script/-dT.
216 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
218         PR ld/3831
219         * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
220         --dynamic-list-cpp-new.
222         * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
223         and --dynamic-list-cpp-new.
225         * ldlang.c (lang_append_dynamic_list_cpp_new): New.
226         (lang_process): Change link_info.dynamic to
227         link_info.dynamic_list.
228         (lang_append_dynamic_list): Likewise.
229         * ldmain.c (main): Likewise.  Initialize link_info.dynamic and
230         link_info.dynamic_data to FALSE.
232         * ldlang.h (lang_append_dynamic_list_cpp_new): New.
234         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
235         OPTION_DYNAMIC_LIST_CPP_NEW.
236         (ld_options): Add entries for -Bsymbolic-functions,
237         --dynamic-list-data and --dynamic-list-cpp-new.  Make
238         -Bsymbolic-functions an alias of --dynamic-list-data.
239         (parse_args): Change link_info.dynamic to link_info.dynamic_list.
240         Set link_info.dynamic to TRUE for --dynamic-list and
241         --dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
242         --dynamic-list-cpp-new.
244 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
246         * emultempl/elf-generic.em (gdl_map_segments): Only allow header
247         shrinkage for the first few iterations.
249 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
251         * configure.tgt: Renamed target x86_64-*-mingw64 to
252         x86_64-*-mingw*.
254 2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
256         * configure.host: Add i[3-7]86-*-mingw* case.
258 2007-01-08  Nick Clifton  <nickc@redhat.com>
260         * pep-dll.h (pep_bfd_is_dll): Add prototype.
262 2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
264         PR ld/3843
265         * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
266         tdir_elf_i386_fbsd.
268 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
270         * ldexp.c (fold_name): Issue error on undefined sections.
272 2007-01-02  Alan Modra  <amodra@bigpond.net.au>
274         * pe-dll.c: Include pe-dll.h.
275         * pep-dll.c (pe_bfd_is_dll): Define.
277 For older changes see ChangeLog-2006
279 Local Variables:
280 mode: change-log
281 left-margin: 8
282 fill-column: 74
283 version-control: never
284 End: