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