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