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