1 2007-06-29 Joseph Myers <joseph@codesourcery.com>
3 * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
4 (ATTRS_SECTIONS): Define.
5 * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
6 scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
7 scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
9 2006-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
11 * scripttemp/elf32cr16.sc: Default linker script.
12 * emulparams/elf32cr16.sh: Emulation script.
13 * emultempl/cr16elf.em: Emulation script.
14 * Makefile.am: Add entry to make cr16 target.
15 * Makefile.in: Regenerate.
16 * configure.tgt: Specify default and other emulation parameters
18 * ChangeLog: Added CR16 target entry.
19 * NEWS: Announce the support for the CR16 new target.
21 2007-06-27 Alan Modra <amodra@bigpond.net.au>
23 * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
25 2007-06-20 Alan Modra <amodra@bigpond.net.au>
27 * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
29 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
31 * ldlex.l, ldgram.y: Add ALIGNOF.
32 * ldexp.c (exp_print_token, foldname): Likewise.
33 * ld.texinfo: Likewise.
35 2007-06-18 Alan Modra <amodra@bigpond.net.au>
37 * Makefile.am: Add eelf32_spu.o rule.
38 * Makefile.in: Regenerate.
39 * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU
40 defined in Makefile for embedspu name.
42 2007-06-18 Alan Modra <amodra@bigpond.net.au>
44 * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
45 name prefix from that of ld.
47 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
49 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
51 * acinclude.m4: Removed.
53 * Makefile.in: Regenerated.
54 * aclocal.m4: Likewise.
55 * configure: Likewise.
57 2007-06-14 Alan Modra <amodra@bigpond.net.au>
59 * emultempl/spu_ovl.S: Don't trash lr on tail call from one
61 * emultempl/spu_ovl.o: Regenerate.
63 2007-06-11 Bob Wilson <bob.wilson@acm.org>
65 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
67 (OTHER_RELRO_SECTIONS): New.
69 2007-06-11 Sterling Augustine <sterling@tensilica.com>
70 Bob Wilson <bob.wilson@acm.org>
72 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
73 XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
75 2007-06-01 Noah Misch <noah@cs.caltech.edu>
76 Alan Modra <amodra@bigpond.net.au>
78 * ldlang.c (ldlang_add_file): Use input_bfds_tail.
79 * ldmain.c (main): Init input_bfds_tail. Sort link_info
82 2007-05-29 Alan Modra <amodra@bigpond.net.au>
84 * emultempl/spuelf.em (base_name): New function, split out from..
85 (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu
86 invocation if we deduce a shared lib or position independent
87 executable build by looking at ctrbegin* linker input files.
89 2007-05-29 Alan Modra <amodra@bigpond.net.au>
91 * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
93 * emultempl/spu_ovl.o: Regenerate.
95 2007-05-24 Steve Ellcey <sje@cup.hp.com>
97 * Makefile.in: Regnerate.
98 * configure: Regenerate.
99 * aclocal.m4: Regenerate.
101 2007-05-24 Nathan Sidwell <nathan@codesourcery.com>
103 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
104 contain commas in EXP env.
105 * ldgram.y (extern_name_list): Push to EXP env, move body to ...
106 (extern_name_list_body): ... here.
107 (script_file, ifile_list): Reformat.
108 (statement): Add ASSERT.
110 2007-05-22 Nick Clifton <nickc@redhat.com>
112 * ld.texinfo: Use @copying around the copyright notice.
113 * ldint.texinfo: Likewise.
115 2007-05-18 Richard Sandiford <richard@codesourcery.com>
117 * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
118 (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
120 2007-05-16 Richard Sandiford <richard@codesourcery.com>
122 * configure.in: Allow sysroots to be relocated under $prefix as
123 well as $exec_prefix.
124 * configure: Regenerate.
126 2007-05-14 Andreas Schwab <schwab@suse.de>
128 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
131 2007-05-11 Alan Modra <amodra@bigpond.net.au>
133 * emultempl/ppc32elf.em (plt_style): New variable.
135 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
136 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
137 OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
138 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
139 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
140 * ld.texinfo (--secure-plt): Document.
142 2007-05-08 Alan Modra <amodra@bigpond.net.au>
144 * ld.h (args_type, ld_config_type): Reorder fields.
145 * ldmain.c (main): Don't initialise a bunch of vars we know are
148 2007-05-05 Anatoly Sokolov <aesok@post.ru>
150 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
151 "--pmem-wrap-around".
152 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
154 2007-05-03 Bob Wilson <bob.wilson@acm.org>
156 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
158 2007-05-03 Alan Modra <amodra@bigpond.net.au>
160 * ld.texinfo (--no-warn-search-mismatch): Document.
161 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
162 incompatible libraries if --no-warn-search-mismatch.
163 * ld.h (args_type): Add warn_search_mismatch.
164 * ldmain.c (main): Init it.
165 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
166 (ld_options): Add entry for --no-warn-search-mismatch.
167 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
169 2007-05-03 Alan Modra <amodra@bigpond.net.au>
171 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
173 2007-05-01 Robert Millan <rmh@aybabtu.com>
175 * ldlang.c (lang_check): Error on architecture mismatch.
177 2007-04-30 Alan Modra <amodra@bigpond.net.au>
179 * ldmain.c (link_callbacks): Init info and minfo fields.
180 * ldmisc.c (minfo): Do nothing if no map file.
181 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
182 (spu_after_open): Adjust spu_elf_create_sections call.
183 (spu_before_allocation): Likewise for spu_elf_size_stubs.
184 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
185 (PARSE_AND_LIST_LONGOPTS): Add new entries.
186 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
187 * gen-doc.texi: Add @set for SPU and other missing targets.
188 * ld.texinfo: Update man page selection to match gen-doc.texi.
189 Document SPU features.
191 2007-04-28 Alan Modra <amodra@bigpond.net.au>
193 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
194 (cref_fill_array): Adjust for changed demangler.
195 * ldlang.c (lang_one_common): Likewise.
197 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
199 * emulparams/elf32_sparc.sh: Update comments.
200 * emulparams/elf32bmip.sh: Likewise.
201 * emulparams/elf32ppc.sh: Likewise.
202 * emulparams/vxworks.sh: Likewise.
204 2007-04-27 Alan Modra <amodra@bigpond.net.au>
206 Many files: Include sysdep.h first. Remove duplicate headers.
207 * Makefile.am: Run "make dep-am".
208 * Makefile.in: Regenerate.
210 2007-04-24 Alan Modra <amodra@bigpond.net.au>
212 * Makefile.in: Regenerate.
214 2007-04-19 Alan Modra <amodra@bigpond.net.au>
216 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
217 * ldlang.c (lang_one_common): Likewise.
218 * ldmisc.c (vfinfo): Likewise.
220 * ldmisc.h (demangle): Delete.
221 * Makefile.am: Run "make dep-am".
222 * Makefile.in: Regenerate.
224 2007-04-18 Alan Modra <amodra@bigpond.net.au>
226 * ldlang.h (enum section_type): Add overlay_section.
227 * ldlang.c (lang_add_section): Handle flags for overlay_section
228 as per normal_section.
229 (lang_size_sections_1): When setting lma, detect overlays by
230 os->sectype rather than by looking for overlapping vmas.
231 (lang_enter_overlay_section): Use overlay_section type.
232 (lang_leave_overlay): Set first overlay section to normal.
234 2007-04-14 Steve Ellcey <sje@cup.hp.com>
236 * Makefile.am: Add ACLOCAL_AMFLAGS.
237 * Makefile.in: Regenerate.
239 2007-04-12 Bob Wilson <bob.wilson@acm.org>
241 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
243 2007-04-10 Richard Henderson <rth@redhat.com>
245 * ldlang.c (relax_sections): Initialize and increment
246 link_info.relax_trip.
248 2007-04-04 Paul Brook <paul@codesourcery.com>
250 * configure.tgt: Loosen checks for arm uclinux eabi targets.
252 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
255 * ldexp.h (node_type): Add lineno.
256 * ldexp.c: Include "ldlex.h".
257 (exp_intop): Set the lineno field from lineno.
258 (exp_bigintop): Likewise.
259 (exp_relop): Likewise.
260 (exp_nameop): Likewise.
261 (exp_binop): Set the lineno field from lineno of lhs.
262 (exp_trinop): Likewise.
263 (exp_unop): Set the lineno field from lineno of child.
264 (exp_assop): Set the lineno field from lineno of src.
265 (exp_provide): Likewise.
266 (exp_assert): Set the lineno field from lineno of exp.
267 (exp_get_abs_int): Set lineno from lineno of nonconstant
268 expression when report problem.
270 2007-03-29 Richard Sandiford <richard@codesourcery.com>
271 Daniel Jacobowitz <dan@codesourcery.com>
273 * NEWS: Mention -l:foo.
274 * ld.texinfo: Document it.
275 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
276 entry as a name beginning with a coloh, convert it to a
277 lang_input_file_is_search_file_enum entry without the colon.
279 2007-03-28 Richard Sandiford <richard@codesourcery.com>
281 * ld.h (ld_config_type): Add rpath_separator.
282 * ldmain.c (main): Initialize it.
283 * lexsup.c (parse_args): Honor config.rpath_separator.
284 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
285 (gld${EMULATION_NAME}_add_sysroot): Likewise.
286 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
287 rather than ':' when building the path.
288 * emultempl/vxworks.em (vxworks_before_parse): New function.
289 Override config.rpath_separator.
290 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
291 set to gld${EMULATION_NAME}_after_open; #define that identifier
292 to vxworks_foo instead.
293 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
295 2007-03-28 Richard Sandiford <richard@codesourcery.com>
296 Phil Edwards <phil@codesourcery.com>
298 * ld.texinfo: Put the contents after the title page rather
299 than at the end of the document.
301 2007-03-26 Alan Modra <amodra@bigpond.net.au>
303 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
304 spu target emul files.
305 * configure.in: Check for mkstemp and waitpid.
306 * Makefile.in: Regenerate.
307 * configure: Regenerate.
308 * config.in: Regenerate.
309 * ldlang.c (input_file_chain): Make global.
310 (lang_add_input_file): Don't set lang_has_input_file here.
311 * ldlang.h (input_file_chain): Declare.
312 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
313 (LDEMUL_RECOGNIZED_FILE): Define.
314 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
315 (LDEMUL_RECOGNIZED_FILE): Define.
316 * emultempl/spuelf.em (struct tflist): New.
317 (tmp_file_list): New var.
318 (clean_tmp, embedded_spu_file): New functions.
320 2007-03-24 Alan Modra <amodra@bigpond.net.au>
322 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
323 rather than defining unconditionally.
324 (lang_leave_overlay_section): Likewise.
325 * ld.texinfo (Overlay Description): Update description and examples
328 2007-03-22 Joseph Myers <joseph@codesourcery.com>
330 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
332 2007-03-20 Paul Brook <paul@codesourcery.com>
334 * emultempl/armelf.em (pic_veneer): New variable.
335 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
336 (PARSE_AND_LIST_ARGS_CASES): Ditto.
337 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
338 (PARSE_AND_LIST_OPTIONS): Ditto.
339 * ld.texinfo: Document --pic-veneer.
341 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
343 * ld.texinfo: Document --no-enum-size-warning.
344 * emultempl/armelf.em (no_enum_size_warning): New.
345 (arm_elf_create_output_section_statements): Correct typo
346 in comment. Pass no_enum_size_warning to
347 bfd_elf32_arm_set_target_relocs.
348 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
349 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
350 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
353 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
355 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
356 (bfin-*-linux-uclibc*): New target.
358 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
360 * pe-dll.c (make_one): Use pc-relative relocation instead of an
361 absolute relocation for x86_64-pc-mingw32 target.
363 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
365 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
366 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
367 (TEXI2DVI): Likewise.
368 (REPORT_BUGS_TO): Removed.
369 (INCLUDES): Remove -DREPORT_BUGS_TO.
370 (ldver.texi): Likewise.
371 (ld.1): Don't depend on ldver.texi.
372 (MOSTLYCLEANFILES): Remove ldver.texi.
373 * Makefile.in: Regenerated.
375 * configure.in (--with-bugurl): Removed.
376 * configure: Regenerated.
378 * lexsup.c: Include bfdver.h.
380 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
382 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
384 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
386 2007-03-08 Alan Modra <amodra@bigpond.net.au>
388 * ldlang.c (lang_size_sections_1): Correct backwards dot move
389 test to not trigger on overlays. Only warn on backwards move
392 2007-03-07 Joseph Myers <joseph@codesourcery.com>
394 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
396 * Makefile.am (ldver.texi): Define BUGURL.
397 * ld.texinfo: Use BUGURL.
398 * Makefile.in, configure: Regenerate.
400 2007-03-07 Nick Clifton <nickc@redhat.com>
403 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
404 from any paths being inserted into the output binary's DT_RPATH.
406 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
408 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
410 2007-03-01 Joseph Myers <joseph@codesourcery.com>
412 * ldver.c (ldversion): Remove word "version" from output. Update
415 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
417 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
418 (eshelf_uclinux.c): New target.
419 * Makefile.in: Rebuilt.
420 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
421 * emulparams/shelf_uclinux.sh: New.
423 2007-02-28 Alan Modra <amodra@bigpond.net.au>
425 * configure.tgt: Fix type last change.
426 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
428 2007-02-27 Alan Modra <amodra@bigpond.net.au>
430 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
431 (eelf32_spu.c): Adjust dependencies.
432 * Makefile.in: Regenerate.
433 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
435 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
436 (ovl_mgr_stream): Update.
437 * emultempl/spu_inc.s: Delete.
438 * emultempl/spu_none.s: Delete.
440 2007-02-26 Alan Modra <amodra@bigpond.net.au>
442 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
443 to _binary_spu_ovl_o_start.
444 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
445 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
446 * emultempl/spu_inc.s: Rename symbols.
447 * emultempl/spu_none.s: New file.
448 * emultempl/spu_ovl.S: Update copyright.
449 * Makefile.am (spu_inc.o): Try building with ld -r first, then
450 gas incbin, then build without overlay manager.
451 * Makefile.in: Regenerate.
453 2007-02-22 Joseph Myers <joseph@codesourcery.com>
455 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
456 mips*el-*-linux-*, mips*-*-linux-*): Set
457 targ_extra_libpath=$targ_extra_emuls.
459 2007-02-21 Nick Clifton <nickc@redhat.com>
461 * ldlang.c (ldlang_override_segment_assignment): New function.
462 * ldlang.h (ldlang_override_segment_assignment): Prototype.
463 * ldmain.c (link_callbacks): Add
464 ldlang_override_segment_assignment.
466 2007-02-20 Alan Modra <amodra@bigpond.net.au>
468 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
470 2007-02-17 Mark Mitchell <mark@codesourcery.com>
471 Nathan Sidwell <nathan@codesourcery.com>
472 Vladimir Prus <vladimir@codesourcery.com
473 Joseph Myers <joseph@codesourcery.com>
475 * configure.in (--with-bugurl): New option.
476 * configure: Regenerate.
477 * Makefile.am (REPORT_BUGS_TO): Define.
478 (INCLUDES): Define REPORT_BUGS_TO.
479 Regenerate dependencies.
480 * Makefile.in: Regenerate.
481 * ld.h: Remove include of bin-bugs.h.
482 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
484 2007-02-17 Alan Modra <amodra@bigpond.net.au>
486 * ldcref.c (check_reloc_refs): Compare section for local syms.
488 2007-02-13 Alan Modra <amodra@bigpond.net.au>
490 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
491 (__ovly_load_event): Define.
492 (size): Rename to osize.
493 * emultempl/spu_ovl.o: Regenerate.
495 2007-02-13 Alan Modra <amodra@bigpond.net.au>
497 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
498 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
501 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
503 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
505 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
507 * configure: Regenerated.
509 * configure.tgt (targ_extra_libpath): Initialize.
510 (targ64_extra_emuls): New. Document. Initialize.
511 (targ64_extra_libpath): Likewise.
512 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
513 targ64_extra_libpath.
514 (powerpc*-*-linux*): Likewise.
515 (s390-*-linux*): Likewise.
517 2007-02-07 Paul Brook <paul@codesourcery.com>
519 * configure.tgt: Add arm*-*-uclinux-*eabi.
521 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
523 * ldlang.c (lang_size_sections_1): Add a missing `)'.
525 2007-02-06 Alan Modra <amodra@bigpond.net.au>
528 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
529 move unless section size is non-zero.
531 2007-02-05 Dave Brolley <brolley@redhat.com>
533 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
534 * configure.tgt: Likewise.
535 * scripttempl/mep.sc: New file.
536 * emulparams/elf32mep.sh: New file.
537 * Makefile.in: Regenerate.
539 2006-01-29 Julian Brown <julian@codesourcery.com>
541 * NEWS: Mention --vfp11-denorm-fix option.
542 * ld.texinfo: Document above.
543 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
544 .vfp11_veneer section.
545 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
546 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
547 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
548 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
549 (arm_elf_after_allocation): New function. Call
550 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
551 (arm_elf_create_output_section_statements): Pass vfp11 fix command
553 (OPTION_VFP11_DENORM_FIX): New option.
554 (PARSE_AND_LIST_LONGOPTS): Handle new option.
555 (PARSE_AND_LIST_OPTIONS): Likewise.
556 (PARSE_AND_LIST_ARGS_CASES): Likewise.
557 (LDEMUL_AFTER_ALLOCATION): Define.
559 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
561 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
562 (DEFSYMEND): Likewise.
566 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
568 * pe-dll.c: (make_one) Conditionally include jump stubs.
569 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
570 redundant jump stubs from import libraries and exclude them from
573 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
575 * ld.h (args_type): Add new symbolic and dynamic_list fields.
577 * ld.texinfo: Update -Bsymbolic-functions.
579 * ldmain.c (main): Initialize command_line.symbolic to
580 symbolic_unset and command_line.dynamic_list to
581 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
582 --dynamic-list* before setting link_info.symbolic,
583 link_info.dynamic and link_info.dynamic_data.
585 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
586 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
587 -Bsymbolic-functions.
588 (parse_args): Handle -Bsymbolic-functions. Don't set
589 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
590 here. Set command_line.symbolic for -Bsymbolic. Set
591 command_line.dynamic_list and command_line.symbolic for
592 --dynamic-list-data, --dynamic-list-cpp-new,
593 --dynamic-list-cpp-typeinfo and --dynamic-list.
595 2007-01-19 Jakub Jelinek <jakub@redhat.com>
596 H.J. Lu <hongjiu.lu@intel.com>
598 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
599 or -z common-page-size argument is a power of 2. Call
600 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
602 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
604 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
605 bfd_emul_set_commonpagesize.
607 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
609 * NEWS: Mention --default-script/-dT.
611 * ld.h (args_type): Add a default_script field.
613 * ld.texinfo: Document --default-script/-dT.
615 * ldmain.c (main): Handle command_line.default_script.
617 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
618 (ld_options): Add entries for --default-script and -dT.
619 (parse_args): Handle --default-script/-dT.
621 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
624 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
625 --dynamic-list-cpp-new.
627 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
628 and --dynamic-list-cpp-new.
630 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
631 (lang_process): Change link_info.dynamic to
632 link_info.dynamic_list.
633 (lang_append_dynamic_list): Likewise.
634 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
635 link_info.dynamic_data to FALSE.
637 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
639 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
640 OPTION_DYNAMIC_LIST_CPP_NEW.
641 (ld_options): Add entries for -Bsymbolic-functions,
642 --dynamic-list-data and --dynamic-list-cpp-new. Make
643 -Bsymbolic-functions an alias of --dynamic-list-data.
644 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
645 Set link_info.dynamic to TRUE for --dynamic-list and
646 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
647 --dynamic-list-cpp-new.
649 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
651 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
652 shrinkage for the first few iterations.
654 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
656 * configure.tgt: Renamed target x86_64-*-mingw64 to
659 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
661 * configure.host: Add i[3-7]86-*-mingw* case.
663 2007-01-08 Nick Clifton <nickc@redhat.com>
665 * pep-dll.h (pep_bfd_is_dll): Add prototype.
667 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
670 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
673 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
675 * ldexp.c (fold_name): Issue error on undefined sections.
677 2007-01-02 Alan Modra <amodra@bigpond.net.au>
679 * pe-dll.c: Include pe-dll.h.
680 * pep-dll.c (pe_bfd_is_dll): Define.
682 For older changes see ChangeLog-2006
688 version-control: never