1 2007-09-26 Brian Watt <bwatt@us.ibm.com>
3 * emultempl/spu_ovl.S: Add debug printf code.
5 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
9 * ldexp.h (ldexp_control): Add relro, relro_start_stat and
12 * ldexp.c (fold_binary): Set expld.dataseg.relro to
13 exp_dataseg_relro_start or exp_dataseg_relro_end when
14 seeing DATA_SEGMENT_ALIGN or DATA_SEGMENT_RELRO_END,
17 * ldlang.c (lang_size_sections_1): Properly set
18 expld.dataseg.relro_start_stat and
19 expld.dataseg.relro_end_stat.
20 (find_relro_section_callback): New function.
21 (lang_find_relro_sections_1): Likewise.
22 (lang_find_relro_sections): Likewise.
23 (lang_process): Call lang_find_relro_sections for
26 2007-09-17 Nick Clifton <nickc@redhat.com>
28 * po/es.po: Updated Spanish translation.
30 2007-09-16 H.J. Lu <hongjiu.lu@intel.com>
32 * emultempl/elf32.em: Check DF_BIND_NOW instead of DT_BIND_NOW.
34 2007-09-15 Alan Modra <amodra@bigpond.net.au>
37 * emultempl/elf32.em (write_build_id_section): Correct test for
38 "missing" .note.gnu.build-id. Downgrade error to a warning if
39 it has been discarded.
41 2007-09-08 Alan Modra <amodra@bigpond.net.au>
43 * ldwrite.c (build_link_order <lang_padding_statement_enum>): Correct
44 condition under which we build a bfd_data_link_order.
46 2007-08-31 Tristan Gingold <gingold@adacore.com>
48 * ldlang.c (lang_map): Increment lang_statement_iteration so that
49 DEFINED() expressions are correctly computed.
51 2007-08-31 Alan Modra <amodra@bigpond.net.au>
53 * ldlang.c (lang_record_phdrs): Give a fatal error if no sections
54 assigned to phdrs. Avoid multiple forward scans for a section
57 2007-08-28 Mark Shinwell <shinwell@codesourcery.com>
58 Joseph Myers <joseph@codesourcery.com>
60 * ldlang.c (sort_sections_by_lma): Sort by internal id after lma
63 2007-08-28 Robert Sebastian Gerus <arachnist@gmail.com>
65 * configure.host: Add support for i[3-7]86-*-dragonfly*.
66 * configure.tgt: Likewise.
68 2007-08-18 Alan Modra <amodra@bigpond.net.au>
70 * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.
72 2007-08-17 Jakub Jelinek <jakub@redhat.com>
74 * configure.host: Handle sparcv*-*-linux-* the same as
75 sparc-*-linux-*. Change sparc64-*-linux-* to sparc64*-*-linux-*.
77 2007-08-17 Alan Modra <amodra@bigpond.net.au>
79 * emultempl/alphaelf.em: Format option help.
80 * emultempl/armcoff.em: Likewise.
81 * emultempl/armelf.em: Likewise.
82 * emultempl/avrelf.em: Likewise.
83 * emultempl/elf32.em: Likewise.
84 * emultempl/hppaelf.em: Likewise.
85 * emultempl/ia64elf.em: Likewise.
86 * emultempl/m68hc1xelf.em: Likewise.
87 * emultempl/ppc32elf.em: Likewise.
88 * emultempl/ppc64elf.em: Likewise.
89 * emultempl/scoreelf.em: Likewise.
90 * emultempl/spuelf.em: Likewise.
91 * emultempl/ticoff.em: Likewise.
92 * emultempl/vxworks.em: Likewise.
93 * emultempl/xtensaelf.em: Likewise.
95 2007-08-17 Alan Modra <amodra@bigpond.net.au>
97 * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
98 * lexsup.c (ld_options): Don't use tabs in help text.
99 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
100 * emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.
102 2007-08-17 Alan Modra <amodra@bigpond.net.au>
104 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
106 2007-08-15 Alan Modra <amodra@bigpond.net.au>
109 * emultempl/elf32.em (after_open): Return immediately when
112 2007-08-12 Daniel Jacobowitz <dan@codesourcery.com>
114 * configure.in (ALL_LINGUAS): Add fi.
115 * po/fi.po: New file.
116 * configure: Regenerated.
118 2007-08-10 Nick Clifton <nickc@redhat.com>
120 * NEWS: Add a marker for the 2.18 features.
122 2007-08-10 Nick Clifton <nickc@redhat.com>
124 * po/ga.po: Updated Irish translation.
125 * po/vi.po: Updated Vietnamese translation.
127 2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
129 * Makefile.am: Run "make dep-am".
130 * Makefile.in: Regenerate.
132 2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
135 * elf-hints-local.h: Include bfd_stdint.h. Use uint32_t
136 instead of u_int32_t.
138 * sha1.h: Include bfd_stdint.h instead of <stdint.h>.
140 2007-08-09 Alan Modra <amodra@bigpond.net.au>
143 * genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR.
144 * ldint.texinfo: Likewise.
145 * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete.
146 * emulparams/armaoutl.sh: Likewise.
147 * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete.
148 * emulparams/bfin.sh: Likewise
149 * emulparams/crisaout.sh: Likewise
150 * emulparams/elf32_sparc.sh: Likewise
151 * emulparams/elf32am33lin.sh: Likewise
152 * emulparams/elf32b4300.sh: Likewise
153 * emulparams/elf32bmip.sh: Likewise
154 * emulparams/elf32mcore.sh: Likewise
155 * emulparams/elf32xtensa.sh: Likewise
156 * emulparams/elf64_s390.sh: Likewise
157 * emulparams/elf64_sparc.sh: Likewise
158 * emulparams/elf64alpha.sh: Likewise
159 * emulparams/elf_i386.sh: Likewise
160 * emulparams/elf_i386_be.sh: Likewise
161 * emulparams/elf_i386_chaos.sh: Likewise
162 * emulparams/elf_i386_ldso.sh: Likewise
163 * emulparams/elf_i386_vxworks.sh: Likewise
164 * emulparams/elf_s390.sh: Likewise
165 * emulparams/elf_x86_64.sh: Likewise
166 * emulparams/i386aout.sh: Likewise
167 * emulparams/i386moss.sh: Likewise
168 * emulparams/i386msdos.sh: Likewise
169 * emulparams/i386nto.sh: Likewise
170 * emulparams/i386nw.sh: Likewise
171 * emulparams/m68kaout.sh: Likewise
172 * emulparams/m68kelf.sh: Likewise
173 * emulparams/ppcnw.sh: Likewise
174 * emulparams/sun4.sh: Likewise
175 * emulparams/tic80coff.sh: Likewise
176 * emulparams/vaxnbsd.sh: Likewise
177 * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete.
178 (TEXT_START_ADDR): Set for -n, -N.
179 * emulparams/coff_sparc.sh: Likewise
180 * emulparams/elf32vax.sh: Likewise
181 * emulparams/i386bsd.sh: Likewise
182 * emulparams/i386go32.sh: Likewise
183 * emulparams/i386linux.sh: Likewise
184 * emulparams/i386lynx.sh: Likewise
185 * emulparams/i386mach.sh: Likewise
186 * emulparams/m68k4knbsd.sh: Likewise
187 * emulparams/m68klinux.sh: Likewise
188 * emulparams/m68knbsd.sh: Likewise
189 * emulparams/ns32knbsd.sh: Likewise
190 * emulparams/pc532macha.sh: Likewise
191 * emulparams/ppclynx.sh: Likewise
192 * emulparams/scoreelf.sh: Likewise
193 * emulparams/sparcaout.sh: Likewise
194 * emulparams/sparclinux.sh: Likewise
195 * emulparams/sun3.sh: Likewise
196 * emulparams/vsta.sh: Likewise
198 2007-08-07 Ralf Corsépius <ralf.corsepius@rtems.org>
200 * configure.tgt: Add bfin-*rtems*.
202 2007-08-06 Kai Tietz <kai.tietz@onevision.com>
204 * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
205 (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of
207 * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64
210 2007-08-01 Nick Clifton <nickc@redhat.com>
212 * po/ga.po: Updated Irish translation.
214 2007-07-29 Alan Modra <amodra@bigpond.net.au>
216 * ldlang.c (lang_insert_orphan): When searching through linker
217 script to place an orphan, don't stop on statements that appear
219 * emultempl/elf32.em (output_rel_find): Prefer read-only alloc
220 sections over read/write alloc sections.
222 2007-07-28 Jakub Jelinek <jakub@redhat.com>
224 * scripttempl/elf.sc: Add .note.gnu.build-id.
226 2007-07-25 Nick Clifton <nickc@redhat.com>
229 * ld.texinfo (Options): Extend the description of the -O command
232 2007-07-24 Kai Tietz <kai.tietz@onevision.com>
234 * pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
236 2007-07-21 Nick Clifton <nickc@redhat.com>
238 * sha1.h: Change to use version 3 of the GNU General Public
239 License and tidy up formatting.
242 2007-07-19 Roland McGrath <roland@redhat.com>
244 * genscripts.sh (source_em, fragment): New sh functions.
245 Truncate e${EMULATION_NAME}.c file before .em script fills it.
246 Use source_em in place of . for the .em script.
247 * emultempl/generic.em: Use fragment and source_em functions.
248 * emultempl/aix.em: Likewise.
249 * emultempl/alphaelf.em: Likewise.
250 * emultempl/armcoff.em: Likewise.
251 * emultempl/armelf.em: Likewise.
252 * emultempl/avrelf.em: Likewise.
253 * emultempl/beos.em: Likewise.
254 * emultempl/cr16elf.em: Likewise.
255 * emultempl/crxelf.em: Likewise.
256 * emultempl/elf-generic.em: Likewise.
257 * emultempl/elf32.em: Likewise.
258 * emultempl/genelf.em: Likewise.
259 * emultempl/gld960.em: Likewise.
260 * emultempl/gld960c.em: Likewise.
261 * emultempl/hppaelf.em: Likewise.
262 * emultempl/ia64elf.em: Likewise.
263 * emultempl/irix.em: Likewise.
264 * emultempl/linux.em: Likewise.
265 * emultempl/lnk960.em: Likewise.
266 * emultempl/m68hc1xelf.em: Likewise.
267 * emultempl/m68kcoff.em: Likewise.
268 * emultempl/m68kelf.em: Likewise.
269 * emultempl/mipsecoff.em: Likewise.
270 * emultempl/mipself.em: Likewise.
271 * emultempl/mmix-elfnmmo.em: Likewise.
272 * emultempl/mmixelf.em: Likewise.
273 * emultempl/mmo.em: Likewise.
274 * emultempl/needrelax.em: Likewise.
275 * emultempl/netbsd.em: Likewise.
276 * emultempl/pe.em: Likewise.
277 * emultempl/pep.em: Likewise.
278 * emultempl/ppc32elf.em: Likewise.
279 * emultempl/ppc64elf.em: Likewise.
280 * emultempl/scoreelf.em: Likewise.
281 * emultempl/sh64elf.em: Likewise.
282 * emultempl/spuelf.em: Likewise.
283 * emultempl/sunos.em: Likewise.
284 * emultempl/ticoff.em: Likewise.
285 * emultempl/vanilla.em: Likewise.
286 * emultempl/vxworks.em: Likewise.
287 * emultempl/xtensaelf.em: Likewise.
288 * emultempl/z80.em: Likewise.
290 2007-07-18 Roland McGrath <roland@redhat.com>
292 * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
293 Use ASEC->contents for CONTENTS when missing, and allocate
294 ASEC->size if needed.
296 2007-07-13 Roland McGrath <roland@redhat.com>
298 * emultempl/elf32.em (struct build_id_info): New type.
299 (gld${EMULATION_NAME}_id_note_section_size): New function.
300 (gld${EMULATION_NAME}_write_build_id_section): New function.
301 (gld${EMULATION_NAME}_after_open): Use them.
302 (DEFAULT_BUILD_ID_STYLE): Change to "sha1".
303 * ld.texinfo (Options): Mention --build-id=sha1.
305 * sha1.h: New file (from gnulib).
306 * sha1.c: New file (from gnulib).
307 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
308 (sha1.o): New target.
309 * Makefile.in: Regenerated.
311 2007-07-13 Alan Modra <amodra@bigpond.net.au>
313 * ldlang.c (strip_excluded_output_sections): Don't ignore sections
314 with update_dot_tree.
316 2007-07-12 Nathan Sidwell <nathan@codesourcery.com>
318 * scripttempl/pe.sc: Don't include .gcc_except_table and
319 .eh_frame on partial links.
320 * scripttempl/pep.sc: Likewise.
322 2007-07-12 Alan Modra <amodra@bigpond.net.au>
325 * ldlang.c (lang_size_sections_1 <output_section_statement>): Only
326 use expld.result when valid.
328 2007-07-12 Alan Modra <amodra@bigpond.net.au>
330 * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
331 before calling base_name, not after.
333 2007-07-10 Alan Modra <amodra@bigpond.net.au>
335 * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
337 * scripttempl/armbpabi.sc: Likewise.
338 * scripttempl/elf32sh-symbian.sc: Likewise.
339 * scripttempl/elfxtensa.sc: Likewise.
340 * scripttempl/mep.sc: Likewise.
342 2007-07-09 Roland McGrath <roland@redhat.com>
344 * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
345 (gld${EMULATION_NAME}_handle_option): Handle --build-id.
346 (gld${EMULATION_NAME}_list_options): List --build-id.
347 (gld${EMULATION_NAME}_after_open): If --build-id was given,
348 synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
349 * ld.texinfo (Options): Describe --build-id.
350 * NEWS: Mention --build-id.
352 2007-07-06 Nick Clifton <nickc@redhat.com>
354 * deffile.h: Update copyright notice to refer to GPLv3.
355 * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
356 ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
357 ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
358 ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
359 mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
360 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
361 emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
362 emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
363 emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
364 emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
365 emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
366 emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
367 emultempl/m68kcoff.em, emultempl/m68kelf.em,
368 emultempl/mipsecoff.em, emultempl/mipself.em,
369 emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
370 emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
371 emultempl/ppc32elf.em, emultempl/ppc64elf.em,
372 emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
373 emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
374 emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
375 * genscripts.sh: Add copyright notice.
376 * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
378 * NEWS: Mention that the sources are now under GPLv3.
379 * configure: Regenerate.
381 2007-07-05 Danny Smith <dannysmith@users.sourceforge.net>
383 * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
386 2007-07-03 Matthias Klose <doko@ubuntu.com>
388 * emultempl/spuelf.em (base_name): Correct backslash quoting.
390 2007-07-02 Alan Modra <amodra@bigpond.net.au>
392 * Makefile.in: Regenerate.
393 * aclocal.m4: Regenerate.
394 * config.in: Regenerate.
395 * po/ld.pot: Regenerate.
397 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
399 * aclocal.m4: Regenerated.
400 * Makefile.in: Likewise.
402 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
404 * NEWS: Remove a line with '*' only.
406 2007-06-29 Joseph Myers <joseph@codesourcery.com>
408 * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
409 (ATTRS_SECTIONS): Define.
410 * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
411 scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
412 scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
414 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
416 * scripttemp/elf32cr16.sc: Default linker script.
417 * emulparams/elf32cr16.sh: Emulation script.
418 * emultempl/cr16elf.em: Emulation script.
419 * Makefile.am: Add entry to make cr16 target.
420 * Makefile.in: Regenerate.
421 * configure.tgt: Specify default and other emulation parameters
423 * ChangeLog: Added CR16 target entry.
424 * NEWS: Announce the support for the CR16 new target.
426 2007-06-27 Alan Modra <amodra@bigpond.net.au>
428 * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
430 2007-06-20 Alan Modra <amodra@bigpond.net.au>
432 * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
434 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
436 * ldlex.l, ldgram.y: Add ALIGNOF.
437 * ldexp.c (exp_print_token, foldname): Likewise.
438 * ld.texinfo: Likewise.
440 2007-06-18 Alan Modra <amodra@bigpond.net.au>
442 * Makefile.am: Add eelf32_spu.o rule.
443 * Makefile.in: Regenerate.
444 * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU
445 defined in Makefile for embedspu name.
447 2007-06-18 Alan Modra <amodra@bigpond.net.au>
449 * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
450 name prefix from that of ld.
452 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
454 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
456 * acinclude.m4: Removed.
458 * Makefile.in: Regenerated.
459 * aclocal.m4: Likewise.
460 * configure: Likewise.
462 2007-06-14 Alan Modra <amodra@bigpond.net.au>
464 * emultempl/spu_ovl.S: Don't trash lr on tail call from one
466 * emultempl/spu_ovl.o: Regenerate.
468 2007-06-11 Bob Wilson <bob.wilson@acm.org>
470 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
471 for .xt_except_table.
472 (OTHER_RELRO_SECTIONS): New.
474 2007-06-11 Sterling Augustine <sterling@tensilica.com>
475 Bob Wilson <bob.wilson@acm.org>
477 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
478 XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
480 2007-06-01 Noah Misch <noah@cs.caltech.edu>
481 Alan Modra <amodra@bigpond.net.au>
483 * ldlang.c (ldlang_add_file): Use input_bfds_tail.
484 * ldmain.c (main): Init input_bfds_tail. Sort link_info
487 2007-05-29 Alan Modra <amodra@bigpond.net.au>
489 * emultempl/spuelf.em (base_name): New function, split out from..
490 (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu
491 invocation if we deduce a shared lib or position independent
492 executable build by looking at ctrbegin* linker input files.
494 2007-05-29 Alan Modra <amodra@bigpond.net.au>
496 * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
498 * emultempl/spu_ovl.o: Regenerate.
500 2007-05-24 Steve Ellcey <sje@cup.hp.com>
502 * Makefile.in: Regnerate.
503 * configure: Regenerate.
504 * aclocal.m4: Regenerate.
506 2007-05-24 Nathan Sidwell <nathan@codesourcery.com>
508 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
509 contain commas in EXP env.
510 * ldgram.y (extern_name_list): Push to EXP env, move body to ...
511 (extern_name_list_body): ... here.
512 (script_file, ifile_list): Reformat.
513 (statement): Add ASSERT.
515 2007-05-22 Nick Clifton <nickc@redhat.com>
517 * ld.texinfo: Use @copying around the copyright notice.
518 * ldint.texinfo: Likewise.
520 2007-05-18 Richard Sandiford <richard@codesourcery.com>
522 * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
523 (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
525 2007-05-16 Richard Sandiford <richard@codesourcery.com>
527 * configure.in: Allow sysroots to be relocated under $prefix as
528 well as $exec_prefix.
529 * configure: Regenerate.
531 2007-05-14 Andreas Schwab <schwab@suse.de>
533 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
536 2007-05-11 Alan Modra <amodra@bigpond.net.au>
538 * emultempl/ppc32elf.em (plt_style): New variable.
540 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
541 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
542 OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
543 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
544 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
545 * ld.texinfo (--secure-plt): Document.
547 2007-05-08 Alan Modra <amodra@bigpond.net.au>
549 * ld.h (args_type, ld_config_type): Reorder fields.
550 * ldmain.c (main): Don't initialise a bunch of vars we know are
553 2007-05-05 Anatoly Sokolov <aesok@post.ru>
555 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
556 "--pmem-wrap-around".
557 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
559 2007-05-03 Bob Wilson <bob.wilson@acm.org>
561 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
563 2007-05-03 Alan Modra <amodra@bigpond.net.au>
565 * ld.texinfo (--no-warn-search-mismatch): Document.
566 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
567 incompatible libraries if --no-warn-search-mismatch.
568 * ld.h (args_type): Add warn_search_mismatch.
569 * ldmain.c (main): Init it.
570 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
571 (ld_options): Add entry for --no-warn-search-mismatch.
572 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
574 2007-05-03 Alan Modra <amodra@bigpond.net.au>
576 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
578 2007-05-01 Robert Millan <rmh@aybabtu.com>
580 * ldlang.c (lang_check): Error on architecture mismatch.
582 2007-04-30 Alan Modra <amodra@bigpond.net.au>
584 * ldmain.c (link_callbacks): Init info and minfo fields.
585 * ldmisc.c (minfo): Do nothing if no map file.
586 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
587 (spu_after_open): Adjust spu_elf_create_sections call.
588 (spu_before_allocation): Likewise for spu_elf_size_stubs.
589 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
590 (PARSE_AND_LIST_LONGOPTS): Add new entries.
591 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
592 * gen-doc.texi: Add @set for SPU and other missing targets.
593 * ld.texinfo: Update man page selection to match gen-doc.texi.
594 Document SPU features.
596 2007-04-28 Alan Modra <amodra@bigpond.net.au>
598 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
599 (cref_fill_array): Adjust for changed demangler.
600 * ldlang.c (lang_one_common): Likewise.
602 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
604 * emulparams/elf32_sparc.sh: Update comments.
605 * emulparams/elf32bmip.sh: Likewise.
606 * emulparams/elf32ppc.sh: Likewise.
607 * emulparams/vxworks.sh: Likewise.
609 2007-04-27 Alan Modra <amodra@bigpond.net.au>
611 Many files: Include sysdep.h first. Remove duplicate headers.
612 * Makefile.am: Run "make dep-am".
613 * Makefile.in: Regenerate.
615 2007-04-24 Alan Modra <amodra@bigpond.net.au>
617 * Makefile.in: Regenerate.
619 2007-04-19 Alan Modra <amodra@bigpond.net.au>
621 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
622 * ldlang.c (lang_one_common): Likewise.
623 * ldmisc.c (vfinfo): Likewise.
625 * ldmisc.h (demangle): Delete.
626 * Makefile.am: Run "make dep-am".
627 * Makefile.in: Regenerate.
629 2007-04-18 Alan Modra <amodra@bigpond.net.au>
631 * ldlang.h (enum section_type): Add overlay_section.
632 * ldlang.c (lang_add_section): Handle flags for overlay_section
633 as per normal_section.
634 (lang_size_sections_1): When setting lma, detect overlays by
635 os->sectype rather than by looking for overlapping vmas.
636 (lang_enter_overlay_section): Use overlay_section type.
637 (lang_leave_overlay): Set first overlay section to normal.
639 2007-04-14 Steve Ellcey <sje@cup.hp.com>
641 * Makefile.am: Add ACLOCAL_AMFLAGS.
642 * Makefile.in: Regenerate.
644 2007-04-12 Bob Wilson <bob.wilson@acm.org>
646 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
648 2007-04-10 Richard Henderson <rth@redhat.com>
650 * ldlang.c (relax_sections): Initialize and increment
651 link_info.relax_trip.
653 2007-04-04 Paul Brook <paul@codesourcery.com>
655 * configure.tgt: Loosen checks for arm uclinux eabi targets.
657 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
660 * ldexp.h (node_type): Add lineno.
661 * ldexp.c: Include "ldlex.h".
662 (exp_intop): Set the lineno field from lineno.
663 (exp_bigintop): Likewise.
664 (exp_relop): Likewise.
665 (exp_nameop): Likewise.
666 (exp_binop): Set the lineno field from lineno of lhs.
667 (exp_trinop): Likewise.
668 (exp_unop): Set the lineno field from lineno of child.
669 (exp_assop): Set the lineno field from lineno of src.
670 (exp_provide): Likewise.
671 (exp_assert): Set the lineno field from lineno of exp.
672 (exp_get_abs_int): Set lineno from lineno of nonconstant
673 expression when report problem.
675 2007-03-29 Richard Sandiford <richard@codesourcery.com>
676 Daniel Jacobowitz <dan@codesourcery.com>
678 * NEWS: Mention -l:foo.
679 * ld.texinfo: Document it.
680 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
681 entry as a name beginning with a coloh, convert it to a
682 lang_input_file_is_search_file_enum entry without the colon.
684 2007-03-28 Richard Sandiford <richard@codesourcery.com>
686 * ld.h (ld_config_type): Add rpath_separator.
687 * ldmain.c (main): Initialize it.
688 * lexsup.c (parse_args): Honor config.rpath_separator.
689 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
690 (gld${EMULATION_NAME}_add_sysroot): Likewise.
691 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
692 rather than ':' when building the path.
693 * emultempl/vxworks.em (vxworks_before_parse): New function.
694 Override config.rpath_separator.
695 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
696 set to gld${EMULATION_NAME}_after_open; #define that identifier
697 to vxworks_foo instead.
698 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
700 2007-03-28 Richard Sandiford <richard@codesourcery.com>
701 Phil Edwards <phil@codesourcery.com>
703 * ld.texinfo: Put the contents after the title page rather
704 than at the end of the document.
706 2007-03-26 Alan Modra <amodra@bigpond.net.au>
708 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
709 spu target emul files.
710 * configure.in: Check for mkstemp and waitpid.
711 * Makefile.in: Regenerate.
712 * configure: Regenerate.
713 * config.in: Regenerate.
714 * ldlang.c (input_file_chain): Make global.
715 (lang_add_input_file): Don't set lang_has_input_file here.
716 * ldlang.h (input_file_chain): Declare.
717 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
718 (LDEMUL_RECOGNIZED_FILE): Define.
719 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
720 (LDEMUL_RECOGNIZED_FILE): Define.
721 * emultempl/spuelf.em (struct tflist): New.
722 (tmp_file_list): New var.
723 (clean_tmp, embedded_spu_file): New functions.
725 2007-03-24 Alan Modra <amodra@bigpond.net.au>
727 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
728 rather than defining unconditionally.
729 (lang_leave_overlay_section): Likewise.
730 * ld.texinfo (Overlay Description): Update description and examples
733 2007-03-22 Joseph Myers <joseph@codesourcery.com>
735 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
737 2007-03-20 Paul Brook <paul@codesourcery.com>
739 * emultempl/armelf.em (pic_veneer): New variable.
740 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
741 (PARSE_AND_LIST_ARGS_CASES): Ditto.
742 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
743 (PARSE_AND_LIST_OPTIONS): Ditto.
744 * ld.texinfo: Document --pic-veneer.
746 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
748 * ld.texinfo: Document --no-enum-size-warning.
749 * emultempl/armelf.em (no_enum_size_warning): New.
750 (arm_elf_create_output_section_statements): Correct typo
751 in comment. Pass no_enum_size_warning to
752 bfd_elf32_arm_set_target_relocs.
753 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
754 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
755 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
758 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
760 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
761 (bfin-*-linux-uclibc*): New target.
763 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
765 * pe-dll.c (make_one): Use pc-relative relocation instead of an
766 absolute relocation for x86_64-pc-mingw32 target.
768 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
770 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
771 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
772 (TEXI2DVI): Likewise.
773 (REPORT_BUGS_TO): Removed.
774 (INCLUDES): Remove -DREPORT_BUGS_TO.
775 (ldver.texi): Likewise.
776 (ld.1): Don't depend on ldver.texi.
777 (MOSTLYCLEANFILES): Remove ldver.texi.
778 * Makefile.in: Regenerated.
780 * configure.in (--with-bugurl): Removed.
781 * configure: Regenerated.
783 * lexsup.c: Include bfdver.h.
785 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
787 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
789 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
791 2007-03-08 Alan Modra <amodra@bigpond.net.au>
793 * ldlang.c (lang_size_sections_1): Correct backwards dot move
794 test to not trigger on overlays. Only warn on backwards move
797 2007-03-07 Joseph Myers <joseph@codesourcery.com>
799 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
801 * Makefile.am (ldver.texi): Define BUGURL.
802 * ld.texinfo: Use BUGURL.
803 * Makefile.in, configure: Regenerate.
805 2007-03-07 Nick Clifton <nickc@redhat.com>
808 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
809 from any paths being inserted into the output binary's DT_RPATH.
811 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
813 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
815 2007-03-01 Joseph Myers <joseph@codesourcery.com>
817 * ldver.c (ldversion): Remove word "version" from output. Update
820 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
822 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
823 (eshelf_uclinux.c): New target.
824 * Makefile.in: Rebuilt.
825 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
826 * emulparams/shelf_uclinux.sh: New.
828 2007-02-28 Alan Modra <amodra@bigpond.net.au>
830 * configure.tgt: Fix type last change.
831 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
833 2007-02-27 Alan Modra <amodra@bigpond.net.au>
835 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
836 (eelf32_spu.c): Adjust dependencies.
837 * Makefile.in: Regenerate.
838 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
840 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
841 (ovl_mgr_stream): Update.
842 * emultempl/spu_inc.s: Delete.
843 * emultempl/spu_none.s: Delete.
845 2007-02-26 Alan Modra <amodra@bigpond.net.au>
847 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
848 to _binary_spu_ovl_o_start.
849 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
850 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
851 * emultempl/spu_inc.s: Rename symbols.
852 * emultempl/spu_none.s: New file.
853 * emultempl/spu_ovl.S: Update copyright.
854 * Makefile.am (spu_inc.o): Try building with ld -r first, then
855 gas incbin, then build without overlay manager.
856 * Makefile.in: Regenerate.
858 2007-02-22 Joseph Myers <joseph@codesourcery.com>
860 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
861 mips*el-*-linux-*, mips*-*-linux-*): Set
862 targ_extra_libpath=$targ_extra_emuls.
864 2007-02-21 Nick Clifton <nickc@redhat.com>
866 * ldlang.c (ldlang_override_segment_assignment): New function.
867 * ldlang.h (ldlang_override_segment_assignment): Prototype.
868 * ldmain.c (link_callbacks): Add
869 ldlang_override_segment_assignment.
871 2007-02-20 Alan Modra <amodra@bigpond.net.au>
873 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
875 2007-02-17 Mark Mitchell <mark@codesourcery.com>
876 Nathan Sidwell <nathan@codesourcery.com>
877 Vladimir Prus <vladimir@codesourcery.com
878 Joseph Myers <joseph@codesourcery.com>
880 * configure.in (--with-bugurl): New option.
881 * configure: Regenerate.
882 * Makefile.am (REPORT_BUGS_TO): Define.
883 (INCLUDES): Define REPORT_BUGS_TO.
884 Regenerate dependencies.
885 * Makefile.in: Regenerate.
886 * ld.h: Remove include of bin-bugs.h.
887 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
889 2007-02-17 Alan Modra <amodra@bigpond.net.au>
891 * ldcref.c (check_reloc_refs): Compare section for local syms.
893 2007-02-13 Alan Modra <amodra@bigpond.net.au>
895 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
896 (__ovly_load_event): Define.
897 (size): Rename to osize.
898 * emultempl/spu_ovl.o: Regenerate.
900 2007-02-13 Alan Modra <amodra@bigpond.net.au>
902 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
903 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
906 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
908 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
910 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
912 * configure: Regenerated.
914 * configure.tgt (targ_extra_libpath): Initialize.
915 (targ64_extra_emuls): New. Document. Initialize.
916 (targ64_extra_libpath): Likewise.
917 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
918 targ64_extra_libpath.
919 (powerpc*-*-linux*): Likewise.
920 (s390-*-linux*): Likewise.
922 2007-02-07 Paul Brook <paul@codesourcery.com>
924 * configure.tgt: Add arm*-*-uclinux-*eabi.
926 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
928 * ldlang.c (lang_size_sections_1): Add a missing `)'.
930 2007-02-06 Alan Modra <amodra@bigpond.net.au>
933 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
934 move unless section size is non-zero.
936 2007-02-05 Dave Brolley <brolley@redhat.com>
938 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
939 * configure.tgt: Likewise.
940 * scripttempl/mep.sc: New file.
941 * emulparams/elf32mep.sh: New file.
942 * Makefile.in: Regenerate.
944 2006-01-29 Julian Brown <julian@codesourcery.com>
946 * NEWS: Mention --vfp11-denorm-fix option.
947 * ld.texinfo: Document above.
948 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
949 .vfp11_veneer section.
950 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
951 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
952 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
953 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
954 (arm_elf_after_allocation): New function. Call
955 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
956 (arm_elf_create_output_section_statements): Pass vfp11 fix command
958 (OPTION_VFP11_DENORM_FIX): New option.
959 (PARSE_AND_LIST_LONGOPTS): Handle new option.
960 (PARSE_AND_LIST_OPTIONS): Likewise.
961 (PARSE_AND_LIST_ARGS_CASES): Likewise.
962 (LDEMUL_AFTER_ALLOCATION): Define.
964 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
966 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
967 (DEFSYMEND): Likewise.
971 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
973 * pe-dll.c: (make_one) Conditionally include jump stubs.
974 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
975 redundant jump stubs from import libraries and exclude them from
978 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
980 * ld.h (args_type): Add new symbolic and dynamic_list fields.
982 * ld.texinfo: Update -Bsymbolic-functions.
984 * ldmain.c (main): Initialize command_line.symbolic to
985 symbolic_unset and command_line.dynamic_list to
986 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
987 --dynamic-list* before setting link_info.symbolic,
988 link_info.dynamic and link_info.dynamic_data.
990 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
991 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
992 -Bsymbolic-functions.
993 (parse_args): Handle -Bsymbolic-functions. Don't set
994 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
995 here. Set command_line.symbolic for -Bsymbolic. Set
996 command_line.dynamic_list and command_line.symbolic for
997 --dynamic-list-data, --dynamic-list-cpp-new,
998 --dynamic-list-cpp-typeinfo and --dynamic-list.
1000 2007-01-19 Jakub Jelinek <jakub@redhat.com>
1001 H.J. Lu <hongjiu.lu@intel.com>
1003 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
1004 or -z common-page-size argument is a power of 2. Call
1005 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
1007 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
1009 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
1010 bfd_emul_set_commonpagesize.
1012 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
1014 * NEWS: Mention --default-script/-dT.
1016 * ld.h (args_type): Add a default_script field.
1018 * ld.texinfo: Document --default-script/-dT.
1020 * ldmain.c (main): Handle command_line.default_script.
1022 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
1023 (ld_options): Add entries for --default-script and -dT.
1024 (parse_args): Handle --default-script/-dT.
1026 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
1029 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
1030 --dynamic-list-cpp-new.
1032 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
1033 and --dynamic-list-cpp-new.
1035 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
1036 (lang_process): Change link_info.dynamic to
1037 link_info.dynamic_list.
1038 (lang_append_dynamic_list): Likewise.
1039 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
1040 link_info.dynamic_data to FALSE.
1042 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
1044 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
1045 OPTION_DYNAMIC_LIST_CPP_NEW.
1046 (ld_options): Add entries for -Bsymbolic-functions,
1047 --dynamic-list-data and --dynamic-list-cpp-new. Make
1048 -Bsymbolic-functions an alias of --dynamic-list-data.
1049 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
1050 Set link_info.dynamic to TRUE for --dynamic-list and
1051 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
1052 --dynamic-list-cpp-new.
1054 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
1056 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
1057 shrinkage for the first few iterations.
1059 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
1061 * configure.tgt: Renamed target x86_64-*-mingw64 to
1064 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
1066 * configure.host: Add i[3-7]86-*-mingw* case.
1068 2007-01-08 Nick Clifton <nickc@redhat.com>
1070 * pep-dll.h (pep_bfd_is_dll): Add prototype.
1072 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
1075 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
1078 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
1080 * ldexp.c (fold_name): Issue error on undefined sections.
1082 2007-01-02 Alan Modra <amodra@bigpond.net.au>
1084 * pe-dll.c: Include pe-dll.h.
1085 * pep-dll.c (pe_bfd_is_dll): Define.
1087 For older changes see ChangeLog-2006
1093 version-control: never