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