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