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