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