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