bfd/
[binutils.git] / ld / ChangeLog
blob475d05d3e99379e9103f4a214c897d082af03bd6
1 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3         * aclocal.m4: Regenerated.
4         * Makefile.in: Likewise.
6 2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
8         * NEWS: Remove a line with '*' only.
10 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
12         * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
13         (ATTRS_SECTIONS): Define.
14         * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
15         scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
16         scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
18 2006-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
20         * scripttemp/elf32cr16.sc: Default linker script.
21         * emulparams/elf32cr16.sh: Emulation script.
22         * emultempl/cr16elf.em: Emulation script.
23         * Makefile.am: Add entry to make cr16 target.
24         * Makefile.in: Regenerate.
25         * configure.tgt: Specify default and other emulation parameters
26         for cr16.
27         * ChangeLog: Added CR16 target entry.
28         * NEWS: Announce the support for the CR16 new target.
30 2007-06-27  Alan Modra  <amodra@bigpond.net.au>
32         * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
34 2007-06-20  Alan Modra  <amodra@bigpond.net.au>
36         * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
38 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
40         * ldlex.l, ldgram.y: Add ALIGNOF.
41         * ldexp.c (exp_print_token, foldname): Likewise.
42         * ld.texinfo: Likewise.
44 2007-06-18  Alan Modra  <amodra@bigpond.net.au>
46         * Makefile.am: Add eelf32_spu.o rule.
47         * Makefile.in: Regenerate.
48         * emultempl/spuelf.em: Revert last change.  Instead use EMBEDSPU
49         defined in Makefile for embedspu name.
51 2007-06-18  Alan Modra  <amodra@bigpond.net.au>
53         * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
54         name prefix from that of ld.
56 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
58         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
60         * acinclude.m4: Removed.
62         * Makefile.in: Regenerated.
63         * aclocal.m4: Likewise.
64         * configure: Likewise.
66 2007-06-14  Alan Modra  <amodra@bigpond.net.au>
68         * emultempl/spu_ovl.S: Don't trash lr on tail call from one
69         overlay to another.
70         * emultempl/spu_ovl.o: Regenerate.
72 2007-06-11  Bob Wilson  <bob.wilson@acm.org>
74         * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
75         for .xt_except_table.
76         (OTHER_RELRO_SECTIONS): New.
78 2007-06-11  Sterling Augustine  <sterling@tensilica.com>
79             Bob Wilson  <bob.wilson@acm.org>
80         
81         * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
82         XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
83         
84 2007-06-01  Noah Misch  <noah@cs.caltech.edu>
85             Alan Modra  <amodra@bigpond.net.au>
87         * ldlang.c (ldlang_add_file): Use input_bfds_tail.
88         * ldmain.c (main): Init input_bfds_tail.  Sort link_info
89         initialization.
91 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
93         * emultempl/spuelf.em (base_name): New function, split out from..
94         (embedded_spu_file) ..here.  Pass -fPIC or -fpie to embedspu
95         invocation if we deduce a shared lib or position independent
96         executable build by looking at ctrbegin* linker input files.
98 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
100         * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
101         types and sizes.
102         * emultempl/spu_ovl.o: Regenerate.
104 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
106         * Makefile.in: Regnerate.
107         * configure: Regenerate.
108         * aclocal.m4: Regenerate.
110 2007-05-24  Nathan Sidwell  <nathan@codesourcery.com>
112         * ldlex.l: ASSERT is recognized in SCRIPT env.  NAMES cannot
113         contain commas in EXP env.
114         * ldgram.y (extern_name_list): Push to EXP env, move body to ...
115         (extern_name_list_body): ... here.
116         (script_file, ifile_list): Reformat.
117         (statement): Add ASSERT.
119 2007-05-22  Nick Clifton  <nickc@redhat.com>
121         * ld.texinfo: Use @copying around the copyright notice.
122         * ldint.texinfo: Likewise.
124 2007-05-18  Richard Sandiford  <richard@codesourcery.com>
126         * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
127         (OTHER_READWRITE_SECTIONS): Define.  Add .rdata sections.
129 2007-05-16  Richard Sandiford  <richard@codesourcery.com>
131         * configure.in: Allow sysroots to be relocated under $prefix as
132         well as $exec_prefix.
133         * configure: Regenerate.
135 2007-05-14  Andreas Schwab  <schwab@suse.de>
137         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
138         Handle null pattern.
140 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
142         * emultempl/ppc32elf.em (plt_style): New variable.
143         (old_plt): Delete.
144         (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
145         (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
146         OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
147         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
148         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
149         * ld.texinfo (--secure-plt): Document.
151 2007-05-08  Alan Modra  <amodra@bigpond.net.au>
153         * ld.h (args_type, ld_config_type): Reorder fields.
154         * ldmain.c (main): Don't initialise a bunch of vars we know are
155         zero already.
157 2007-05-05  Anatoly Sokolov <aesok@post.ru>
159         * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for 
160         "--pmem-wrap-around".
161         (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
163 2007-05-03  Bob Wilson  <bob.wilson@acm.org>
165         * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
167 2007-05-03  Alan Modra  <amodra@bigpond.net.au>
169         * ld.texinfo (--no-warn-search-mismatch): Document.
170         * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
171         incompatible libraries if --no-warn-search-mismatch.
172         * ld.h (args_type): Add warn_search_mismatch.
173         * ldmain.c (main): Init it.
174         * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
175         (ld_options): Add entry for --no-warn-search-mismatch.
176         (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
178 2007-05-03  Alan Modra  <amodra@bigpond.net.au>
180         * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
182 2007-05-01  Robert Millan  <rmh@aybabtu.com>
184         * ldlang.c (lang_check): Error on architecture mismatch.
186 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
188         * ldmain.c (link_callbacks): Init info and minfo fields.
189         * ldmisc.c (minfo): Do nothing if no map file.
190         * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
191         (spu_after_open): Adjust spu_elf_create_sections call.
192         (spu_before_allocation): Likewise for spu_elf_size_stubs.
193         (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
194         (PARSE_AND_LIST_LONGOPTS): Add new entries.
195         (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
196         * gen-doc.texi: Add @set for SPU and other missing targets.
197         * ld.texinfo: Update man page selection to match gen-doc.texi.
198         Document SPU features.
200 2007-04-28  Alan Modra  <amodra@bigpond.net.au>
202         * ldcref.c (struct cref_hash_entry): Make "demangled" const.
203         (cref_fill_array): Adjust for changed demangler.
204         * ldlang.c (lang_one_common): Likewise.
206 2007-04-27  Nathan Froyd  <froydnj@codesourcery.com>
208         * emulparams/elf32_sparc.sh: Update comments.
209         * emulparams/elf32bmip.sh: Likewise.
210         * emulparams/elf32ppc.sh: Likewise.
211         * emulparams/vxworks.sh: Likewise.
213 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
215         Many files: Include sysdep.h first.  Remove duplicate headers.
216         * Makefile.am: Run "make dep-am".
217         * Makefile.in: Regenerate.
219 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
221         * Makefile.in: Regenerate.
223 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
225         * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
226         * ldlang.c (lang_one_common): Likewise.
227         * ldmisc.c (vfinfo): Likewise.
228         (demangle): Delete.
229         * ldmisc.h (demangle): Delete.
230         * Makefile.am: Run "make dep-am".
231         * Makefile.in: Regenerate.
233 2007-04-18  Alan Modra  <amodra@bigpond.net.au>
235         * ldlang.h (enum section_type): Add overlay_section.
236         * ldlang.c (lang_add_section): Handle flags for overlay_section
237         as per normal_section.
238         (lang_size_sections_1): When setting lma, detect overlays by
239         os->sectype rather than by looking for overlapping vmas.
240         (lang_enter_overlay_section): Use overlay_section type.
241         (lang_leave_overlay): Set first overlay section to normal.
243 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
245         * Makefile.am: Add ACLOCAL_AMFLAGS.
246         * Makefile.in: Regenerate.
248 2007-04-12  Bob Wilson  <bob.wilson@acm.org>
250         * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
252 2007-04-10  Richard Henderson  <rth@redhat.com>
254         * ldlang.c (relax_sections): Initialize and increment
255         link_info.relax_trip.
257 2007-04-04  Paul Brook  <paul@codesourcery.com>
259         * configure.tgt: Loosen checks for arm uclinux eabi targets.
261 2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>
263         PR ld/4090
264         * ldexp.h (node_type): Add lineno.
265         * ldexp.c: Include "ldlex.h".
266         (exp_intop): Set the lineno field from lineno.
267         (exp_bigintop): Likewise.
268         (exp_relop): Likewise.
269         (exp_nameop): Likewise.
270         (exp_binop): Set the lineno field from lineno of lhs.
271         (exp_trinop): Likewise.
272         (exp_unop): Set the lineno field from lineno of child.
273         (exp_assop): Set the lineno field from lineno of src.
274         (exp_provide): Likewise.
275         (exp_assert): Set the lineno field from lineno of exp.
276         (exp_get_abs_int): Set lineno from lineno of nonconstant
277         expression when report problem.
279 2007-03-29  Richard Sandiford  <richard@codesourcery.com>
280             Daniel Jacobowitz  <dan@codesourcery.com>
282         * NEWS: Mention -l:foo.
283         * ld.texinfo: Document it.
284         * ldlang.c (new_afile): If a lang_input_file_is_l_enum
285         entry as a name beginning with a coloh, convert it to a
286         lang_input_file_is_search_file_enum entry without the colon.
288 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
290         * ld.h (ld_config_type): Add rpath_separator.
291         * ldmain.c (main): Initialize it.
292         * lexsup.c (parse_args): Honor config.rpath_separator.
293         * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
294         (gld${EMULATION_NAME}_add_sysroot): Likewise.
295         (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
296         rather than ':' when building the path.
297         * emultempl/vxworks.em (vxworks_before_parse): New function.
298         Override config.rpath_separator.
299         (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
300         set to gld${EMULATION_NAME}_after_open; #define that identifier
301         to vxworks_foo instead.
302         (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
304 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
305             Phil Edwards  <phil@codesourcery.com>
307         * ld.texinfo: Put the contents after the title page rather
308         than at the end of the document.
310 2007-03-26  Alan Modra  <amodra@bigpond.net.au>
312         * Makefile.am: Add dependency on ldemul-list.h for powerpc and
313         spu target emul files.
314         * configure.in: Check for mkstemp and waitpid.
315         * Makefile.in: Regenerate.
316         * configure: Regenerate.
317         * config.in: Regenerate.
318         * ldlang.c (input_file_chain): Make global.
319         (lang_add_input_file): Don't set lang_has_input_file here.
320         * ldlang.h (input_file_chain): Declare.
321         * emultempl/ppc32elf.em (ppc_recognized_file): New function.
322         (LDEMUL_RECOGNIZED_FILE): Define.
323         * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
324         (LDEMUL_RECOGNIZED_FILE): Define.
325         * emultempl/spuelf.em (struct tflist): New.
326         (tmp_file_list): New var.
327         (clean_tmp, embedded_spu_file): New functions.
329 2007-03-24  Alan Modra  <amodra@bigpond.net.au>
331         * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
332         rather than defining unconditionally.
333         (lang_leave_overlay_section): Likewise.
334         * ld.texinfo (Overlay Description): Update description and examples
335         for start/stop syms.
337 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
339         * ld.texinfo: Include VERSION_PACKAGE when reporting version.
341 2007-03-20  Paul Brook  <paul@codesourcery.com>
343         * emultempl/armelf.em (pic_veneer): New variable.
344         (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
345         (PARSE_AND_LIST_ARGS_CASES): Ditto.
346         (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
347         (PARSE_AND_LIST_OPTIONS): Ditto.
348         * ld.texinfo: Document --pic-veneer.
350 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
352         * ld.texinfo: Document --no-enum-size-warning.
353         * emultempl/armelf.em (no_enum_size_warning): New.
354         (arm_elf_create_output_section_statements): Correct typo
355         in comment.  Pass no_enum_size_warning to
356         bfd_elf32_arm_set_target_relocs.
357         (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
358         (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
359         (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
360         case.
362 2007-03-19  Bernd Schmidt  <bernd.schmidt@analog.com>
364         * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
365         (bfin-*-linux-uclibc*): New target.
367 2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
369         * pe-dll.c (make_one): Use pc-relative relocation instead of an
370         absolute relocation for x86_64-pc-mingw32 target.
372 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
374         * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
375         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
376         (TEXI2DVI): Likewise.
377         (REPORT_BUGS_TO): Removed.
378         (INCLUDES): Remove -DREPORT_BUGS_TO.
379         (ldver.texi): Likewise.
380         (ld.1): Don't depend on ldver.texi.
381         (MOSTLYCLEANFILES): Remove ldver.texi.
382         * Makefile.in: Regenerated.
384         * configure.in (--with-bugurl): Removed.
385         * configure: Regenerated.
387         * lexsup.c: Include bfdver.h.
389         * ld.texinfo: Include bfdver.texi instead of ldver.texi.
391 2007-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
393         * emultempl/mmixelf.em: Remove incorrect '#line' directive.
395 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
397         * ldlang.c (lang_size_sections_1): Correct backwards dot move
398         test to not trigger on overlays.  Only warn on backwards move
399         if non-default lma.
401 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
403         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
404         bug-reporting URL.
405         * Makefile.am (ldver.texi): Define BUGURL.
406         * ld.texinfo: Use BUGURL.
407         * Makefile.in, configure: Regenerate.
409 2007-03-07  Nick Clifton  <nickc@redhat.com>
411         PR ld/4023
412         * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
413         from any paths being inserted into the output binary's DT_RPATH.
415 2007-03-02  Nathan Sidwell  <nathan@codesourcery.com>
417         * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
419 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
421         * ldver.c (ldversion): Remove word "version" from output.  Update
422         copyright date.
424 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
426         * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
427         (eshelf_uclinux.c): New target.
428         * Makefile.in: Rebuilt.
429         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
430         * emulparams/shelf_uclinux.sh: New.
432 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
434         * configure.tgt: Fix type last change.
435         * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
437 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
439         * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
440         (eelf32_spu.c): Adjust dependencies.
441         * Makefile.in: Regenerate.
442         * emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
443         code using bin2c.
444         (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
445         (ovl_mgr_stream): Update.
446         * emultempl/spu_inc.s: Delete.
447         * emultempl/spu_none.s: Delete.
449 2007-02-26  Alan Modra  <amodra@bigpond.net.au>
451         * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
452         to _binary_spu_ovl_o_start.
453         (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
454         (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
455         * emultempl/spu_inc.s: Rename symbols.
456         * emultempl/spu_none.s: New file.
457         * emultempl/spu_ovl.S: Update copyright.
458         * Makefile.am (spu_inc.o): Try building with ld -r first, then
459         gas incbin, then build without overlay manager.
460         * Makefile.in: Regenerate.
462 2007-02-22  Joseph Myers  <joseph@codesourcery.com>
464         * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
465         mips*el-*-linux-*, mips*-*-linux-*): Set
466         targ_extra_libpath=$targ_extra_emuls.
468 2007-02-21  Nick Clifton  <nickc@redhat.com>
470         * ldlang.c (ldlang_override_segment_assignment): New function.
471         * ldlang.h (ldlang_override_segment_assignment): Prototype.
472         * ldmain.c (link_callbacks): Add
473         ldlang_override_segment_assignment.
475 2007-02-20  Alan Modra  <amodra@bigpond.net.au>
477         * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
479 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
480             Nathan Sidwell  <nathan@codesourcery.com>
481             Vladimir Prus  <vladimir@codesourcery.com
482             Joseph Myers  <joseph@codesourcery.com>
484         * configure.in (--with-bugurl): New option.
485         * configure: Regenerate.
486         * Makefile.am (REPORT_BUGS_TO): Define.
487         (INCLUDES): Define REPORT_BUGS_TO.
488         Regenerate dependencies.
489         * Makefile.in: Regenerate.
490         * ld.h: Remove include of bin-bugs.h.
491         * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
493 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
495         * ldcref.c (check_reloc_refs): Compare section for local syms.
497 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
499         * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
500         (__ovly_load_event): Define.
501         (size): Rename to osize.
502         * emultempl/spu_ovl.o: Regenerate.
504 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
506         * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
507         * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
508         SEC_RELOC flag set.
510 2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
512         * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
513         want64 is true.
514         (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
515         true
516         * configure: Regenerated.
518         * configure.tgt (targ_extra_libpath): Initialize.
519         (targ64_extra_emuls): New. Document. Initialize.
520         (targ64_extra_libpath): Likewise.
521         (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
522         targ64_extra_libpath.
523         (powerpc*-*-linux*): Likewise.
524         (s390-*-linux*): Likewise.
526 2007-02-07  Paul Brook  <paul@codesourcery.com>
528         * configure.tgt: Add arm*-*-uclinux-*eabi.
530 2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
532         * ldlang.c (lang_size_sections_1): Add a missing `)'.
534 2007-02-06  Alan Modra  <amodra@bigpond.net.au>
536         PR ld/3966
537         * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
538         move unless section size is non-zero.
540 2007-02-05  Dave Brolley  <brolley@redhat.com>
542         * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
543         * configure.tgt: Likewise.
544         * scripttempl/mep.sc: New file.
545         * emulparams/elf32mep.sh: New file.
546         * Makefile.in: Regenerate.
548 2006-01-29  Julian Brown  <julian@codesourcery.com>
550         * NEWS: Mention --vfp11-denorm-fix option.
551         * ld.texinfo: Document above.
552         * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
553         .vfp11_veneer section.
554         * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
555         * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
556         (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
557         bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
558         (arm_elf_after_allocation): New function. Call
559         bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
560         (arm_elf_create_output_section_statements): Pass vfp11 fix command
561         line option to BFD.
562         (OPTION_VFP11_DENORM_FIX): New option.
563         (PARSE_AND_LIST_LONGOPTS): Handle new option.
564         (PARSE_AND_LIST_OPTIONS): Likewise.
565         (PARSE_AND_LIST_ARGS_CASES): Likewise.
566         (LDEMUL_AFTER_ALLOCATION): Define.
568 2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
570         * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
571         (DEFSYMEND): Likewise.
572         (NAME): Likewise.
573         (LNAME): Likewise.
575 2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
577         * pe-dll.c: (make_one) Conditionally include jump stubs.
578         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
579         redundant jump stubs from import libraries and exclude them from
580         link.
582 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
584         * ld.h (args_type): Add new symbolic and dynamic_list fields.
586         * ld.texinfo: Update -Bsymbolic-functions.
588         * ldmain.c (main): Initialize command_line.symbolic to
589         symbolic_unset and command_line.dynamic_list to
590         dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
591         --dynamic-list* before setting link_info.symbolic,
592         link_info.dynamic and link_info.dynamic_data.
594         * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
595         (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
596         -Bsymbolic-functions.
597         (parse_args): Handle -Bsymbolic-functions.  Don't set
598         link_info.dynamic, link_info.dynamic_data and link_info.symbolic
599         here.  Set command_line.symbolic for -Bsymbolic.  Set
600         command_line.dynamic_list and command_line.symbolic for
601         --dynamic-list-data, --dynamic-list-cpp-new,
602         --dynamic-list-cpp-typeinfo and --dynamic-list.
604 2007-01-19  Jakub Jelinek  <jakub@redhat.com>
605             H.J. Lu  <hongjiu.lu@intel.com>
607         * emultempl/elf32.em (handle_option): Make sure -z max-page-size
608         or -z common-page-size argument is a power of 2.  Call
609         bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
611 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
613         * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
614         bfd_emul_set_commonpagesize.
616 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
618         * NEWS: Mention --default-script/-dT.
620         * ld.h (args_type): Add a default_script field.
622         * ld.texinfo: Document --default-script/-dT.
624         * ldmain.c (main): Handle command_line.default_script.
626         * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
627         (ld_options): Add entries for --default-script and -dT.
628         (parse_args): Handle --default-script/-dT.
630 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
632         PR ld/3831
633         * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
634         --dynamic-list-cpp-new.
636         * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
637         and --dynamic-list-cpp-new.
639         * ldlang.c (lang_append_dynamic_list_cpp_new): New.
640         (lang_process): Change link_info.dynamic to
641         link_info.dynamic_list.
642         (lang_append_dynamic_list): Likewise.
643         * ldmain.c (main): Likewise.  Initialize link_info.dynamic and
644         link_info.dynamic_data to FALSE.
646         * ldlang.h (lang_append_dynamic_list_cpp_new): New.
648         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
649         OPTION_DYNAMIC_LIST_CPP_NEW.
650         (ld_options): Add entries for -Bsymbolic-functions,
651         --dynamic-list-data and --dynamic-list-cpp-new.  Make
652         -Bsymbolic-functions an alias of --dynamic-list-data.
653         (parse_args): Change link_info.dynamic to link_info.dynamic_list.
654         Set link_info.dynamic to TRUE for --dynamic-list and
655         --dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
656         --dynamic-list-cpp-new.
658 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
660         * emultempl/elf-generic.em (gdl_map_segments): Only allow header
661         shrinkage for the first few iterations.
663 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
665         * configure.tgt: Renamed target x86_64-*-mingw64 to
666         x86_64-*-mingw*.
668 2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
670         * configure.host: Add i[3-7]86-*-mingw* case.
672 2007-01-08  Nick Clifton  <nickc@redhat.com>
674         * pep-dll.h (pep_bfd_is_dll): Add prototype.
676 2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
678         PR ld/3843
679         * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
680         tdir_elf_i386_fbsd.
682 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
684         * ldexp.c (fold_name): Issue error on undefined sections.
686 2007-01-02  Alan Modra  <amodra@bigpond.net.au>
688         * pe-dll.c: Include pe-dll.h.
689         * pep-dll.c (pe_bfd_is_dll): Define.
691 For older changes see ChangeLog-2006
693 Local Variables:
694 mode: change-log
695 left-margin: 8
696 fill-column: 74
697 version-control: never
698 End: