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