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