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