.
[binutils-gdb.git] / ld / ChangeLog
1 2007-07-18 Roland McGrath <roland@redhat.com>
2
3 * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
4 Use ASEC->contents for CONTENTS when missing, and allocate
5 ASEC->size if needed.
6
7 2007-07-13 Roland McGrath <roland@redhat.com>
8
9 * emultempl/elf32.em (struct build_id_info): New type.
10 (gld${EMULATION_NAME}_id_note_section_size): New function.
11 (gld${EMULATION_NAME}_write_build_id_section): New function.
12 (gld${EMULATION_NAME}_after_open): Use them.
13 (DEFAULT_BUILD_ID_STYLE): Change to "sha1".
14 * ld.texinfo (Options): Mention --build-id=sha1.
15
16 * sha1.h: New file (from gnulib).
17 * sha1.c: New file (from gnulib).
18 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
19 (sha1.o): New target.
20 * Makefile.in: Regenerated.
21
22 2007-07-13 Alan Modra <amodra@bigpond.net.au>
23
24 * ldlang.c (strip_excluded_output_sections): Don't ignore sections
25 with update_dot_tree.
26
27 2007-07-12 Nathan Sidwell <nathan@codesourcery.com>
28
29 * scripttempl/pe.sc: Don't include .gcc_except_table and
30 .eh_frame on partial links.
31 * scripttempl/pep.sc: Likewise.
32
33 2007-07-12 Alan Modra <amodra@bigpond.net.au>
34
35 PR 4782
36 * ldlang.c (lang_size_sections_1 <output_section_statement>): Only
37 use expld.result when valid.
38
39 2007-07-12 Alan Modra <amodra@bigpond.net.au>
40
41 * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
42 before calling base_name, not after.
43
44 2007-07-10 Alan Modra <amodra@bigpond.net.au>
45
46 * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
47 .gnu.debuglink.
48 * scripttempl/armbpabi.sc: Likewise.
49 * scripttempl/elf32sh-symbian.sc: Likewise.
50 * scripttempl/elfxtensa.sc: Likewise.
51 * scripttempl/mep.sc: Likewise.
52
53 2007-07-09 Roland McGrath <roland@redhat.com>
54
55 * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
56 (gld${EMULATION_NAME}_handle_option): Handle --build-id.
57 (gld${EMULATION_NAME}_list_options): List --build-id.
58 (gld${EMULATION_NAME}_after_open): If --build-id was given,
59 synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
60 * ld.texinfo (Options): Describe --build-id.
61 * NEWS: Mention --build-id.
62
63 2007-07-06 Nick Clifton <nickc@redhat.com>
64
65 * deffile.h: Update copyright notice to refer to GPLv3.
66 * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
67 ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
68 ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
69 ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
70 mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
71 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
72 emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
73 emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
74 emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
75 emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
76 emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
77 emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
78 emultempl/m68kcoff.em, emultempl/m68kelf.em,
79 emultempl/mipsecoff.em, emultempl/mipself.em,
80 emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
81 emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
82 emultempl/ppc32elf.em, emultempl/ppc64elf.em,
83 emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
84 emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
85 emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
86 * genscripts.sh: Add copyright notice.
87 * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
88 Likewise.
89 * NEWS: Mention that the sources are now under GPLv3.
90 * configure: Regenerate.
91
92 2007-07-05 Danny Smith <dannysmith@users.sourceforge.net>
93
94 * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
95 (--stack): Likewise.
96
97 2007-07-03 Matthias Klose <doko@ubuntu.com>
98
99 * emultempl/spuelf.em (base_name): Correct backslash quoting.
100
101 2007-07-02 Alan Modra <amodra@bigpond.net.au>
102
103 * Makefile.in: Regenerate.
104 * aclocal.m4: Regenerate.
105 * config.in: Regenerate.
106 * po/ld.pot: Regenerate.
107
108 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
109
110 * aclocal.m4: Regenerated.
111 * Makefile.in: Likewise.
112
113 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
114
115 * NEWS: Remove a line with '*' only.
116
117 2007-06-29 Joseph Myers <joseph@codesourcery.com>
118
119 * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
120 (ATTRS_SECTIONS): Define.
121 * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
122 scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
123 scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
124
125 2006-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
126
127 * scripttemp/elf32cr16.sc: Default linker script.
128 * emulparams/elf32cr16.sh: Emulation script.
129 * emultempl/cr16elf.em: Emulation script.
130 * Makefile.am: Add entry to make cr16 target.
131 * Makefile.in: Regenerate.
132 * configure.tgt: Specify default and other emulation parameters
133 for cr16.
134 * ChangeLog: Added CR16 target entry.
135 * NEWS: Announce the support for the CR16 new target.
136
137 2007-06-27 Alan Modra <amodra@bigpond.net.au>
138
139 * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
140
141 2007-06-20 Alan Modra <amodra@bigpond.net.au>
142
143 * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
144
145 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
146
147 * ldlex.l, ldgram.y: Add ALIGNOF.
148 * ldexp.c (exp_print_token, foldname): Likewise.
149 * ld.texinfo: Likewise.
150
151 2007-06-18 Alan Modra <amodra@bigpond.net.au>
152
153 * Makefile.am: Add eelf32_spu.o rule.
154 * Makefile.in: Regenerate.
155 * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU
156 defined in Makefile for embedspu name.
157
158 2007-06-18 Alan Modra <amodra@bigpond.net.au>
159
160 * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
161 name prefix from that of ld.
162
163 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
164
165 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
166
167 * acinclude.m4: Removed.
168
169 * Makefile.in: Regenerated.
170 * aclocal.m4: Likewise.
171 * configure: Likewise.
172
173 2007-06-14 Alan Modra <amodra@bigpond.net.au>
174
175 * emultempl/spu_ovl.S: Don't trash lr on tail call from one
176 overlay to another.
177 * emultempl/spu_ovl.o: Regenerate.
178
179 2007-06-11 Bob Wilson <bob.wilson@acm.org>
180
181 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
182 for .xt_except_table.
183 (OTHER_RELRO_SECTIONS): New.
184
185 2007-06-11 Sterling Augustine <sterling@tensilica.com>
186 Bob Wilson <bob.wilson@acm.org>
187
188 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
189 XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
190
191 2007-06-01 Noah Misch <noah@cs.caltech.edu>
192 Alan Modra <amodra@bigpond.net.au>
193
194 * ldlang.c (ldlang_add_file): Use input_bfds_tail.
195 * ldmain.c (main): Init input_bfds_tail. Sort link_info
196 initialization.
197
198 2007-05-29 Alan Modra <amodra@bigpond.net.au>
199
200 * emultempl/spuelf.em (base_name): New function, split out from..
201 (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu
202 invocation if we deduce a shared lib or position independent
203 executable build by looking at ctrbegin* linker input files.
204
205 2007-05-29 Alan Modra <amodra@bigpond.net.au>
206
207 * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
208 types and sizes.
209 * emultempl/spu_ovl.o: Regenerate.
210
211 2007-05-24 Steve Ellcey <sje@cup.hp.com>
212
213 * Makefile.in: Regnerate.
214 * configure: Regenerate.
215 * aclocal.m4: Regenerate.
216
217 2007-05-24 Nathan Sidwell <nathan@codesourcery.com>
218
219 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
220 contain commas in EXP env.
221 * ldgram.y (extern_name_list): Push to EXP env, move body to ...
222 (extern_name_list_body): ... here.
223 (script_file, ifile_list): Reformat.
224 (statement): Add ASSERT.
225
226 2007-05-22 Nick Clifton <nickc@redhat.com>
227
228 * ld.texinfo: Use @copying around the copyright notice.
229 * ldint.texinfo: Likewise.
230
231 2007-05-18 Richard Sandiford <richard@codesourcery.com>
232
233 * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
234 (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
235
236 2007-05-16 Richard Sandiford <richard@codesourcery.com>
237
238 * configure.in: Allow sysroots to be relocated under $prefix as
239 well as $exec_prefix.
240 * configure: Regenerate.
241
242 2007-05-14 Andreas Schwab <schwab@suse.de>
243
244 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
245 Handle null pattern.
246
247 2007-05-11 Alan Modra <amodra@bigpond.net.au>
248
249 * emultempl/ppc32elf.em (plt_style): New variable.
250 (old_plt): Delete.
251 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
252 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
253 OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
254 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
255 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
256 * ld.texinfo (--secure-plt): Document.
257
258 2007-05-08 Alan Modra <amodra@bigpond.net.au>
259
260 * ld.h (args_type, ld_config_type): Reorder fields.
261 * ldmain.c (main): Don't initialise a bunch of vars we know are
262 zero already.
263
264 2007-05-05 Anatoly Sokolov <aesok@post.ru>
265
266 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
267 "--pmem-wrap-around".
268 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
269
270 2007-05-03 Bob Wilson <bob.wilson@acm.org>
271
272 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
273
274 2007-05-03 Alan Modra <amodra@bigpond.net.au>
275
276 * ld.texinfo (--no-warn-search-mismatch): Document.
277 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
278 incompatible libraries if --no-warn-search-mismatch.
279 * ld.h (args_type): Add warn_search_mismatch.
280 * ldmain.c (main): Init it.
281 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
282 (ld_options): Add entry for --no-warn-search-mismatch.
283 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
284
285 2007-05-03 Alan Modra <amodra@bigpond.net.au>
286
287 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
288
289 2007-05-01 Robert Millan <rmh@aybabtu.com>
290
291 * ldlang.c (lang_check): Error on architecture mismatch.
292
293 2007-04-30 Alan Modra <amodra@bigpond.net.au>
294
295 * ldmain.c (link_callbacks): Init info and minfo fields.
296 * ldmisc.c (minfo): Do nothing if no map file.
297 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
298 (spu_after_open): Adjust spu_elf_create_sections call.
299 (spu_before_allocation): Likewise for spu_elf_size_stubs.
300 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
301 (PARSE_AND_LIST_LONGOPTS): Add new entries.
302 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
303 * gen-doc.texi: Add @set for SPU and other missing targets.
304 * ld.texinfo: Update man page selection to match gen-doc.texi.
305 Document SPU features.
306
307 2007-04-28 Alan Modra <amodra@bigpond.net.au>
308
309 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
310 (cref_fill_array): Adjust for changed demangler.
311 * ldlang.c (lang_one_common): Likewise.
312
313 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
314
315 * emulparams/elf32_sparc.sh: Update comments.
316 * emulparams/elf32bmip.sh: Likewise.
317 * emulparams/elf32ppc.sh: Likewise.
318 * emulparams/vxworks.sh: Likewise.
319
320 2007-04-27 Alan Modra <amodra@bigpond.net.au>
321
322 Many files: Include sysdep.h first. Remove duplicate headers.
323 * Makefile.am: Run "make dep-am".
324 * Makefile.in: Regenerate.
325
326 2007-04-24 Alan Modra <amodra@bigpond.net.au>
327
328 * Makefile.in: Regenerate.
329
330 2007-04-19 Alan Modra <amodra@bigpond.net.au>
331
332 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
333 * ldlang.c (lang_one_common): Likewise.
334 * ldmisc.c (vfinfo): Likewise.
335 (demangle): Delete.
336 * ldmisc.h (demangle): Delete.
337 * Makefile.am: Run "make dep-am".
338 * Makefile.in: Regenerate.
339
340 2007-04-18 Alan Modra <amodra@bigpond.net.au>
341
342 * ldlang.h (enum section_type): Add overlay_section.
343 * ldlang.c (lang_add_section): Handle flags for overlay_section
344 as per normal_section.
345 (lang_size_sections_1): When setting lma, detect overlays by
346 os->sectype rather than by looking for overlapping vmas.
347 (lang_enter_overlay_section): Use overlay_section type.
348 (lang_leave_overlay): Set first overlay section to normal.
349
350 2007-04-14 Steve Ellcey <sje@cup.hp.com>
351
352 * Makefile.am: Add ACLOCAL_AMFLAGS.
353 * Makefile.in: Regenerate.
354
355 2007-04-12 Bob Wilson <bob.wilson@acm.org>
356
357 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
358
359 2007-04-10 Richard Henderson <rth@redhat.com>
360
361 * ldlang.c (relax_sections): Initialize and increment
362 link_info.relax_trip.
363
364 2007-04-04 Paul Brook <paul@codesourcery.com>
365
366 * configure.tgt: Loosen checks for arm uclinux eabi targets.
367
368 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
369
370 PR ld/4090
371 * ldexp.h (node_type): Add lineno.
372 * ldexp.c: Include "ldlex.h".
373 (exp_intop): Set the lineno field from lineno.
374 (exp_bigintop): Likewise.
375 (exp_relop): Likewise.
376 (exp_nameop): Likewise.
377 (exp_binop): Set the lineno field from lineno of lhs.
378 (exp_trinop): Likewise.
379 (exp_unop): Set the lineno field from lineno of child.
380 (exp_assop): Set the lineno field from lineno of src.
381 (exp_provide): Likewise.
382 (exp_assert): Set the lineno field from lineno of exp.
383 (exp_get_abs_int): Set lineno from lineno of nonconstant
384 expression when report problem.
385
386 2007-03-29 Richard Sandiford <richard@codesourcery.com>
387 Daniel Jacobowitz <dan@codesourcery.com>
388
389 * NEWS: Mention -l:foo.
390 * ld.texinfo: Document it.
391 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
392 entry as a name beginning with a coloh, convert it to a
393 lang_input_file_is_search_file_enum entry without the colon.
394
395 2007-03-28 Richard Sandiford <richard@codesourcery.com>
396
397 * ld.h (ld_config_type): Add rpath_separator.
398 * ldmain.c (main): Initialize it.
399 * lexsup.c (parse_args): Honor config.rpath_separator.
400 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
401 (gld${EMULATION_NAME}_add_sysroot): Likewise.
402 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
403 rather than ':' when building the path.
404 * emultempl/vxworks.em (vxworks_before_parse): New function.
405 Override config.rpath_separator.
406 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
407 set to gld${EMULATION_NAME}_after_open; #define that identifier
408 to vxworks_foo instead.
409 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
410
411 2007-03-28 Richard Sandiford <richard@codesourcery.com>
412 Phil Edwards <phil@codesourcery.com>
413
414 * ld.texinfo: Put the contents after the title page rather
415 than at the end of the document.
416
417 2007-03-26 Alan Modra <amodra@bigpond.net.au>
418
419 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
420 spu target emul files.
421 * configure.in: Check for mkstemp and waitpid.
422 * Makefile.in: Regenerate.
423 * configure: Regenerate.
424 * config.in: Regenerate.
425 * ldlang.c (input_file_chain): Make global.
426 (lang_add_input_file): Don't set lang_has_input_file here.
427 * ldlang.h (input_file_chain): Declare.
428 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
429 (LDEMUL_RECOGNIZED_FILE): Define.
430 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
431 (LDEMUL_RECOGNIZED_FILE): Define.
432 * emultempl/spuelf.em (struct tflist): New.
433 (tmp_file_list): New var.
434 (clean_tmp, embedded_spu_file): New functions.
435
436 2007-03-24 Alan Modra <amodra@bigpond.net.au>
437
438 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
439 rather than defining unconditionally.
440 (lang_leave_overlay_section): Likewise.
441 * ld.texinfo (Overlay Description): Update description and examples
442 for start/stop syms.
443
444 2007-03-22 Joseph Myers <joseph@codesourcery.com>
445
446 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
447
448 2007-03-20 Paul Brook <paul@codesourcery.com>
449
450 * emultempl/armelf.em (pic_veneer): New variable.
451 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
452 (PARSE_AND_LIST_ARGS_CASES): Ditto.
453 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
454 (PARSE_AND_LIST_OPTIONS): Ditto.
455 * ld.texinfo: Document --pic-veneer.
456
457 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
458
459 * ld.texinfo: Document --no-enum-size-warning.
460 * emultempl/armelf.em (no_enum_size_warning): New.
461 (arm_elf_create_output_section_statements): Correct typo
462 in comment. Pass no_enum_size_warning to
463 bfd_elf32_arm_set_target_relocs.
464 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
465 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
466 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
467 case.
468
469 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
470
471 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
472 (bfin-*-linux-uclibc*): New target.
473
474 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
475
476 * pe-dll.c (make_one): Use pc-relative relocation instead of an
477 absolute relocation for x86_64-pc-mingw32 target.
478
479 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
480
481 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
482 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
483 (TEXI2DVI): Likewise.
484 (REPORT_BUGS_TO): Removed.
485 (INCLUDES): Remove -DREPORT_BUGS_TO.
486 (ldver.texi): Likewise.
487 (ld.1): Don't depend on ldver.texi.
488 (MOSTLYCLEANFILES): Remove ldver.texi.
489 * Makefile.in: Regenerated.
490
491 * configure.in (--with-bugurl): Removed.
492 * configure: Regenerated.
493
494 * lexsup.c: Include bfdver.h.
495
496 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
497
498 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
499
500 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
501
502 2007-03-08 Alan Modra <amodra@bigpond.net.au>
503
504 * ldlang.c (lang_size_sections_1): Correct backwards dot move
505 test to not trigger on overlays. Only warn on backwards move
506 if non-default lma.
507
508 2007-03-07 Joseph Myers <joseph@codesourcery.com>
509
510 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
511 bug-reporting URL.
512 * Makefile.am (ldver.texi): Define BUGURL.
513 * ld.texinfo: Use BUGURL.
514 * Makefile.in, configure: Regenerate.
515
516 2007-03-07 Nick Clifton <nickc@redhat.com>
517
518 PR ld/4023
519 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
520 from any paths being inserted into the output binary's DT_RPATH.
521
522 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
523
524 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
525
526 2007-03-01 Joseph Myers <joseph@codesourcery.com>
527
528 * ldver.c (ldversion): Remove word "version" from output. Update
529 copyright date.
530
531 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
532
533 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
534 (eshelf_uclinux.c): New target.
535 * Makefile.in: Rebuilt.
536 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
537 * emulparams/shelf_uclinux.sh: New.
538
539 2007-02-28 Alan Modra <amodra@bigpond.net.au>
540
541 * configure.tgt: Fix type last change.
542 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
543
544 2007-02-27 Alan Modra <amodra@bigpond.net.au>
545
546 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
547 (eelf32_spu.c): Adjust dependencies.
548 * Makefile.in: Regenerate.
549 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
550 code using bin2c.
551 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
552 (ovl_mgr_stream): Update.
553 * emultempl/spu_inc.s: Delete.
554 * emultempl/spu_none.s: Delete.
555
556 2007-02-26 Alan Modra <amodra@bigpond.net.au>
557
558 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
559 to _binary_spu_ovl_o_start.
560 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
561 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
562 * emultempl/spu_inc.s: Rename symbols.
563 * emultempl/spu_none.s: New file.
564 * emultempl/spu_ovl.S: Update copyright.
565 * Makefile.am (spu_inc.o): Try building with ld -r first, then
566 gas incbin, then build without overlay manager.
567 * Makefile.in: Regenerate.
568
569 2007-02-22 Joseph Myers <joseph@codesourcery.com>
570
571 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
572 mips*el-*-linux-*, mips*-*-linux-*): Set
573 targ_extra_libpath=$targ_extra_emuls.
574
575 2007-02-21 Nick Clifton <nickc@redhat.com>
576
577 * ldlang.c (ldlang_override_segment_assignment): New function.
578 * ldlang.h (ldlang_override_segment_assignment): Prototype.
579 * ldmain.c (link_callbacks): Add
580 ldlang_override_segment_assignment.
581
582 2007-02-20 Alan Modra <amodra@bigpond.net.au>
583
584 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
585
586 2007-02-17 Mark Mitchell <mark@codesourcery.com>
587 Nathan Sidwell <nathan@codesourcery.com>
588 Vladimir Prus <vladimir@codesourcery.com
589 Joseph Myers <joseph@codesourcery.com>
590
591 * configure.in (--with-bugurl): New option.
592 * configure: Regenerate.
593 * Makefile.am (REPORT_BUGS_TO): Define.
594 (INCLUDES): Define REPORT_BUGS_TO.
595 Regenerate dependencies.
596 * Makefile.in: Regenerate.
597 * ld.h: Remove include of bin-bugs.h.
598 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
599
600 2007-02-17 Alan Modra <amodra@bigpond.net.au>
601
602 * ldcref.c (check_reloc_refs): Compare section for local syms.
603
604 2007-02-13 Alan Modra <amodra@bigpond.net.au>
605
606 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
607 (__ovly_load_event): Define.
608 (size): Rename to osize.
609 * emultempl/spu_ovl.o: Regenerate.
610
611 2007-02-13 Alan Modra <amodra@bigpond.net.au>
612
613 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
614 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
615 SEC_RELOC flag set.
616
617 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
618
619 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
620 want64 is true.
621 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
622 true
623 * configure: Regenerated.
624
625 * configure.tgt (targ_extra_libpath): Initialize.
626 (targ64_extra_emuls): New. Document. Initialize.
627 (targ64_extra_libpath): Likewise.
628 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
629 targ64_extra_libpath.
630 (powerpc*-*-linux*): Likewise.
631 (s390-*-linux*): Likewise.
632
633 2007-02-07 Paul Brook <paul@codesourcery.com>
634
635 * configure.tgt: Add arm*-*-uclinux-*eabi.
636
637 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
638
639 * ldlang.c (lang_size_sections_1): Add a missing `)'.
640
641 2007-02-06 Alan Modra <amodra@bigpond.net.au>
642
643 PR ld/3966
644 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
645 move unless section size is non-zero.
646
647 2007-02-05 Dave Brolley <brolley@redhat.com>
648
649 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
650 * configure.tgt: Likewise.
651 * scripttempl/mep.sc: New file.
652 * emulparams/elf32mep.sh: New file.
653 * Makefile.in: Regenerate.
654
655 2006-01-29 Julian Brown <julian@codesourcery.com>
656
657 * NEWS: Mention --vfp11-denorm-fix option.
658 * ld.texinfo: Document above.
659 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
660 .vfp11_veneer section.
661 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
662 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
663 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
664 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
665 (arm_elf_after_allocation): New function. Call
666 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
667 (arm_elf_create_output_section_statements): Pass vfp11 fix command
668 line option to BFD.
669 (OPTION_VFP11_DENORM_FIX): New option.
670 (PARSE_AND_LIST_LONGOPTS): Handle new option.
671 (PARSE_AND_LIST_OPTIONS): Likewise.
672 (PARSE_AND_LIST_ARGS_CASES): Likewise.
673 (LDEMUL_AFTER_ALLOCATION): Define.
674
675 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
676
677 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
678 (DEFSYMEND): Likewise.
679 (NAME): Likewise.
680 (LNAME): Likewise.
681
682 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
683
684 * pe-dll.c: (make_one) Conditionally include jump stubs.
685 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
686 redundant jump stubs from import libraries and exclude them from
687 link.
688
689 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
690
691 * ld.h (args_type): Add new symbolic and dynamic_list fields.
692
693 * ld.texinfo: Update -Bsymbolic-functions.
694
695 * ldmain.c (main): Initialize command_line.symbolic to
696 symbolic_unset and command_line.dynamic_list to
697 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
698 --dynamic-list* before setting link_info.symbolic,
699 link_info.dynamic and link_info.dynamic_data.
700
701 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
702 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
703 -Bsymbolic-functions.
704 (parse_args): Handle -Bsymbolic-functions. Don't set
705 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
706 here. Set command_line.symbolic for -Bsymbolic. Set
707 command_line.dynamic_list and command_line.symbolic for
708 --dynamic-list-data, --dynamic-list-cpp-new,
709 --dynamic-list-cpp-typeinfo and --dynamic-list.
710
711 2007-01-19 Jakub Jelinek <jakub@redhat.com>
712 H.J. Lu <hongjiu.lu@intel.com>
713
714 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
715 or -z common-page-size argument is a power of 2. Call
716 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
717
718 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
719
720 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
721 bfd_emul_set_commonpagesize.
722
723 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
724
725 * NEWS: Mention --default-script/-dT.
726
727 * ld.h (args_type): Add a default_script field.
728
729 * ld.texinfo: Document --default-script/-dT.
730
731 * ldmain.c (main): Handle command_line.default_script.
732
733 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
734 (ld_options): Add entries for --default-script and -dT.
735 (parse_args): Handle --default-script/-dT.
736
737 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
738
739 PR ld/3831
740 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
741 --dynamic-list-cpp-new.
742
743 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
744 and --dynamic-list-cpp-new.
745
746 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
747 (lang_process): Change link_info.dynamic to
748 link_info.dynamic_list.
749 (lang_append_dynamic_list): Likewise.
750 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
751 link_info.dynamic_data to FALSE.
752
753 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
754
755 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
756 OPTION_DYNAMIC_LIST_CPP_NEW.
757 (ld_options): Add entries for -Bsymbolic-functions,
758 --dynamic-list-data and --dynamic-list-cpp-new. Make
759 -Bsymbolic-functions an alias of --dynamic-list-data.
760 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
761 Set link_info.dynamic to TRUE for --dynamic-list and
762 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
763 --dynamic-list-cpp-new.
764
765 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
766
767 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
768 shrinkage for the first few iterations.
769
770 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
771
772 * configure.tgt: Renamed target x86_64-*-mingw64 to
773 x86_64-*-mingw*.
774
775 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
776
777 * configure.host: Add i[3-7]86-*-mingw* case.
778
779 2007-01-08 Nick Clifton <nickc@redhat.com>
780
781 * pep-dll.h (pep_bfd_is_dll): Add prototype.
782
783 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
784
785 PR ld/3843
786 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
787 tdir_elf_i386_fbsd.
788
789 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
790
791 * ldexp.c (fold_name): Issue error on undefined sections.
792
793 2007-01-02 Alan Modra <amodra@bigpond.net.au>
794
795 * pe-dll.c: Include pe-dll.h.
796 * pep-dll.c (pe_bfd_is_dll): Define.
797
798 For older changes see ChangeLog-2006
799 \f
800 Local Variables:
801 mode: change-log
802 left-margin: 8
803 fill-column: 74
804 version-control: never
805 End: