Change to "Copyright 2009".
[binutils.git] / ld / ChangeLog
blob9238c3289a39383e4938f13b131cceba38b051ba
1 2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>
3         * ldver.c (ldversion): Change to "Copyright 2009".
5 2009-09-01  Jie Zhang  <jie.zhang@analog.com>
7         * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
8         _stack and __bss_start.
9         * emulparams/bfin.sh (ENTRY): Remove.
11 2009-08-30  Alan Modra  <amodra@bigpond.net.au>
13         PR ld/10569
14         * ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize.
15         (fold_name <COMMONPAGESIZE>): Similarly.
16         * ldlang.c (output_target): Make global.
17         * ldlang.h (output_target): Declare.
18         * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
19         Similarly for config.commonpagesize.
20         * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
21         and bfd_emul_set_commonpagesize.
22         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
23         bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
25 2009-08-29  Martin Thuresson  <martin@mtme.org>
27         * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
28         (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
29         to new_e.
30         * ldfile.c (ldfile_add_library_path): Rename variable new to
31         new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
32         * ldlang.c (new_statement, lang_final, lang_add_wild)
33         (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
34         (lang_add_insert): Rename variable new to new_stmt. (new_afile):
35         Added missing cast. (lang_memory_region_lookup): Rename variable
36         new to new_region. (init_os): Rename variable new to
37         new_userdata. (lang_add_section): Rename variable new to
38         new_section. (ldlang_add_undef): Rename variable new to
39         new_undef. (realsymbol): Rename variable new to new_name.
41 2009-08-26  Nick Clifton  <nickc@redhat.com>
43         PR ld/10555
44         * emultempl/elf32.em (_after_open): Do not create a
45         .note.gnu-build-id section if there are no input files.
47 2009-08-24  Nick Clifton  <nickc@redhat.com>
49         * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
50         .gnu.lto_ prefix.
51         * scripttempl/armbpabi.sc: Likewise.
52         * scripttempl/elf32sh-symbian.sc: Likewise.
53         * scripttempl/elf64hppa.sc: Likewise.
54         * scripttempl/mep.sc: Likewise.
56 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
58         * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
59         rules.
60         (eelf32_spu.o): Add dependency tracking.
61         * Makefile.in: Regenerate.
63         * Makefile.am (am__skiplex, am__skipyacc): New.
64         * Makefile.in: Regenerate.
66 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
68         * Makefile.am (bin_PROGRAMS): Renamed from ...
69         (noinst_PROGRAMS): ... this.
70         (transform): Override, including the renaming of ld-new to ld.
71         (install-exec-local): Installation of ld in $(bindir) not needed
72         here any more.
73         (AM_CPPFLAGS): Renamed from ...
74         (INCLUDES): ... this.
75         (MAINTAINERCLEANFILES): Add ld.1.
76         * Makefile.in: Regenerate.
78         * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus.  Add
79         no-texinfo.tex, no-dist, foreign.
80         (TEXINFO_TEX): New variable.
81         (install-data-local): Removed, not needed any more.
82         (all): Dependencies upon info and ld.1 not needed any more.
83         (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
84         (mkdep generated section): Removed.
85         (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
86         use automake dependency tracking mechanism.
87         (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
88         $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
89         dependencies are tracked too.
90         (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
91         are built early.
92         * configure.in: Use AM_MAINTAINER_MODE.
93         * aclocal.m4, configure, Makefile.in: Regenerate.
95         * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
96         (install-pdf-recursive, html__strip_dir, install-html)
97         (install-html-am, install-html-recursive): Remove.
98         * Makefile.in: Regenerate.
100         * Makefile.in: Regenerate.
101         * aclocal.m4: Likewise.
102         * config.in: Likewise.
103         * configure: Likewise.
105 2009-08-21  Richard Guenther  <rguenther@suse.de>
107         * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
109 2009-08-12  Tristan Gingold  <gingold@adacore.com>
111         * ld.h (fat_user_section_struct): Add map_symbol_def_count field.
112         * ldlang.c (hash_entry_addr_cmp): New function.
113         (print_all_symbols): Sort the symbols by address before printing them.
115 2009-08-10  Alan Modra  <amodra@bigpond.net.au>
117         PR 10474
118         * ldemul.c (after_allocation_default): Run lang_relax_sections.
119         * ldlang.h (lang_relax_sections): Declare.
120         * ldlang.c (relax_sections): Delete.
121         (lang_relax_sections): New function.
122         (lang_process): Don't relax directly from here.
123         * emultempl/alphaelf.em (alpha_finish): Call finish_default.
124         * emultempl/armelf.em (arm_elf_after_allocation): Delete.  Move body..
125         (gld${EMULATION_NAME}_finish): ..to here.  Move existing code..
126         (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
127         (LDEMUL_AFTER_ALLOCATION): Update.
128         * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
129         (avr_elf_after_allocation): New function.
130         (LDEMUL_AFTER_ALLOCATION): Define.
131         * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
132         lang_relax_sections.
133         * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete.  Move..
134         (gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
135         (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
136         * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
137         (gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
138         (LDEMUL_FINISH): Delete.
139         (LDEMUL_AFTER_ALLOCATION): Define.
140         * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
141         (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
142         (LDEMUL_FINISH): Delete.
143         (LDEMUL_AFTER_ALLOCATION): Define.
144         * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete.  Move..
145         (m68hc11elf_after_allocation): ..to here.  New function.
146         (LDEMUL_FINISH): Delete.
147         (LDEMUL_AFTER_ALLOCATION): Define.
148         * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
149         gld${EMULATION_NAME}_after_allocation.
150         * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
151         gld${EMULATION_NAME}_after_allocation.
152         * emultempl/mmo.em (mmo_finish): Delete.  Move body..
153         (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
154         (LDEMUL_FINISH): Define.
155         * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
156         (gld${EMULATION_NAME}_finish): Move code sizing sections..
157         (gld${EMULATION_NAME}_after_allocation): ..to here.
158         * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
159         Call gld${EMULATION_NAME}_after_allocation.
160         * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
161         bfd_elf_discard_info and map_segments call.
163 2009-08-06  Michael Eager <eager@eagercon.com>
165         * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to 
166         ALL_EMULATIONS, targets.
167         * Makefile.in: Regenerate.
168         * configure.tgt: Add microblaze*-linux*, microblaze* targets.
169         * emulparams/elf32mb_linux.sh: New.
170         * emulparams/elf32microblaze.sh. New.
171         * scripttempl/elfmicroblaze.sc: New. 
173 2009-08-05  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
175         * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
176         section and __fixup_start symbol.
177         * emultempl/spuelf.em (params): Initialize emit_fixups member.
178         (spu_before_allocation): Call spu_elf_size_sections.
179         (OPTION_SPU_EMIT_FIXUPS): Define.
180         (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
181         (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
182         * ld.texinfo (--emit-fixups): Document.
184 2009-08-04  Alan Modra  <amodra@bigpond.net.au>
186         PR 10474
187         * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
188         not size, after lang_reset_memory_regions.
190 2009-07-30  Alan Modra  <amodra@bigpond.net.au>
192         * emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
193         * emulparams/elf_i386.sh (IREL_IN_PLT): Define.
194         * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
195         * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
196         when !IREL_IN_PLT.
198 2009-07-29  Hans-Peter Nilsson  <hp@bitrange.com>
200         * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
201         the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
202         (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
203         (ENTRY): Don't emit for relocateable links.
204         (/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
205         * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
206         elf64-mmix.
207         * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
208         provide "Main" or set "_start.", for relocateable links.
210 2009-07-27  Nick Clifton  <nickc@redhat.com>
212         * (po/fi.po): Updated Finnish translation.
214 2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
216         * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
217         is supported.  Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
218         (targ_extra_emuls): Likewise.
220         * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
221         eelf_l1om_fbsd.o
222         (eelf_l1om.c): New.
223         (eelf_l1om_fbsd.c): Likewise.
224         * Makefile.in: Regenerated.
226         * emulparams/elf_l1om.sh: New.
227         * emulparams/elf_l1om_fbsd.sh: Likewise.
229 2009-07-23  Ulrich Drepper  <drepper@redhat.com>
231         * NEWS: Mention the linker's support for symbols with a binding of
232         STB_GNU_UNIQUE.
234 2009-07-22  H.J. Lu  <hongjiu.lu@intel.com>
236         PR ld/10429
237         * ldlang.c (insert_os_after): Tie assignments to non-alloc
238         output sections if there is no-input section.
240 2009-07-11  Alan Modra  <amodra@bigpond.net.au>
242         * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
243         output sections.
245 2009-07-10  Alan Modra  <amodra@bigpond.net.au>
247         * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
248         linker relaxation if it might be necessary.
250 2009-07-10  Alan Modra  <amodra@bigpond.net.au>
252         * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
254 2009-07-06  Matthias Klose <doko@ubuntu.com>
256         * ld.texinfo: Fix typo.
258 2009-07-03  Tristan Gingold  <gingold@adacore.com>
260         * scripttempl/pep.sc: Put .eh_frame in its own section.
261         * scripttempl/pe.sc: Ditto.
262         
263 2009-06-26  Kai Tietz  <kai.tietz@onevision.com>
265         * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
266         * scripttempl/pep.sc: Likewise.
268 2009-06-25  Tristan Gingold  <gingold@adacore.com>
270         * ldlang.c (print_input_section): Add is_discarded parameter.  Adjust
271         prototype.
272         (lang_map): Print the size of discarded sections.
273         (print_statement): Adjust call to print_input_section.
275 2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
277         Merge cegcc and mingw32ce target name changes from CeGCC project:
279         2008-09-24  Pedro Alves  <pedroalves@users.sourceforge.net>
281         * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
282         ${tooldir}/lib/w32api.
284         2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
286         * configure.tgt: Add arm*-*-cegcc* target.
288         2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>
290         * configure.tgt: Add arm-*-mingw32ce* target.
292 2009-06-10  Philip Blundell  <philb@gnu.org>
294         * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
295         if section has no ELF data.
297 2009-06-06  H.J. Lu  <hongjiu.lu@intel.com>
299         * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
301 2009-06-05  H.J. Lu  <hongjiu.lu@intel.com>
303         * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
305 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
307         * dep-in.sed: Don't use \n in replacement part of s command.
308         * Makefile.am (DEP1): LC_ALL for uniq.
309         * Makefile.in: Regenerate.
311 2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
313         * scripttempl/elf.sc (PLT): Add "*(.iplt)".
314         (GOT): Add "*(.igot.plt)a" and "*(.igot)".
315         (GOTPLT): Add "*(.igot)".
316         (__rel_iplt_start): New.
317         (__rel_iplt_end): Likewise.
318         (__rela_iplt_start): Likewise.
319         (__rela_iplt_end): Likewise.
321 2009-05-27  Dave Korn  <dave.korn.cygwin@gmail.com>
323         * deffilep.y (%union):  Add new string-type semantic value 'digits'.
324         (%token):  Remove NUMBER as token, add DIGITS.
325         (%type):  Add NUMBER as type.  Add new id types anylang_id, opt_id.
326         (ALIGNCOMM):  Parse an anylang_id instead of a plain ID.
327         (anylang_id):  New production.
328         (opt_digits):  Likewise.
329         (opt_id):  Likewise.
330         (NUMBER):  Likewise.
331         (def_lex):  Return strings of digits in raw string form as DIGITS
332         token, instead of converting to numeric integer type.
334 2009-05-26  Nathan Sidwell  <nathan@codesourcery.com>
336         * ldmain.c (main): Don't reject --relax -r.
337         * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
338         partial links.
340 2009-05-26  Nick Clifton  <nickc@redhat.com>
342         * po/id.po: Updated Indonesian translation.
343         * po/ld.pot: Updated template file.
345 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
347         * dep-in.sed: Output one filename per line with all lines having
348         continuation backslash.  Prefix first line with "A", following
349         lines with "B".
350         * Makefile.am (DEP): Don't use dep.sed here.
351         (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
352         sort and uniq.
353         * Makefile.in: Regenerate.
355 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
357         * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
359 2009-05-22  Julian Brown  <julian@codesourcery.com>
361         * emultempl/armelf.em (fix_cortex_a8): New.
362         (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
363         (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
364         bfd_elf32_arm_set_target_relocs.
365         (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
366         (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
367         (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
368         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
369         * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
371 2009-05-22  Nathan Sidwell  <nathan@codesourcery.com>
373         * ldlang.c (lang_check_section_addresses): Ignore non-loadable
374         sections when checking for overlap.  Clarify error message
375         concerns load address.
377 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
379         * Makefile.am: Run "make dep-am".
380         * Makefile.in: Regenerate.
382 2009-05-19  Dave Korn  <dave.korn.cygwin@gmail.com>
384         * NEWS:  Mention new feature.
385         * deffile.h (def_file_aligncomm):  Add new struct definition.
386         (def_file):  Add new def_file_aligncomm member.
387         * deffilep.y (%token):  Add new ALIGNCOMM token.
388         (command):  Add production rule for ALIGNCOMM.
389         (def_file_free):  Free any chained def_file_aligncomm structs.
390         (diropts[]):  Add entry for '-aligncomm' .drectve command.
391         (def_aligncomm):  New grammar function.
392         * ld.texinfo:  Document new feature.
393         * pe-dll.c (process_def_file):  Rename from this ...
394         (process_def_file_and_drectve):  ... to this, updating all callers,
395         and process any aligncomms chained to the def file after scanning
396         all .drectve sections.
397         (generate_edata):  Updated to match.
398         (pe_dll_build_sections):  Likewise.
400 2009-05-17  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
402         * pe-dll.c (process_def_file): Do not create empty export table.
404 2009-05-15  Alan Modra  <amodra@bigpond.net.au>
406         * ldlang.c (lang_output_section_statement_lookup): Add function
407         comment.  Make "name" non-const.  Ensure duplicate entries use
408         the same string, allowing simple comparison in hash bucket loop.
409         Tweak constraint check.
410         (next_matching_output_section_statement): New function.
411         * ldlang.h (lang_output_section_statement_lookup): Update.
412         (next_matching_output_section_statement): Declare.
413         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
414         combine orphan sections when input sections flags differ in
415         alloc or load.
416         * emultempl/pe.em: Formatting throughout.
417         (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
418         * emultempl/pep.em: Formatting throughout.
419         (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
421 2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
423         * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
424         compact stubs with software i-cache.
426 2009-05-14  Alan Modra  <amodra@bigpond.net.au>
428         * emultempl/spuelf.em (spu_before_allocation): Call
429         spu_elf_place_overlay_data.
431 2009-05-14  Alan Modra  <amodra@bigpond.net.au>
433         * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
434         assignment inside output section statement.  Ensure only one
435         set of symbols per output section.
436         * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
437         dollar sections before dollar sections.  Correct add_child
438         list insertion.
439         * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
441 2009-05-05  Paul Brook  <paul@codesourcery.com>
443         * emultempl/armelf.em (compare_output_sec_vma): New function.
444         (gld${EMULATION_NAME}_finish): Add exidx munging code.
446 2009-05-05  Anatoly Sokolov  <aesok@post.ru>
448         * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
449         * emulparams/avr1.sh (DATA_ORIGIN): Add.
450         * emulparams/avr2.sh (DATA_ORIGIN): Add.
451         * emulparams/avr25.sh (DATA_ORIGIN): Add.
452         * emulparams/avr3.sh (DATA_ORIGIN): Add.
453         * emulparams/avr31.sh (DATA_ORIGIN): Add.
454         * emulparams/avr35.sh (DATA_ORIGIN): Add.
455         * emulparams/avr4.sh (DATA_ORIGIN): Add.
456         * emulparams/avr5.sh (DATA_ORIGIN): Add.
457         * emulparams/avr51.sh (DATA_ORIGIN): Add.
458         (DATA_LENGTH): Update.
459         * emulparams/avr6.sh (DATA_ORIGIN): Add.
460         (DATA_LENGTH): Update.
462 2009-05-04  Dave Korn  <dave.korn.cygwin@gmail.com>
464         * NEWS:  Mention new feature.
465         * ld.texinfo (--version-script):  Document extent of PE support.
466         (WIN32):  Mention --version-script.  Extend auto-export description.
467         * pe-dll.c (process_def_file):  Use version script info to filter
468         symbols from auto-export.
469         * testsuite/ld-pe/vers-script-1.d:  New file.
470         * testsuite/ld-pe/vers-script-2.d:  New file.
471         * testsuite/ld-pe/vers-script-3.d:  New file.
472         * testsuite/ld-pe/vers-script-4.d:  New file.
473         * testsuite/ld-pe/vers-script-1.ver:  New file.
474         * testsuite/ld-pe/vers-script-2.ver:  New file.
475         * testsuite/ld-pe/vers-script-3.ver:  New file.
476         * testsuite/ld-pe/vers-script-4.ver:  New file.
477         * testsuite/ld-pe/vers-script-dll.c:  New file.
478         * testsuite/ld-pe/vers-script.exp:  New test script.
480 2009-05-01  Nathan Sidwell  <nathan@codesourcery.com>
482         * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
484 2009-04-30  Nick Clifton  <nickc@redhat.com>
486         * NEWS: Mention support for IFUNC symbols.
488 2009-04-29  Anthony Green  <green@moxielogic.com>
490         * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
491         position out to accommodate larger programs.
493 2009-04-29  Chris Demetriou  <cgd@google.com>
495         * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
496         (ld_options): Likewise.
497         (parse_args): Likewise.
498         * ld.texinfo: Document --no-export-dynamic.
499         * NEWS: Mention --no-export-dynamic.
501 2009-04-29  Alan Modra  <amodra@bigpond.net.au>
503         * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
505 2009-04-25  Alan Modra  <amodra@bigpond.net.au>
507         PR 10061
508         * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
509         param.
511 2009-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
513         * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
514         (arm_elf_set_bfd_for_interworking): Delete.
515         (arm_elf_before_allocation): Do not set the interworking BFD.
516         Move allocation inside not-dynamic block.
517         (arm_elf_create_output_section_statements): Create glue sections
518         and set the interworking BFD here.
519         (LDEMUL_AFTER_OPEN): Delete.
521 2009-04-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
523         * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
525 2009-04-15  Anthony Green  <green@moxielogic.com>
527         * configure.tgt: Add moxie support.
528         * Makefile.am: Add moxie files.
529         * Makefile.in: Rebuilt.
530         * emulparams/elf32moxie.sh: New file.
531         * scripttempl/moxie.sc: New file.
533 2009-04-15  Kazu Hirata  <kazu@codesourcery.com>
535         * ldlang.c: Do not include limits.h.
537 2009-04-14  Alan Modra  <amodra@bigpond.net.au>
539         PR ld/10047
540         * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
541         ldscripts in build tree.  Don't repeat search for ../lib/ldscripts.
543 2009-04-13  H.J. Lu  <hongjiu.lu@intel.com>
545         * ldfile.c (ldfile_find_command_file): Revert the last change.
547 2009-04-11  H.J. Lu  <hongjiu.lu@intel.com>
549         PR ld/10047
550         * ldfile.c (ldfile_find_command_file): First try raw name.
552 2009-04-09  Nick Clifton  <nickc@redhat.com>
554         PR 9824
555         * ld.texinfo (Output Section Constraint): New node.  Documents the
556         ONLY_IF_RO and ONLY_IF_RW constraints.
557         (Symbolic Constants): New node.  Documents the CONSTANT operator.
559 2009-04-09  Thilo Fischer <thilo.fischer@uni-muenster.de>
561         * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
562         of fork/execvp.
564 2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>
566         * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
567         (ld_options): Likewise.
568         (parse_args): Likewise.
570         * ld.texinfo: Document --warn-alternate-em.
572         * NEWS: Mention --warn-alternate-em.
574 2009-04-07  DJ Delorie  <dj@redhat.com>
576         * emulparams/elf32mep.sh: Change default endian to little.
578 2009-04-07  Nick Clifton  <nickc@redhat.com>
580         * ld.texinfo (Output Section Address): Note that specifying an
581         address for an output section will only change the location
582         counter if the output section is used.
584 2009-04-06  Kazu Hirata  <kazu@codesourcery.com>
586         * ldfile.c (ldfile_find_command_file): Initialize result.
588 2009-04-06  Kazu Hirata  <kazu@codesourcery.com>
590         * ld.texinfo (-L): Mention that -L options do not affect how ld
591         searches for a linker script unless -T option is specified.
592         * ldfile.c (ldfile_find_command_file): Append the path obtained
593         from the program name to the search path instead of
594         prepending. Add a new parameter "default_only". Restrict the
595         search to the default script location if the new parameter is
596         true.
597         (ldfile_open_command_file_1): New.
598         (ldfile_open_command_file): Call ldfile_open_command_file_1.
599         (ldfile_open_default_command_file): New.
601 2009-04-03  Nathan Sidwell  <nathan@codesourcery.com>
603         * ldlang.c (lang_leave_output_section_statement): Set lma_region
604         if it is not overridden and section is for the same vma region as
605         the previous section.
607 2009-04-02  Dave Korn  <dave.korn.cygwin@gmail.com>
609         PR ld/6744
610         * ld.texinfo (--export-dynamic):  Mention --export-all-symbols.
611         * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse):  Issue
612         warning if --export-dynamic was passed on command-line.
613         * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse):  Likewise.
615 2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
617         * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
618         function.
619         (ld_${EMULATION_NAME}_emulation): Use it.
621 2009-03-20  H.J. Lu  <hongjiu.lu@intel.com>
623         PR ld/9970
624         * ldlang.c (lang_end): Warn missing entry symbol for -pie.
626 2009-03-19  Alan Modra  <amodra@bigpond.net.au>
628         * emultempl/spuelf.em (spu_before_allocation): Report errors from
629         spu_elf_find_overlays.
631 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
633         PR ld/6766
634         * lexsup.c (parse_args): Call ldlang_add_undef for -e.
636 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
638         * ld.h: Remove alloca handling.
640 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
642         * emultempl/spu_icache.S: Add new entry to dummy handler.
643         * emultempl/spu_icache.o_c: Regenerate.
644         * emultempl/spuelf.em (params): Init new field.
645         (no_overlays): New static var.
646         (spu_before_allocation): Use it.
647         (OPTION_SPU_COMPACT_STUBS): Define.
648         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
649         (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs.  Adjust no-overlays
650         handling.
652 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
654         * configure.host (HOSTING_LIBS): Two dollars on shell variable
655         expansion to suit make.
657 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
659         * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
660         * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
661         * aclocal.m4: Regenerate.
662         * configure: Regenerate.
663         * Makefile.in: Regenerate.
665 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
667         * emultempl/aix.em (auto_export_flags): New variable.
668         (explicit_auto_export_flags): Likewise.
669         (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
670         (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
671         (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
672         -bnoexpall and -bnoexpfull.
673         (gld${EMULATION_NAME}_handle_option): Handle them.
674         (gld${EMULATION_NAME}_before_allocation): Update the call to
675         bfd_size_dynamic_sections.
677 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
679         * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
680         -berok and -bernotok control link_info.unresolved_syms_in_objects
681         and link_info.unresolved_syms_in_shared_libs instead of
682         force_make_executable.
684 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
686         * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
687         config.dynamic_link to TRUE.
689 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
691         * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
692         .text, .data and .bss output sections as SEC_KEEP.
694 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
696         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
698 2009-03-14  Dave Korn  <dave.korn.cygwin@gmail.com>
699             Danny Smith  <dannysmith@users.sourceforge.net>
701         * emultmpl/pe.em (pe_dll_characteristics): New variable.
702         (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
703         OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
704         OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
705         New macros for options to set DllCharacteristics flag bits.
706         (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
707         nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
708         (init): Add DllCharacteristics field.
709         (gld_${EMULATION_NAME}_list_options): List new options.
710         (gld${EMULATION_NAME}_handle_option): Handle new options.
711         * emultmpl/pep.em (pe_dll_characteristics): New variable.
712         (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
713         OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
714         OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
715         New macros for options to set DllCharacteristics flags.
716         (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
717         nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
718         (init): Add DllCharacteristics field.
719         (gld_${EMULATION_NAME}_list_options): List new options.
720         (gld${EMULATION_NAME}_handle_option): Handle new options.
721         * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
722         no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
724 2009-03-06  Nick Clifton  <nickc@redhat.com>
726         * po/es.po: Updated Spanish translation.
728 2009-03-03  Dave Korn  <dave.korn.cygwin@gmail.com>
730         * emultempl/pe.em (debug_section_p):  New bfd_map_over_sections hook.
731         (gld_${EMULATION_NAME}_after_open):  Use it to iterate all sections
732         of all input BFDs, looking for debug info.  Enable long section names
733         if any found.
734         * emultempl/pe.em (debug_section_p):  Likewise.
735         (gld_${EMULATION_NAME}_after_open):  Likewise.
736         * NEWS:  Retrospectively adjust news announcement.
737         * ld.texinfo:  Update documentation to mention new behaviour.
739 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
741         * Makefile.am: Run "make dep-am".
742         * Makefile.in: Regenerate.
744 2009-03-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
746         * ldgram.y: Add support for REGION_ALIAS operator.
747         * ldlang.c: Likewise.
748         * ldlang.h: Likewise.
749         * ldlex.l: Likewise.
750         * NEWS: Mention the new feature.
751         * ld.texinfo: Document the new feature.
753 2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
755         * Makefile.am: Replace score elf emulation with score3 and score7
756         emulations.
757         * Makefile.in: Regenerate,
758         * NEWS: Mention support for Score7 architecture.
759         * configure.tgt: Add score7 emulation to score-elf target.
760         * emulparams/scoreelf.sh: Add score7 support.
761         * emultempl/scoreelf.em: Likewise.
763 2009-03-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
765         * configure.tgt: Only use elf64hppa target emulation for hpux.
766         * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
767         (SCRIPT_NAME): Use new script elf64hppa.
768         (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
769         TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
770         OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
771         DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
772         TEXT_DYNAMIC): Define.
773         * emulparams/hppa64linux.sh: Adjust comments.
774         * scripttempl/elf64hppa.sc: New file.
776 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
778         * configure: Regenerate.
780 2009-02-27  Dave Korn  <dave.korn.cygwin@gmail.com>
782         * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):  Set
783         default state of auto-import flag based on $target.
785 2009-02-24  Joseph Myers  <joseph@codesourcery.com>
787         * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
788         * emultempl/armelf.em (hook_in_stub): Insert after the input section.
789         (elf32_arm_add_stub_section): Update comment.
790         (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
792 2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>
794         * ld.texinfo (Options): Correct typos in example.  Recommend
795         using joined forms of syntax for passing options with arguments 
796         from a driver.
797         (-a): Use consistent syntax for documenting option arguments.
798         Clean up indexing and markup.
799         (-A/--architecture): Likewise.
800         (-f/--auxiliary): Likewise.
801         (-F/--filter): Likewise.
802         (-fini): Likewise.
803         (-G/--gpsize): Likewise.
804         (-h/-soname):Likewise.
805         (-init): Likewise.
806         (-l/--library): Likewise.
807         (-L/--library-path): Likewise.
808         (-m): Likewise.
809         (--defsym): Likewise.
810         (-I/--dynamic-linker): Likewise.
811         (-Map): Likewise.
812         (--oformat): Likewise.
813         (--retain-symbols-file): Likewise.
814         (-rpath): Likewise.
815         (-rpath-link): Likewise.
816         (--sort-common): Likewise.
817         (--sort-section): Likewise.
818         (--split-by-file): Likewise.
819         (--split-by-reloc): Likewise.
820         (--sysroot): Likewise.
821         (--section-start): Likewise.
822         (-Tbss, -Tdata, -Ttext): Likewise.
823         (-Ttext-segment): Likewise.
824         (--version-script): Likewise.
825         (--wrap): Likewise.
827 2009-02-18  Dave Korn  <dave.korn.cygwin@gmail.com>
829         * ld.texinfo:  Update to mention long section name options.
830         * NEWS:  Mention new behaviour and command-line options.
831         * pe-dll.c (pe_use_coff_long_section_names):  New global variable.
832         (pe_output_file_set_long_section_names):  New function.
833         (pe_dll_build_sections):  Call it on output BFDs.
834         (pe_exe_build_sections):  Likewise.
835         (pe_dll_fill_sections):  Likewise.
836         (pe_exe_fill_sections):  Likewise.
837         * pe-dll.h (pe_use_coff_long_section_names):  Declare extern.
838         (pe_output_file_set_long_section_names):  Add prototype.
839         * pep-dll.c (pe_use_coff_long_section_names):  Define pep_ alias.
840         (pe_output_file_set_long_section_names):  Likewise.
841         * pep-dll.h (pep_use_coff_long_section_names):  Declare extern.
842         (pep_output_file_set_long_section_names):  Add prototype.
843         * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES):  New getopt value macro.
844         (OPTION_DISABLE_LONG_SECTION_NAMES):  Likewise.
845         (gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
846         (gld_${EMULATION_NAME}_list_options):  Describe them.
847         (gld${EMULATION_NAME}_handle_option):  Set or clear global
848         pe_use_coff_long_section_names flag when options recognised.
849         (gld_${EMULATION_NAME}_after_open):  En/disable long section names
850         for main output bfd by calling pe_output_file_set_long_section_names.
851         * pep.em (enum options):  Extend enum with new getopt option values.
852         (gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
853         (gld_${EMULATION_NAME}_list_options):  Describe them.
854         (gld${EMULATION_NAME}_handle_option):  Set or clear global
855         pe_use_coff_long_section_names flag when options recognised.
856         (gld_${EMULATION_NAME}_after_open):  En/disable long section names
857         for main output bfd by calling pep_output_file_set_long_section_names.
859 2009-02-16  Dave Korn  <dave.korn.cygwin@gmail.com>
861         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):  Don't emit
862         inadvertent .reloc sections caused by refactoring accident.
864 2009-02-16  Alan Modra  <amodra@bigpond.net.au>
866         * ldlang.c (process_insert_statements): ASSERT that output section
867         statements are in order.
869 2009-02-16  Alan Modra  <amodra@bigpond.net.au>
871         * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
872         (stat_save, stat_save_ptr): New variables.
873         (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
874         (load_symbols): Likewise.  Delete dead "bad_load" code.
875         (open_input_bfds): Warn on script containing output sections.
876         (lang_enter_output_section_statement): Use push_stat_ptr.
877         (lang_enter_group): Likewise.
878         (lang_leave_output_section_statement): Use pop_stat_ptr.
879         (lang_leave_group): Likewise.
880         * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
881         * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
882         * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
883         * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
884         * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
885         * emultempl/spuelf.em (spu_place_special_section): Likewise.
886         * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
888 2009-02-09  Nathan Sidwell  <nathan@codesourcery.com>
890         Missing piece of 2009-01-26 commit
891         * ldlang.c (lang_process): Don't consider relocatable flag when
892         checking for overlap.
894 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
896         * emulparams/m68kelf.sh: Add newline at end of file.
898 2009-02-04  Nick Clifton  <nickc@redhat.com>
900         PR 9805
901         * ld.texinfo (--allow-shlib-undefined): Correct description of
902         default settings and tidy up the rest of the entry.
904 2009-02-04  Alan Modra  <amodra@bigpond.net.au>
906         * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
907         during relocatable link.
909 2009-02-03  Nick Clifton  <nickc@redhat.com>
911         PR 9797
912         * ld.texinfo (Constants): Document the base-encoding suffixes
913         supported in linker scripts.
915 2009-02-03  Alan Modra  <amodra@bigpond.net.au>
917         * NEWS: Mention --as-needed change.
919 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
921         * configure.in: AC_SUBST pdfdir.
922         * Makefile.am: Add install-pdf, install-pdf-am,
923         and install-pdf-recursive targets. Define pdf__strip_dir.
924         * po/Make-in: Add install-pdf target.
925         * configure: Regenerate.
926         * Makefile.in: Regenerate.
928 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
930         * ld.texinfo (--as-needed): Update.
932 2009-01-29  Andrew Jenner  <andrew@codesourcery.com>
934         * emultempl/armelf.em: Correct formatting of help text for
935         --no-enum-size-warning option.
937 2009-01-26  Nathan Sidwell  <nathan@codesourcery.com>
939         * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
940         * ld.h (args_type): Make check_section_addresses a char.
941         * ldmain.c (main): Default check_section_addresses to -1. Check it
942         for relocatable links.
943         * ld.texinfo (--check-sections): Update documentation.
945 2009-01-26  Kai Tietz  <kai.tietz@onevision.com>
947         * pe-dll.c (tmp_seq2): New static variable.
948         (make_singleton_name_imp): New.
949         (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
950         avoid duplicate import table generation for same symbol.
951         (pe_create_runtime_relocator_reference): Make reference for
952         64-bit 8 bytes.
954 2009-01-21  Alan Modra  <amodra@bigpond.net.au>
956         * emultempl/spuelf.em (params): Init new field.
957         (OPTION_SPU_NON_IA_TEXT): Define.
958         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
959         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
961 2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>
963         * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
964         (ld_options): Add -Ttext-segment.
965         (parse_args): Handle OPTION_TTEXT_SEGMENT.
967         * ld.texinfo: Document -Ttext-segment.
969         * NEWS: Mention -Ttext-segment.
971         * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
972         (SHLIB_TEXT_START_ADDR): Likewise.
974 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
976         * emultempl/spu_icache.o_c: Regenerate.
978 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
980         * emultempl/spuelf.em (params): Init new fields.
981         (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
982         (spu_place_special_section): Adjust placement for soft-icache.  Pad
983         soft-icache section to a fixed size.  Clear addr_tree.
984         (spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
985         sections a little more intelligently.
986         (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
987         (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
988         (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
989         (OPTION_SPU_LRLIVE): Define.
990         (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
991         (PARSE_AND_LIST_OPTIONS): Likewise.
992         (PARSE_AND_LIST_ARGS_CASES): Handle them.
993         * emultempl/spu_icache.S: Dummy file.
994         * emultempl/spu_icache.o_c: Regenerate.
995         * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
996         (spu_icache.o_c): Add rule to build.
997         (CLEANFILES): Zap temp files.
998         (EXTRA_DIST): Add spu_icache.o_c.
999         * Makefile.in: Regenerate.
1001 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
1003         * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1004         (gld..._add_options): Add new option
1005         --use-nul-prefixed-import-tables.
1006         (gld..._handle_option): Likewise.
1007         * pep.em: Same as for pe.em.
1008         * ld.texinfo: Add new option documentation for
1009         --use-nul-prefixed-import-tables.
1010         * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
1011         (make_head): Make prefix leading zero prefix element for
1012         idata$4 and idata$5 dependent to new flag.
1013         (make_import_fixup_entry): Remove idata4/5 prefix.
1014         * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
1015         * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
1016         * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
1017         * NEWS: Add new option.
1019 2009-01-05  Kai Tietz  <kai.tietz@onevision.com>
1021         * emultempl/pe.em: Prefix dollar characters to be outputed in
1022         generated C file.
1023         * emultempl/pep.em: Likewise.
1025 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
1027         * NEWS:  Mention new feature --exclude-modules-for-implib.
1028         * ld.texinfo:  Document new --exclude-modules-for-implib option.
1029         * pe-dll.c (exclude_list_struct):  Change type member from int to
1030         new enumeration exclude_type.
1031         (pe_dll_add_excludes):  Accept exclude_type instead of int param.
1032         (auto_export):  Replace magic constants by exclude_type values and
1033         handle new choice EXCLUDEFORIMPLIB.
1034         (pe_dll_generate_implib):  Accept a pointer to the link_info and
1035         iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
1036         fresh BFDs for any found and link into import lib archive chain.
1037         * pe-dll.h (exclude_type):  Add new enumerated type to replace magic
1038         constants previously used for exclude_list_struct type member.
1039         (pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
1040         * pep-dll.h (exclude_type, pe_dll_add_excludes,
1041         pe_dll_generate_implib):  Likewise to all the above.
1042         * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
1043         getopts long option code for new --exclude-modules-for-implib option.
1044         (gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
1045         (gld_${EMULATION_NAME}_list_options):  List usage for it.
1046         (gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
1047         values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
1048         (gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
1049         calling pe_dll_generate_implib.
1050         * emultempl/pep.em (options):  Define new enumerated value for getopts
1051         long option code for new --exclude-modules-for-implib option.
1052         (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
1053         gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
1054         Again, likewise to all the above.
1056 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
1058         * pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
1059         (libnamencmp):  New function.
1060         (auto_export):  Use it in place of strncmp when filtering libraries.
1062 For older changes see ChangeLog-2008
1064 Local Variables:
1065 mode: change-log
1066 left-margin: 8
1067 fill-column: 74
1068 version-control: never
1069 End: