OSDN Git Service

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