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