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