* ldlex.l, ldgram.y: Add ALIGNOF.
[binutils.git] / ld / ChangeLog
blob9d3b3ee29595b9e1f4bb2e5da564607d3ea536f2
1 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
3         * ldlex.l, ldgram.y: Add ALIGNOF.
4         * ldexp.c (exp_print_token, foldname): Likewise.
5         * ld.texinfo: Likewise.
7 2007-06-18  Alan Modra  <amodra@bigpond.net.au>
9         * Makefile.am: Add eelf32_spu.o rule.
10         * Makefile.in: Regenerate.
11         * emultempl/spuelf.em: Revert last change.  Instead use EMBEDSPU
12         defined in Makefile for embedspu name.
14 2007-06-18  Alan Modra  <amodra@bigpond.net.au>
16         * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
17         name prefix from that of ld.
19 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
23         * acinclude.m4: Removed.
25         * Makefile.in: Regenerated.
26         * aclocal.m4: Likewise.
27         * configure: Likewise.
29 2007-06-14  Alan Modra  <amodra@bigpond.net.au>
31         * emultempl/spu_ovl.S: Don't trash lr on tail call from one
32         overlay to another.
33         * emultempl/spu_ovl.o: Regenerate.
35 2007-06-11  Bob Wilson  <bob.wilson@acm.org>
37         * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
38         for .xt_except_table.
39         (OTHER_RELRO_SECTIONS): New.
41 2007-06-11  Sterling Augustine  <sterling@tensilica.com>
42             Bob Wilson  <bob.wilson@acm.org>
43         
44         * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
45         XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
46         
47 2007-06-01  Noah Misch  <noah@cs.caltech.edu>
48             Alan Modra  <amodra@bigpond.net.au>
50         * ldlang.c (ldlang_add_file): Use input_bfds_tail.
51         * ldmain.c (main): Init input_bfds_tail.  Sort link_info
52         initialization.
54 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
56         * emultempl/spuelf.em (base_name): New function, split out from..
57         (embedded_spu_file) ..here.  Pass -fPIC or -fpie to embedspu
58         invocation if we deduce a shared lib or position independent
59         executable build by looking at ctrbegin* linker input files.
61 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
63         * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
64         types and sizes.
65         * emultempl/spu_ovl.o: Regenerate.
67 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
69         * Makefile.in: Regnerate.
70         * configure: Regenerate.
71         * aclocal.m4: Regenerate.
73 2007-05-24  Nathan Sidwell  <nathan@codesourcery.com>
75         * ldlex.l: ASSERT is recognized in SCRIPT env.  NAMES cannot
76         contain commas in EXP env.
77         * ldgram.y (extern_name_list): Push to EXP env, move body to ...
78         (extern_name_list_body): ... here.
79         (script_file, ifile_list): Reformat.
80         (statement): Add ASSERT.
82 2007-05-22  Nick Clifton  <nickc@redhat.com>
84         * ld.texinfo: Use @copying around the copyright notice.
85         * ldint.texinfo: Likewise.
87 2007-05-18  Richard Sandiford  <richard@codesourcery.com>
89         * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
90         (OTHER_READWRITE_SECTIONS): Define.  Add .rdata sections.
92 2007-05-16  Richard Sandiford  <richard@codesourcery.com>
94         * configure.in: Allow sysroots to be relocated under $prefix as
95         well as $exec_prefix.
96         * configure: Regenerate.
98 2007-05-14  Andreas Schwab  <schwab@suse.de>
100         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
101         Handle null pattern.
103 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
105         * emultempl/ppc32elf.em (plt_style): New variable.
106         (old_plt): Delete.
107         (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
108         (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
109         OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
110         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
111         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
112         * ld.texinfo (--secure-plt): Document.
114 2007-05-08  Alan Modra  <amodra@bigpond.net.au>
116         * ld.h (args_type, ld_config_type): Reorder fields.
117         * ldmain.c (main): Don't initialise a bunch of vars we know are
118         zero already.
120 2007-05-05  Anatoly Sokolov <aesok@post.ru>
122         * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for 
123         "--pmem-wrap-around".
124         (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
126 2007-05-03  Bob Wilson  <bob.wilson@acm.org>
128         * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
130 2007-05-03  Alan Modra  <amodra@bigpond.net.au>
132         * ld.texinfo (--no-warn-search-mismatch): Document.
133         * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
134         incompatible libraries if --no-warn-search-mismatch.
135         * ld.h (args_type): Add warn_search_mismatch.
136         * ldmain.c (main): Init it.
137         * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
138         (ld_options): Add entry for --no-warn-search-mismatch.
139         (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
141 2007-05-03  Alan Modra  <amodra@bigpond.net.au>
143         * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
145 2007-05-01  Robert Millan  <rmh@aybabtu.com>
147         * ldlang.c (lang_check): Error on architecture mismatch.
149 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
151         * ldmain.c (link_callbacks): Init info and minfo fields.
152         * ldmisc.c (minfo): Do nothing if no map file.
153         * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
154         (spu_after_open): Adjust spu_elf_create_sections call.
155         (spu_before_allocation): Likewise for spu_elf_size_stubs.
156         (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
157         (PARSE_AND_LIST_LONGOPTS): Add new entries.
158         (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
159         * gen-doc.texi: Add @set for SPU and other missing targets.
160         * ld.texinfo: Update man page selection to match gen-doc.texi.
161         Document SPU features.
163 2007-04-28  Alan Modra  <amodra@bigpond.net.au>
165         * ldcref.c (struct cref_hash_entry): Make "demangled" const.
166         (cref_fill_array): Adjust for changed demangler.
167         * ldlang.c (lang_one_common): Likewise.
169 2007-04-27  Nathan Froyd  <froydnj@codesourcery.com>
171         * emulparams/elf32_sparc.sh: Update comments.
172         * emulparams/elf32bmip.sh: Likewise.
173         * emulparams/elf32ppc.sh: Likewise.
174         * emulparams/vxworks.sh: Likewise.
176 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
178         Many files: Include sysdep.h first.  Remove duplicate headers.
179         * Makefile.am: Run "make dep-am".
180         * Makefile.in: Regenerate.
182 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
184         * Makefile.in: Regenerate.
186 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
188         * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
189         * ldlang.c (lang_one_common): Likewise.
190         * ldmisc.c (vfinfo): Likewise.
191         (demangle): Delete.
192         * ldmisc.h (demangle): Delete.
193         * Makefile.am: Run "make dep-am".
194         * Makefile.in: Regenerate.
196 2007-04-18  Alan Modra  <amodra@bigpond.net.au>
198         * ldlang.h (enum section_type): Add overlay_section.
199         * ldlang.c (lang_add_section): Handle flags for overlay_section
200         as per normal_section.
201         (lang_size_sections_1): When setting lma, detect overlays by
202         os->sectype rather than by looking for overlapping vmas.
203         (lang_enter_overlay_section): Use overlay_section type.
204         (lang_leave_overlay): Set first overlay section to normal.
206 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
208         * Makefile.am: Add ACLOCAL_AMFLAGS.
209         * Makefile.in: Regenerate.
211 2007-04-12  Bob Wilson  <bob.wilson@acm.org>
213         * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
215 2007-04-10  Richard Henderson  <rth@redhat.com>
217         * ldlang.c (relax_sections): Initialize and increment
218         link_info.relax_trip.
220 2007-04-04  Paul Brook  <paul@codesourcery.com>
222         * configure.tgt: Loosen checks for arm uclinux eabi targets.
224 2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>
226         PR ld/4090
227         * ldexp.h (node_type): Add lineno.
228         * ldexp.c: Include "ldlex.h".
229         (exp_intop): Set the lineno field from lineno.
230         (exp_bigintop): Likewise.
231         (exp_relop): Likewise.
232         (exp_nameop): Likewise.
233         (exp_binop): Set the lineno field from lineno of lhs.
234         (exp_trinop): Likewise.
235         (exp_unop): Set the lineno field from lineno of child.
236         (exp_assop): Set the lineno field from lineno of src.
237         (exp_provide): Likewise.
238         (exp_assert): Set the lineno field from lineno of exp.
239         (exp_get_abs_int): Set lineno from lineno of nonconstant
240         expression when report problem.
242 2007-03-29  Richard Sandiford  <richard@codesourcery.com>
243             Daniel Jacobowitz  <dan@codesourcery.com>
245         * NEWS: Mention -l:foo.
246         * ld.texinfo: Document it.
247         * ldlang.c (new_afile): If a lang_input_file_is_l_enum
248         entry as a name beginning with a coloh, convert it to a
249         lang_input_file_is_search_file_enum entry without the colon.
251 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
253         * ld.h (ld_config_type): Add rpath_separator.
254         * ldmain.c (main): Initialize it.
255         * lexsup.c (parse_args): Honor config.rpath_separator.
256         * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
257         (gld${EMULATION_NAME}_add_sysroot): Likewise.
258         (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
259         rather than ':' when building the path.
260         * emultempl/vxworks.em (vxworks_before_parse): New function.
261         Override config.rpath_separator.
262         (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
263         set to gld${EMULATION_NAME}_after_open; #define that identifier
264         to vxworks_foo instead.
265         (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
267 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
268             Phil Edwards  <phil@codesourcery.com>
270         * ld.texinfo: Put the contents after the title page rather
271         than at the end of the document.
273 2007-03-26  Alan Modra  <amodra@bigpond.net.au>
275         * Makefile.am: Add dependency on ldemul-list.h for powerpc and
276         spu target emul files.
277         * configure.in: Check for mkstemp and waitpid.
278         * Makefile.in: Regenerate.
279         * configure: Regenerate.
280         * config.in: Regenerate.
281         * ldlang.c (input_file_chain): Make global.
282         (lang_add_input_file): Don't set lang_has_input_file here.
283         * ldlang.h (input_file_chain): Declare.
284         * emultempl/ppc32elf.em (ppc_recognized_file): New function.
285         (LDEMUL_RECOGNIZED_FILE): Define.
286         * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
287         (LDEMUL_RECOGNIZED_FILE): Define.
288         * emultempl/spuelf.em (struct tflist): New.
289         (tmp_file_list): New var.
290         (clean_tmp, embedded_spu_file): New functions.
292 2007-03-24  Alan Modra  <amodra@bigpond.net.au>
294         * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
295         rather than defining unconditionally.
296         (lang_leave_overlay_section): Likewise.
297         * ld.texinfo (Overlay Description): Update description and examples
298         for start/stop syms.
300 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
302         * ld.texinfo: Include VERSION_PACKAGE when reporting version.
304 2007-03-20  Paul Brook  <paul@codesourcery.com>
306         * emultempl/armelf.em (pic_veneer): New variable.
307         (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
308         (PARSE_AND_LIST_ARGS_CASES): Ditto.
309         (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
310         (PARSE_AND_LIST_OPTIONS): Ditto.
311         * ld.texinfo: Document --pic-veneer.
313 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
315         * ld.texinfo: Document --no-enum-size-warning.
316         * emultempl/armelf.em (no_enum_size_warning): New.
317         (arm_elf_create_output_section_statements): Correct typo
318         in comment.  Pass no_enum_size_warning to
319         bfd_elf32_arm_set_target_relocs.
320         (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
321         (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
322         (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
323         case.
325 2007-03-19  Bernd Schmidt  <bernd.schmidt@analog.com>
327         * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
328         (bfin-*-linux-uclibc*): New target.
330 2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
332         * pe-dll.c (make_one): Use pc-relative relocation instead of an
333         absolute relocation for x86_64-pc-mingw32 target.
335 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
337         * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
338         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
339         (TEXI2DVI): Likewise.
340         (REPORT_BUGS_TO): Removed.
341         (INCLUDES): Remove -DREPORT_BUGS_TO.
342         (ldver.texi): Likewise.
343         (ld.1): Don't depend on ldver.texi.
344         (MOSTLYCLEANFILES): Remove ldver.texi.
345         * Makefile.in: Regenerated.
347         * configure.in (--with-bugurl): Removed.
348         * configure: Regenerated.
350         * lexsup.c: Include bfdver.h.
352         * ld.texinfo: Include bfdver.texi instead of ldver.texi.
354 2007-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
356         * emultempl/mmixelf.em: Remove incorrect '#line' directive.
358 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
360         * ldlang.c (lang_size_sections_1): Correct backwards dot move
361         test to not trigger on overlays.  Only warn on backwards move
362         if non-default lma.
364 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
366         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
367         bug-reporting URL.
368         * Makefile.am (ldver.texi): Define BUGURL.
369         * ld.texinfo: Use BUGURL.
370         * Makefile.in, configure: Regenerate.
372 2007-03-07  Nick Clifton  <nickc@redhat.com>
374         PR ld/4023
375         * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
376         from any paths being inserted into the output binary's DT_RPATH.
378 2007-03-02  Nathan Sidwell  <nathan@codesourcery.com>
380         * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
382 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
384         * ldver.c (ldversion): Remove word "version" from output.  Update
385         copyright date.
387 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
389         * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
390         (eshelf_uclinux.c): New target.
391         * Makefile.in: Rebuilt.
392         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
393         * emulparams/shelf_uclinux.sh: New.
395 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
397         * configure.tgt: Fix type last change.
398         * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
400 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
402         * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
403         (eelf32_spu.c): Adjust dependencies.
404         * Makefile.in: Regenerate.
405         * emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
406         code using bin2c.
407         (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
408         (ovl_mgr_stream): Update.
409         * emultempl/spu_inc.s: Delete.
410         * emultempl/spu_none.s: Delete.
412 2007-02-26  Alan Modra  <amodra@bigpond.net.au>
414         * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
415         to _binary_spu_ovl_o_start.
416         (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
417         (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
418         * emultempl/spu_inc.s: Rename symbols.
419         * emultempl/spu_none.s: New file.
420         * emultempl/spu_ovl.S: Update copyright.
421         * Makefile.am (spu_inc.o): Try building with ld -r first, then
422         gas incbin, then build without overlay manager.
423         * Makefile.in: Regenerate.
425 2007-02-22  Joseph Myers  <joseph@codesourcery.com>
427         * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
428         mips*el-*-linux-*, mips*-*-linux-*): Set
429         targ_extra_libpath=$targ_extra_emuls.
431 2007-02-21  Nick Clifton  <nickc@redhat.com>
433         * ldlang.c (ldlang_override_segment_assignment): New function.
434         * ldlang.h (ldlang_override_segment_assignment): Prototype.
435         * ldmain.c (link_callbacks): Add
436         ldlang_override_segment_assignment.
438 2007-02-20  Alan Modra  <amodra@bigpond.net.au>
440         * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
442 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
443             Nathan Sidwell  <nathan@codesourcery.com>
444             Vladimir Prus  <vladimir@codesourcery.com
445             Joseph Myers  <joseph@codesourcery.com>
447         * configure.in (--with-bugurl): New option.
448         * configure: Regenerate.
449         * Makefile.am (REPORT_BUGS_TO): Define.
450         (INCLUDES): Define REPORT_BUGS_TO.
451         Regenerate dependencies.
452         * Makefile.in: Regenerate.
453         * ld.h: Remove include of bin-bugs.h.
454         * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
456 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
458         * ldcref.c (check_reloc_refs): Compare section for local syms.
460 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
462         * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
463         (__ovly_load_event): Define.
464         (size): Rename to osize.
465         * emultempl/spu_ovl.o: Regenerate.
467 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
469         * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
470         * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
471         SEC_RELOC flag set.
473 2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
475         * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
476         want64 is true.
477         (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
478         true
479         * configure: Regenerated.
481         * configure.tgt (targ_extra_libpath): Initialize.
482         (targ64_extra_emuls): New. Document. Initialize.
483         (targ64_extra_libpath): Likewise.
484         (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
485         targ64_extra_libpath.
486         (powerpc*-*-linux*): Likewise.
487         (s390-*-linux*): Likewise.
489 2007-02-07  Paul Brook  <paul@codesourcery.com>
491         * configure.tgt: Add arm*-*-uclinux-*eabi.
493 2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
495         * ldlang.c (lang_size_sections_1): Add a missing `)'.
497 2007-02-06  Alan Modra  <amodra@bigpond.net.au>
499         PR ld/3966
500         * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
501         move unless section size is non-zero.
503 2007-02-05  Dave Brolley  <brolley@redhat.com>
505         * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
506         * configure.tgt: Likewise.
507         * scripttempl/mep.sc: New file.
508         * emulparams/elf32mep.sh: New file.
509         * Makefile.in: Regenerate.
511 2006-01-29  Julian Brown  <julian@codesourcery.com>
513         * NEWS: Mention --vfp11-denorm-fix option.
514         * ld.texinfo: Document above.
515         * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
516         .vfp11_veneer section.
517         * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
518         * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
519         (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
520         bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
521         (arm_elf_after_allocation): New function. Call
522         bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
523         (arm_elf_create_output_section_statements): Pass vfp11 fix command
524         line option to BFD.
525         (OPTION_VFP11_DENORM_FIX): New option.
526         (PARSE_AND_LIST_LONGOPTS): Handle new option.
527         (PARSE_AND_LIST_OPTIONS): Likewise.
528         (PARSE_AND_LIST_ARGS_CASES): Likewise.
529         (LDEMUL_AFTER_ALLOCATION): Define.
531 2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
533         * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
534         (DEFSYMEND): Likewise.
535         (NAME): Likewise.
536         (LNAME): Likewise.
538 2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
540         * pe-dll.c: (make_one) Conditionally include jump stubs.
541         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
542         redundant jump stubs from import libraries and exclude them from
543         link.
545 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
547         * ld.h (args_type): Add new symbolic and dynamic_list fields.
549         * ld.texinfo: Update -Bsymbolic-functions.
551         * ldmain.c (main): Initialize command_line.symbolic to
552         symbolic_unset and command_line.dynamic_list to
553         dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
554         --dynamic-list* before setting link_info.symbolic,
555         link_info.dynamic and link_info.dynamic_data.
557         * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
558         (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
559         -Bsymbolic-functions.
560         (parse_args): Handle -Bsymbolic-functions.  Don't set
561         link_info.dynamic, link_info.dynamic_data and link_info.symbolic
562         here.  Set command_line.symbolic for -Bsymbolic.  Set
563         command_line.dynamic_list and command_line.symbolic for
564         --dynamic-list-data, --dynamic-list-cpp-new,
565         --dynamic-list-cpp-typeinfo and --dynamic-list.
567 2007-01-19  Jakub Jelinek  <jakub@redhat.com>
568             H.J. Lu  <hongjiu.lu@intel.com>
570         * emultempl/elf32.em (handle_option): Make sure -z max-page-size
571         or -z common-page-size argument is a power of 2.  Call
572         bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
574 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
576         * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
577         bfd_emul_set_commonpagesize.
579 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
581         * NEWS: Mention --default-script/-dT.
583         * ld.h (args_type): Add a default_script field.
585         * ld.texinfo: Document --default-script/-dT.
587         * ldmain.c (main): Handle command_line.default_script.
589         * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
590         (ld_options): Add entries for --default-script and -dT.
591         (parse_args): Handle --default-script/-dT.
593 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
595         PR ld/3831
596         * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
597         --dynamic-list-cpp-new.
599         * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
600         and --dynamic-list-cpp-new.
602         * ldlang.c (lang_append_dynamic_list_cpp_new): New.
603         (lang_process): Change link_info.dynamic to
604         link_info.dynamic_list.
605         (lang_append_dynamic_list): Likewise.
606         * ldmain.c (main): Likewise.  Initialize link_info.dynamic and
607         link_info.dynamic_data to FALSE.
609         * ldlang.h (lang_append_dynamic_list_cpp_new): New.
611         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
612         OPTION_DYNAMIC_LIST_CPP_NEW.
613         (ld_options): Add entries for -Bsymbolic-functions,
614         --dynamic-list-data and --dynamic-list-cpp-new.  Make
615         -Bsymbolic-functions an alias of --dynamic-list-data.
616         (parse_args): Change link_info.dynamic to link_info.dynamic_list.
617         Set link_info.dynamic to TRUE for --dynamic-list and
618         --dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
619         --dynamic-list-cpp-new.
621 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
623         * emultempl/elf-generic.em (gdl_map_segments): Only allow header
624         shrinkage for the first few iterations.
626 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
628         * configure.tgt: Renamed target x86_64-*-mingw64 to
629         x86_64-*-mingw*.
631 2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
633         * configure.host: Add i[3-7]86-*-mingw* case.
635 2007-01-08  Nick Clifton  <nickc@redhat.com>
637         * pep-dll.h (pep_bfd_is_dll): Add prototype.
639 2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
641         PR ld/3843
642         * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
643         tdir_elf_i386_fbsd.
645 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
647         * ldexp.c (fold_name): Issue error on undefined sections.
649 2007-01-02  Alan Modra  <amodra@bigpond.net.au>
651         * pe-dll.c: Include pe-dll.h.
652         * pep-dll.c (pe_bfd_is_dll): Define.
654 For older changes see ChangeLog-2006
656 Local Variables:
657 mode: change-log
658 left-margin: 8
659 fill-column: 74
660 version-control: never
661 End: