OSDN Git Service

2009-11-06 H.J. Lu <hongjiu.lu@intel.com>
[pf3gnuchains/pf3gnuchains3x.git] / ld / ChangeLog
1 2009-11-06  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR ld/10912
4         * ldmain.c (add_DT_NEEDED_for_dynamic): Default to TRUE.
5
6 2009-11-06  Kai Tietz  <kai.tietz@onevision.com>
7
8         * pe.em (DEFAULT_PSEUDO_RELOC_VERSION): New macro.
9         (gld_XXX_before_parse): Set pseudo-relocation default
10         version to DEFAULT_PSEUDO_RELOC_VERSION.
11         (gldXXX_handle_option): Likewise.
12
13
14 2009-11-05  Nick Clifton  <nickc@redhat.com>
15
16         * lexsup.c: Rename --add-needed to --copy-dt-needed-entries.
17         * ldlang.h (struct lang_input_statement_struct): Rename add_needed
18         to add_DT_NEEDED_for_dynamic.  Rename as_needed to
19         add_DT_NEEDED_for_regular.
20         * ldlang.c: Likewise.
21         * ldlang.h: Likewise.
22         * ldlang.c: Use the new variable names.
23         * ldgram.y: Likewise.
24         * emultempl/elf32.em: Likewise.
25         * ld.texinfo: Document the renamed option.  Also mention its
26         affect on the resolution of dynamic symbols.
27         * NEWS: Mention the changed option name.
28
29 2009-11-04  Kai Tietz  <kai.tietz@onevision.com>
30
31         * emulparams/arm_epoc_pe.sh: Remove ENTRY.
32         * emulparams/arm_wince_pe.sh: Likewise.
33         * emulparams/i386pe.sh: Likewise.
34         * emulparams/i386pe_posix.sh: Likewise.
35         * emulparams/mcorepe.sh: Likewise.
36         * emulparams/mipspe.sh: Likewise.
37         * emulparams/ppcpe.sh: Likewise.
38         * emulparams/armpe.sh: Likewise.
39         * emulparams/i386pep.sh: Likewise.
40         * emulparams/shpe.sh: Likewise.
41         Additionally cleaned up double-defined
42         variables SUBSYSTEM and INITIAL_SYMBOL_CHAR.
43         * emultempl/pe.em: Remove use of ENTRY.
44         (pe_subsystem): New local variable.
45         (gld_XXX_before_parse): Don't set default
46         entry point here.
47         (set_entry_point): New function to set entry
48         point.
49         (set_pe_subsystem): Remove code for entry point.
50         (gld_XXX_after_parse): Use set_entry_point here.
51         * emultempl/pep.em: Likewise.
52
53 2009-10-29  Nathan Sidwell  <nathan@codesourcery.com>
54
55         * emulparams/vxworks.sh (OTHER_READONLY_SECTIONS): Move into ...
56         (OTHER_READWRITE_SECTIONS): ... here.
57
58 2009-10-28  Kai Tietz  <kai.tietz@onevision.com>
59
60         * emultempl/pep.em (U): Define underscore macro.
61         (init): Use for __ImageBase U macro.
62
63 2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
64
65         * deffile.h (def_file_export): New member its_name.
66         (def_file_import): Likewise.
67         (def_file_add_export): Add argument its_name.
68         (def_file_add_import): Likewise.
69         * deffilep.y (def_exports): Add argument its_name.
70         (def_import): Likewise.
71         (EQUAL): Add new token for '=='.
72         (opt_equalequal_name): New rule.
73         (expline): Add rule opt_equalequal_name.
74         (impline): Likewise.
75         (def_file_free): Free for exports and imports
76         the optional member its_name.
77         (def_lex): Add scan of '==' as EQUAL.
78         * pe-dll.c (pe_export_sort): Sort for its_name too.
79         (process_def_file_and_drectve): Adjust calls to
80         def_file_add_export.
81         (generate_edata): Take its_name in account.
82         (make_one): Likewise.
83         (pe_process_import_defs): Likewise.
84         (pe_dll_generate_def_file): Add print of new '==' option.
85         * ld.texinfo: Extend documentation about .def file syntax.
86         * NEWS: Mention new feature.
87
88 2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
89
90         * deffilep.y (def_lex): Allow '<' and '>' characters in identifier
91         strings.
92
93 2009-10-23  Ryan Mansfield  <rmansfield@qnx.com>
94
95         PR ld/10489
96         * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Handle
97         drive specifiers for DOS based filesystems in rpath-link strings.
98
99 2009-10-19  Nick Clifton  <nickc@redhat.com>
100
101         * Makefile.am: Remove spurious sanitization marker.
102         * Makefile.in: Regenerate.
103
104 2009-10-16  Dimitry Gorbachev  <d.g.gorbachev@gmail.com>
105
106         * emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro.
107         (gld${EMULATION_NAME}_add_options): Add new --exclude-all-symbols option
108         to exclude all symbols from automatic export.
109         (gld_${EMULATION_NAME}_list_options): Describe it.
110         (gld${EMULATION_NAME}_handle_option): Handle it.
111         * emultempl/pep.em: Likewise to all the above.
112         * pe-dll.c (pe_dll_exclude_all_symbols): New variable.
113         (process_def_file_and_drectve): Use it.
114         * pe-dll.h (pe_dll_exclude_all_symbols): Declare.
115         * pep-dll.c (pep_dll_exclude_all_symbols): Define pep_ alias.
116         * pep-dll.h (pe_dll_exclude_all_symbols): Declare.
117         * NEWS: Mention the new feature.
118         * ld.texinfo: Document the new command line switch.
119
120 2009-10-14  Andreas Schwab  <schwab@linux-m68k.org>
121
122         * ldlex.l (yy_input): Remove second argument and return the value
123         instead.
124         (YY_INPUT): Adjust.
125
126 2009-10-14  Alan Modra  <amodra@bigpond.net.au>
127
128         * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix.
129
130 2009-10-14  Ryan Mansfield  <rmansfield@qnx.com>
131
132         * ldlang.c (load_symbols): Set whole_archive from entry when
133         parsing a linker script.
134
135 2009-10-10  Alan Modra  <amodra@bigpond.net.au>
136
137         * scripttempl/elf32cr16.sc: Revert 2009-09-28 changes.
138         * scripttempl/elf32cr16c.sc: Likewise.
139         * scripttempl/elf32crx.sc: Likewise.
140         * scripttempl/tic54xcoff.sc: Likewise.
141         * scripttempl/aix.sc: Likewise.
142         * scripttempl/avr.sc: Likewise.
143         * scripttempl/elf32msp430.sc: Likewise.
144         * scripttempl/elf32msp430_3.sc: Likewise.
145         * scripttempl/elf32sh-symbian.sc: Likewise.
146         * scripttempl/elf_chaos.sc: Likewise.
147         * scripttempl/elfi370.sc: Likewise.
148         * scripttempl/nw.sc: Likewise.
149         * scripttempl/psos.sc: Likewise.
150         * scripttempl/armbpabi.sc: Likewise.
151         * scripttempl/elf.sc: Likewise.
152         * scripttempl/elf64hppa.sc: Likewise.
153         * scripttempl/elfd10v.sc: Likewise.
154         * scripttempl/elfd30v.sc: Likewise.
155         * scripttempl/elfm68hc11.sc: Likewise.
156         * scripttempl/elfm68hc12.sc: Likewise.
157         * scripttempl/elfmicroblaze.sc: Likewise.
158         * scripttempl/elfxtensa.sc: Likewise.
159         * scripttempl/iq2000.sc: Likewise.
160         * scripttempl/mep.sc: Likewise.
161         * scripttempl/xstormy16.sc: Likewise.
162
163 2009-10-09  Alan Modra  <amodra@bigpond.net.au>
164
165         PR ld/10749
166         * ldlang.c (lang_size_sections_1): Zero section vmas only for COFF.
167
168 2009-10-08  Alan Modra  <amodra@bigpond.net.au>
169
170         PR ld/10744
171         * ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the
172         first PT_LOAD header.
173         * ld.texinfo: Update.
174
175 2009-10-06  Nathan Sidwell  <nathan@codesourcery.com>
176
177         * ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable
178         segments do not appear after a different loadable segment.
179         * ld.texinfo (PHDRS): Document order of processing segments.
180         Document where PHDRS and FILEHDR may appear.
181
182 2009-10-03  Alan Modra  <amodra@bigpond.net.au>
183
184         * emultempl/ppc32elf.em (emit_stub_syms): Init to -1.
185         (ppc_after_open): Set emit_stubs_syms by default when shared.
186         (OPTION_NO_STUBSYMS): Define.
187         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
188         PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
189         * emultempl/ppc64elf.em (emit_stub_syms): Init to -1.
190         (gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default.
191         (OPTION_NO_STUBSYMS): Define.
192         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
193         PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
194
195 2009-09-29  Joel Sherrill <joel.sherrill@oarcorp.com>
196
197         * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
198         (rts).
199
200 2009-09-29  DJ Delorie  <dj@redhat.com>
201
202         * Makefile.am: Add rules to build RX emulation.
203         * configure.tgt: Likewise.
204         * NEWS: Mention support for RX architecture.
205         * Makefile.in: Regenerate.
206         * emulparams/elf32rx.sh: New file.
207         * emultempl/rxelf.em: New file.
208
209 2009-09-29  Alan Modra  <amodra@bigpond.net.au>
210
211         * ldlang.c (lang_size_sections_1): Allow scripts to specify a
212         non-zero vma even when relocatable.
213
214 2009-09-28  Alan Modra  <amodra@bigpond.net.au>
215
216         * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
217         * scripttempl/elf32cr16c.sc: Likewise.
218         * scripttempl/elf32crx.sc: Likewise.
219         * scripttempl/tic54xcoff.sc: Likewise.
220         * scripttempl/aix.sc: Delete ${RELOCATING-0}.
221         * scripttempl/avr.sc: Likewise.
222         * scripttempl/elf32msp430.sc: Likewise.
223         * scripttempl/elf32msp430_3.sc: Likewise.
224         * scripttempl/elf32sh-symbian.sc: Likewise.
225         * scripttempl/elf_chaos.sc: Likewise.
226         * scripttempl/elfi370.sc: Likewise.
227         * scripttempl/nw.sc: Likewise.
228         * scripttempl/psos.sc: Likewise.
229         * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
230         * scripttempl/elf.sc: Likewise.
231         * scripttempl/elf64hppa.sc: Likewise.
232         * scripttempl/elfd10v.sc: Likewise.
233         * scripttempl/elfd30v.sc: Likewise.
234         * scripttempl/elfm68hc11.sc: Likewise.
235         * scripttempl/elfm68hc12.sc: Likewise.
236         * scripttempl/elfmicroblaze.sc: Likewise.
237         * scripttempl/elfxtensa.sc: Likewise.
238         * scripttempl/iq2000.sc: Likewise.
239         * scripttempl/mep.sc: Likewise.
240         * scripttempl/xstormy16.sc: Likewise.
241
242 2009-09-27  Christopher Faylor  <me+cygwin@cgf.cx>
243
244         PR ld/10634
245         * ldlang.c (lang_size_sections_1): Always force output vma to zero for
246         relocatable sections.
247         (lang_size_sections_1): Revert previous COFF-only accommodation for
248         relocatable sections.
249
250 2009-09-25  Martin Thuresson  <martint@google.com>
251
252         Update sources to make arm targets compile cleanly with
253         -Wc++-compat:
254         * emultempl/armelf.em: Add casts.
255
256 2009-09-23  Matt Rice  <ratmice@gmail.com>
257
258         * emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit,
259         --depaudit, and -P options.
260         (gld${EULATION_NAME}_handle_options): Ditto.
261         (gld${EULATION_NAME}_list_options): Ditto.
262         (gld${EMULATION_NAME}_append_to_separated_string): New function for
263         handling rpath-like colon separated strings.
264         (gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit
265         libs to bfd.  Propagate DT_AUDIT from needed libs to depaudit.
266         * ld.texinfo: Document new options.
267
268 2009-09-23  Nick Clifton  <nickc@redhat.com>
269
270         * po/vi.po: Updated Vietnamese translation.
271
272 2009-09-22  Alan Modra  <amodra@bigpond.net.au>
273
274         * scripttempl/a29k.sc: Delete.
275         * scripttempl/ebmon29k.sc: Delete.
276         * scripttempl/m68klynx.sc: Delete.
277         * scripttempl/sa29200.sc: Delete.
278         * scripttempl/sparclynx.sc: Delete.
279
280 2009-09-21  Alan Modra  <amodra@bigpond.net.au>
281
282         * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
283         (ppc_before_allocation): Pass to ppc_elf_tls_setup.
284         (OPTION_NO_TLS_GET_ADDR_OPT): Define.  Redefine other options in
285         terms of previous option.
286         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
287         --no-tls-get-addr-optimize.
288         (PARSE_AND_LIST_ARGS_CASES): Handle it.
289         * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
290         (ppc_before_allocation): Pass to ppc64_elf_tls_setup.
291         (OPTION_NO_TLS_GET_ADDR_OPT): Define.
292         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
293         --no-tls-get-addr-optimize.
294         (PARSE_AND_LIST_ARGS_CASES): Handle it.
295
296 2009-09-18  Nick Clifton  <nickc@redhat.com>
297
298         * po/es.po: Updated Spanish translation.
299
300 2009-09-13  Alan Modra  <amodra@bigpond.net.au>
301
302         PR ld/6766
303         * lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
304         * ldemul.c (after_parse_default): Add entry symbol as undef.
305         * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
306         * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
307         * emultempl/crxelf.em (crxelf_after_parse): Likewise.
308         * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
309         * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
310         * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
311         after_parse_default and delete now duplicate code.
312         * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
313         * scripttempl/elf32cr16.sc: No need to make entry extern.
314         * scripttempl/elf32cr16c.sc: Likewise.
315         * scripttempl/elf32crx.sc: Likewise.
316         * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.
317
318 2009-09-11  Nick Clifton  <nickc@redhat.com>
319
320         * po/ld.pot: Updated by the Translation project.
321         * po/fi.po: Updated Finnish translation.
322
323 2009-09-11  Martin Thuresson  <martint@google.com>
324
325         Updated sources to compile cleanly with -Wc++-compat:
326         * ld.h (enum endian_enum,enum symbolic_enum,enum
327         dynamic_list_enum): Move to top level.
328         * ldcref.c: Add casts.
329         * ldctor.c: Add casts.
330         * ldexp.c
331         * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
332         * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead
333         of integer.
334         * ldlang.h (enum statement_enum): Move to top level.
335         * ldmain.c: Add casts.
336         * ldwrite.c: Add casts.
337         * lexsup.c: Add casts. (enum control_enum): Move to top level.
338         * mri.c: Add casts. (mri_draw_tree): Use enum name instead of
339         integer.
340
341 2009-09-09  Alan Modra  <amodra@bigpond.net.au>
342
343         * scripttempl/aix.sc: Only provide ENTRY on final link.
344         * scripttempl/alpha.sc: Likewise.
345         * scripttempl/armcoff.sc: Likewise.
346         * scripttempl/crisaout.sc: Likewise.
347         * scripttempl/delta68.sc: Likewise.
348         * scripttempl/ebmon29k.sc: Likewise.
349         * scripttempl/elf32xc16x.sc: Likewise.
350         * scripttempl/elf32xc16xl.sc: Likewise.
351         * scripttempl/elfmicroblaze.sc: Likewise.
352         * scripttempl/epocpe.sc: Likewise.
353         * scripttempl/h8300.sc: Likewise.
354         * scripttempl/h8300h.sc: Likewise.
355         * scripttempl/h8300hn.sc: Likewise.
356         * scripttempl/h8300s.sc: Likewise.
357         * scripttempl/h8300sn.sc: Likewise.
358         * scripttempl/h8300sx.sc: Likewise.
359         * scripttempl/h8300sxn.sc: Likewise.
360         * scripttempl/hppaelf.sc: Likewise.
361         * scripttempl/i386beos.sc: Likewise.
362         * scripttempl/i386coff.sc: Likewise.
363         * scripttempl/i386go32.sc: Likewise.
364         * scripttempl/m68kaux.sc: Likewise.
365         * scripttempl/m68klynx.sc: Likewise.
366         * scripttempl/m88kbcs.sc: Likewise.
367         * scripttempl/maxqcoff.sc: Likewise.
368         * scripttempl/mcorepe.sc: Likewise.
369         * scripttempl/mips.sc: Likewise.
370         * scripttempl/ppcpe.sc: Likewise.
371         * scripttempl/sa29200.sc: Likewise.
372         * scripttempl/sparccoff.sc: Likewise.
373         * scripttempl/sparclynx.sc: Likewise.
374         * scripttempl/tic4xcoff.sc: Likewise.
375         * scripttempl/tic54xcoff.sc: Likewise.
376         * scripttempl/tic80coff.sc: Likewise.
377         * scripttempl/z8000.sc: Likewise.
378
379 2009-09-07  Tristan Gingold  <gingold@adacore.com>
380
381         * po/ld.pot: Regenerate.
382
383 2009-09-05  Martin Thuresson  <martin@mtme.org>
384
385         * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols,
386         gld${EMULATION_NAME}_try_needed): Rename variable class to
387         link_class.
388
389 2009-09-04  Tristan Gingold  <gingold@adacore.com>
390
391         * NEWS: Add marker for 2.20.
392
393 2009-09-04  Alan Modra  <amodra@bigpond.net.au>
394
395         * scripttempl/elf.sc (.text): Add cold text sections.
396
397 2009-09-04  Jie Zhang  <jie.zhang@analog.com>
398
399         * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
400         and .l2.data.
401
402 2009-09-03  Dave Korn  <dave.korn.cygwin@gmail.com>
403
404         * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch
405         new GCC hot/cold/unlikely partitions.
406         * scripttempl/pep.sc: Likewise.
407         * scripttempl/epocpe.sc: Likewise.
408         * scripttempl/mcorepe.sc: Likewise.
409         * scripttempl/ppcpe.sc: Likewise.
410
411 2009-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
412
413         * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct
414         source file name for generated files which may be in $(srcdir).
415         * Makefile.in: Regenerate.
416
417 2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>
418
419         * ldver.c (ldversion): Change to "Copyright 2009".
420
421 2009-09-01  Jie Zhang  <jie.zhang@analog.com>
422
423         * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
424         _stack and __bss_start.
425         * emulparams/bfin.sh (ENTRY): Remove.
426
427 2009-08-30  Alan Modra  <amodra@bigpond.net.au>
428
429         PR ld/10569
430         * ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize.
431         (fold_name <COMMONPAGESIZE>): Similarly.
432         * ldlang.c (output_target): Make global.
433         * ldlang.h (output_target): Declare.
434         * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
435         Similarly for config.commonpagesize.
436         * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
437         and bfd_emul_set_commonpagesize.
438         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
439         bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
440
441 2009-08-29  Martin Thuresson  <martin@mtme.org>
442
443         * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
444         (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
445         to new_e.
446         * ldfile.c (ldfile_add_library_path): Rename variable new to
447         new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
448         * ldlang.c (new_statement, lang_final, lang_add_wild)
449         (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
450         (lang_add_insert): Rename variable new to new_stmt. (new_afile):
451         Added missing cast. (lang_memory_region_lookup): Rename variable
452         new to new_region. (init_os): Rename variable new to
453         new_userdata. (lang_add_section): Rename variable new to
454         new_section. (ldlang_add_undef): Rename variable new to
455         new_undef. (realsymbol): Rename variable new to new_name.
456
457 2009-08-26  Nick Clifton  <nickc@redhat.com>
458
459         PR ld/10555
460         * emultempl/elf32.em (_after_open): Do not create a
461         .note.gnu-build-id section if there are no input files.
462
463 2009-08-24  Nick Clifton  <nickc@redhat.com>
464
465         * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
466         .gnu.lto_ prefix.
467         * scripttempl/armbpabi.sc: Likewise.
468         * scripttempl/elf32sh-symbian.sc: Likewise.
469         * scripttempl/elf64hppa.sc: Likewise.
470         * scripttempl/mep.sc: Likewise.
471
472 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
473
474         * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
475         rules.
476         (eelf32_spu.o): Add dependency tracking.
477         * Makefile.in: Regenerate.
478
479         * Makefile.am (am__skiplex, am__skipyacc): New.
480         * Makefile.in: Regenerate.
481
482 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
483
484         * Makefile.am (bin_PROGRAMS): Renamed from ...
485         (noinst_PROGRAMS): ... this.
486         (transform): Override, including the renaming of ld-new to ld.
487         (install-exec-local): Installation of ld in $(bindir) not needed
488         here any more.
489         (AM_CPPFLAGS): Renamed from ...
490         (INCLUDES): ... this.
491         (MAINTAINERCLEANFILES): Add ld.1.
492         * Makefile.in: Regenerate.
493
494         * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus.  Add
495         no-texinfo.tex, no-dist, foreign.
496         (TEXINFO_TEX): New variable.
497         (install-data-local): Removed, not needed any more.
498         (all): Dependencies upon info and ld.1 not needed any more.
499         (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
500         (mkdep generated section): Removed.
501         (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
502         use automake dependency tracking mechanism.
503         (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
504         $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
505         dependencies are tracked too.
506         (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
507         are built early.
508         * configure.in: Use AM_MAINTAINER_MODE.
509         * aclocal.m4, configure, Makefile.in: Regenerate.
510
511         * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
512         (install-pdf-recursive, html__strip_dir, install-html)
513         (install-html-am, install-html-recursive): Remove.
514         * Makefile.in: Regenerate.
515
516         * Makefile.in: Regenerate.
517         * aclocal.m4: Likewise.
518         * config.in: Likewise.
519         * configure: Likewise.
520
521 2009-08-21  Richard Guenther  <rguenther@suse.de>
522
523         * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
524
525 2009-08-12  Tristan Gingold  <gingold@adacore.com>
526
527         * ld.h (fat_user_section_struct): Add map_symbol_def_count field.
528         * ldlang.c (hash_entry_addr_cmp): New function.
529         (print_all_symbols): Sort the symbols by address before printing them.
530
531 2009-08-10  Alan Modra  <amodra@bigpond.net.au>
532
533         PR 10474
534         * ldemul.c (after_allocation_default): Run lang_relax_sections.
535         * ldlang.h (lang_relax_sections): Declare.
536         * ldlang.c (relax_sections): Delete.
537         (lang_relax_sections): New function.
538         (lang_process): Don't relax directly from here.
539         * emultempl/alphaelf.em (alpha_finish): Call finish_default.
540         * emultempl/armelf.em (arm_elf_after_allocation): Delete.  Move body..
541         (gld${EMULATION_NAME}_finish): ..to here.  Move existing code..
542         (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
543         (LDEMUL_AFTER_ALLOCATION): Update.
544         * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
545         (avr_elf_after_allocation): New function.
546         (LDEMUL_AFTER_ALLOCATION): Define.
547         * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
548         lang_relax_sections.
549         * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete.  Move..
550         (gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
551         (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
552         * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
553         (gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
554         (LDEMUL_FINISH): Delete.
555         (LDEMUL_AFTER_ALLOCATION): Define.
556         * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
557         (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
558         (LDEMUL_FINISH): Delete.
559         (LDEMUL_AFTER_ALLOCATION): Define.
560         * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete.  Move..
561         (m68hc11elf_after_allocation): ..to here.  New function.
562         (LDEMUL_FINISH): Delete.
563         (LDEMUL_AFTER_ALLOCATION): Define.
564         * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
565         gld${EMULATION_NAME}_after_allocation.
566         * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
567         gld${EMULATION_NAME}_after_allocation.
568         * emultempl/mmo.em (mmo_finish): Delete.  Move body..
569         (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
570         (LDEMUL_FINISH): Define.
571         * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
572         (gld${EMULATION_NAME}_finish): Move code sizing sections..
573         (gld${EMULATION_NAME}_after_allocation): ..to here.
574         * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
575         Call gld${EMULATION_NAME}_after_allocation.
576         * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
577         bfd_elf_discard_info and map_segments call.
578
579 2009-08-06  Michael Eager <eager@eagercon.com>
580
581         * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
582         ALL_EMULATIONS, targets.
583         * Makefile.in: Regenerate.
584         * configure.tgt: Add microblaze*-linux*, microblaze* targets.
585         * emulparams/elf32mb_linux.sh: New.
586         * emulparams/elf32microblaze.sh. New.
587         * scripttempl/elfmicroblaze.sc: New.
588
589 2009-08-05  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
590
591         * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
592         section and __fixup_start symbol.
593         * emultempl/spuelf.em (params): Initialize emit_fixups member.
594         (spu_before_allocation): Call spu_elf_size_sections.
595         (OPTION_SPU_EMIT_FIXUPS): Define.
596         (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
597         (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
598         * ld.texinfo (--emit-fixups): Document.
599
600 2009-08-04  Alan Modra  <amodra@bigpond.net.au>
601
602         PR 10474
603         * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
604         not size, after lang_reset_memory_regions.
605
606 2009-07-30  Alan Modra  <amodra@bigpond.net.au>
607
608         * emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
609         * emulparams/elf_i386.sh (IREL_IN_PLT): Define.
610         * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
611         * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
612         when !IREL_IN_PLT.
613
614 2009-07-29  Hans-Peter Nilsson  <hp@bitrange.com>
615
616         * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
617         the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
618         (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
619         (ENTRY): Don't emit for relocateable links.
620         (/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
621         * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
622         elf64-mmix.
623         * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
624         provide "Main" or set "_start.", for relocateable links.
625
626 2009-07-27  Nick Clifton  <nickc@redhat.com>
627
628         * (po/fi.po): Updated Finnish translation.
629
630 2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
631
632         * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
633         is supported.  Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
634         (targ_extra_emuls): Likewise.
635
636         * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
637         eelf_l1om_fbsd.o
638         (eelf_l1om.c): New.
639         (eelf_l1om_fbsd.c): Likewise.
640         * Makefile.in: Regenerated.
641
642         * emulparams/elf_l1om.sh: New.
643         * emulparams/elf_l1om_fbsd.sh: Likewise.
644
645 2009-07-23  Ulrich Drepper  <drepper@redhat.com>
646
647         * NEWS: Mention the linker's support for symbols with a binding of
648         STB_GNU_UNIQUE.
649
650 2009-07-22  H.J. Lu  <hongjiu.lu@intel.com>
651
652         PR ld/10429
653         * ldlang.c (insert_os_after): Tie assignments to non-alloc
654         output sections if there is no-input section.
655
656 2009-07-11  Alan Modra  <amodra@bigpond.net.au>
657
658         * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
659         output sections.
660
661 2009-07-10  Alan Modra  <amodra@bigpond.net.au>
662
663         * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
664         linker relaxation if it might be necessary.
665
666 2009-07-10  Alan Modra  <amodra@bigpond.net.au>
667
668         * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
669
670 2009-07-06  Matthias Klose <doko@ubuntu.com>
671
672         * ld.texinfo: Fix typo.
673
674 2009-07-03  Tristan Gingold  <gingold@adacore.com>
675
676         * scripttempl/pep.sc: Put .eh_frame in its own section.
677         * scripttempl/pe.sc: Ditto.
678
679 2009-06-26  Kai Tietz  <kai.tietz@onevision.com>
680
681         * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
682         * scripttempl/pep.sc: Likewise.
683
684 2009-06-25  Tristan Gingold  <gingold@adacore.com>
685
686         * ldlang.c (print_input_section): Add is_discarded parameter.  Adjust
687         prototype.
688         (lang_map): Print the size of discarded sections.
689         (print_statement): Adjust call to print_input_section.
690
691 2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
692
693         Merge cegcc and mingw32ce target name changes from CeGCC project:
694
695         2008-09-24  Pedro Alves  <pedroalves@users.sourceforge.net>
696
697         * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
698         ${tooldir}/lib/w32api.
699
700         2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
701
702         * configure.tgt: Add arm*-*-cegcc* target.
703
704         2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>
705
706         * configure.tgt: Add arm-*-mingw32ce* target.
707
708 2009-06-10  Philip Blundell  <philb@gnu.org>
709
710         * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
711         if section has no ELF data.
712
713 2009-06-06  H.J. Lu  <hongjiu.lu@intel.com>
714
715         * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
716
717 2009-06-05  H.J. Lu  <hongjiu.lu@intel.com>
718
719         * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
720
721 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
722
723         * dep-in.sed: Don't use \n in replacement part of s command.
724         * Makefile.am (DEP1): LC_ALL for uniq.
725         * Makefile.in: Regenerate.
726
727 2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
728
729         * scripttempl/elf.sc (PLT): Add "*(.iplt)".
730         (GOT): Add "*(.igot.plt)a" and "*(.igot)".
731         (GOTPLT): Add "*(.igot)".
732         (__rel_iplt_start): New.
733         (__rel_iplt_end): Likewise.
734         (__rela_iplt_start): Likewise.
735         (__rela_iplt_end): Likewise.
736
737 2009-05-27  Dave Korn  <dave.korn.cygwin@gmail.com>
738
739         * deffilep.y (%union):  Add new string-type semantic value 'digits'.
740         (%token):  Remove NUMBER as token, add DIGITS.
741         (%type):  Add NUMBER as type.  Add new id types anylang_id, opt_id.
742         (ALIGNCOMM):  Parse an anylang_id instead of a plain ID.
743         (anylang_id):  New production.
744         (opt_digits):  Likewise.
745         (opt_id):  Likewise.
746         (NUMBER):  Likewise.
747         (def_lex):  Return strings of digits in raw string form as DIGITS
748         token, instead of converting to numeric integer type.
749
750 2009-05-26  Nathan Sidwell  <nathan@codesourcery.com>
751
752         * ldmain.c (main): Don't reject --relax -r.
753         * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
754         partial links.
755
756 2009-05-26  Nick Clifton  <nickc@redhat.com>
757
758         * po/id.po: Updated Indonesian translation.
759         * po/ld.pot: Updated template file.
760
761 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
762
763         * dep-in.sed: Output one filename per line with all lines having
764         continuation backslash.  Prefix first line with "A", following
765         lines with "B".
766         * Makefile.am (DEP): Don't use dep.sed here.
767         (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
768         sort and uniq.
769         * Makefile.in: Regenerate.
770
771 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
772
773         * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
774
775 2009-05-22  Julian Brown  <julian@codesourcery.com>
776
777         * emultempl/armelf.em (fix_cortex_a8): New.
778         (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
779         (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
780         bfd_elf32_arm_set_target_relocs.
781         (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
782         (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
783         (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
784         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
785         * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
786
787 2009-05-22  Nathan Sidwell  <nathan@codesourcery.com>
788
789         * ldlang.c (lang_check_section_addresses): Ignore non-loadable
790         sections when checking for overlap.  Clarify error message
791         concerns load address.
792
793 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
794
795         * Makefile.am: Run "make dep-am".
796         * Makefile.in: Regenerate.
797
798 2009-05-19  Dave Korn  <dave.korn.cygwin@gmail.com>
799
800         * NEWS:  Mention new feature.
801         * deffile.h (def_file_aligncomm):  Add new struct definition.
802         (def_file):  Add new def_file_aligncomm member.
803         * deffilep.y (%token):  Add new ALIGNCOMM token.
804         (command):  Add production rule for ALIGNCOMM.
805         (def_file_free):  Free any chained def_file_aligncomm structs.
806         (diropts[]):  Add entry for '-aligncomm' .drectve command.
807         (def_aligncomm):  New grammar function.
808         * ld.texinfo:  Document new feature.
809         * pe-dll.c (process_def_file):  Rename from this ...
810         (process_def_file_and_drectve):  ... to this, updating all callers,
811         and process any aligncomms chained to the def file after scanning
812         all .drectve sections.
813         (generate_edata):  Updated to match.
814         (pe_dll_build_sections):  Likewise.
815
816 2009-05-17  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
817
818         * pe-dll.c (process_def_file): Do not create empty export table.
819
820 2009-05-15  Alan Modra  <amodra@bigpond.net.au>
821
822         * ldlang.c (lang_output_section_statement_lookup): Add function
823         comment.  Make "name" non-const.  Ensure duplicate entries use
824         the same string, allowing simple comparison in hash bucket loop.
825         Tweak constraint check.
826         (next_matching_output_section_statement): New function.
827         * ldlang.h (lang_output_section_statement_lookup): Update.
828         (next_matching_output_section_statement): Declare.
829         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
830         combine orphan sections when input sections flags differ in
831         alloc or load.
832         * emultempl/pe.em: Formatting throughout.
833         (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
834         * emultempl/pep.em: Formatting throughout.
835         (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
836
837 2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
838
839         * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
840         compact stubs with software i-cache.
841
842 2009-05-14  Alan Modra  <amodra@bigpond.net.au>
843
844         * emultempl/spuelf.em (spu_before_allocation): Call
845         spu_elf_place_overlay_data.
846
847 2009-05-14  Alan Modra  <amodra@bigpond.net.au>
848
849         * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
850         assignment inside output section statement.  Ensure only one
851         set of symbols per output section.
852         * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
853         dollar sections before dollar sections.  Correct add_child
854         list insertion.
855         * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
856
857 2009-05-05  Paul Brook  <paul@codesourcery.com>
858
859         * emultempl/armelf.em (compare_output_sec_vma): New function.
860         (gld${EMULATION_NAME}_finish): Add exidx munging code.
861
862 2009-05-05  Anatoly Sokolov  <aesok@post.ru>
863
864         * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
865         * emulparams/avr1.sh (DATA_ORIGIN): Add.
866         * emulparams/avr2.sh (DATA_ORIGIN): Add.
867         * emulparams/avr25.sh (DATA_ORIGIN): Add.
868         * emulparams/avr3.sh (DATA_ORIGIN): Add.
869         * emulparams/avr31.sh (DATA_ORIGIN): Add.
870         * emulparams/avr35.sh (DATA_ORIGIN): Add.
871         * emulparams/avr4.sh (DATA_ORIGIN): Add.
872         * emulparams/avr5.sh (DATA_ORIGIN): Add.
873         * emulparams/avr51.sh (DATA_ORIGIN): Add.
874         (DATA_LENGTH): Update.
875         * emulparams/avr6.sh (DATA_ORIGIN): Add.
876         (DATA_LENGTH): Update.
877
878 2009-05-04  Dave Korn  <dave.korn.cygwin@gmail.com>
879
880         * NEWS:  Mention new feature.
881         * ld.texinfo (--version-script):  Document extent of PE support.
882         (WIN32):  Mention --version-script.  Extend auto-export description.
883         * pe-dll.c (process_def_file):  Use version script info to filter
884         symbols from auto-export.
885         * testsuite/ld-pe/vers-script-1.d:  New file.
886         * testsuite/ld-pe/vers-script-2.d:  New file.
887         * testsuite/ld-pe/vers-script-3.d:  New file.
888         * testsuite/ld-pe/vers-script-4.d:  New file.
889         * testsuite/ld-pe/vers-script-1.ver:  New file.
890         * testsuite/ld-pe/vers-script-2.ver:  New file.
891         * testsuite/ld-pe/vers-script-3.ver:  New file.
892         * testsuite/ld-pe/vers-script-4.ver:  New file.
893         * testsuite/ld-pe/vers-script-dll.c:  New file.
894         * testsuite/ld-pe/vers-script.exp:  New test script.
895
896 2009-05-01  Nathan Sidwell  <nathan@codesourcery.com>
897
898         * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
899
900 2009-04-30  Nick Clifton  <nickc@redhat.com>
901
902         * NEWS: Mention support for IFUNC symbols.
903
904 2009-04-29  Anthony Green  <green@moxielogic.com>
905
906         * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
907         position out to accommodate larger programs.
908
909 2009-04-29  Chris Demetriou  <cgd@google.com>
910
911         * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
912         (ld_options): Likewise.
913         (parse_args): Likewise.
914         * ld.texinfo: Document --no-export-dynamic.
915         * NEWS: Mention --no-export-dynamic.
916
917 2009-04-29  Alan Modra  <amodra@bigpond.net.au>
918
919         * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
920
921 2009-04-25  Alan Modra  <amodra@bigpond.net.au>
922
923         PR 10061
924         * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
925         param.
926
927 2009-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
928
929         * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
930         (arm_elf_set_bfd_for_interworking): Delete.
931         (arm_elf_before_allocation): Do not set the interworking BFD.
932         Move allocation inside not-dynamic block.
933         (arm_elf_create_output_section_statements): Create glue sections
934         and set the interworking BFD here.
935         (LDEMUL_AFTER_OPEN): Delete.
936
937 2009-04-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
938
939         * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
940
941 2009-04-15  Anthony Green  <green@moxielogic.com>
942
943         * configure.tgt: Add moxie support.
944         * Makefile.am: Add moxie files.
945         * Makefile.in: Rebuilt.
946         * emulparams/elf32moxie.sh: New file.
947         * scripttempl/moxie.sc: New file.
948
949 2009-04-15  Kazu Hirata  <kazu@codesourcery.com>
950
951         * ldlang.c: Do not include limits.h.
952
953 2009-04-14  Alan Modra  <amodra@bigpond.net.au>
954
955         PR ld/10047
956         * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
957         ldscripts in build tree.  Don't repeat search for ../lib/ldscripts.
958
959 2009-04-13  H.J. Lu  <hongjiu.lu@intel.com>
960
961         * ldfile.c (ldfile_find_command_file): Revert the last change.
962
963 2009-04-11  H.J. Lu  <hongjiu.lu@intel.com>
964
965         PR ld/10047
966         * ldfile.c (ldfile_find_command_file): First try raw name.
967
968 2009-04-09  Nick Clifton  <nickc@redhat.com>
969
970         PR 9824
971         * ld.texinfo (Output Section Constraint): New node.  Documents the
972         ONLY_IF_RO and ONLY_IF_RW constraints.
973         (Symbolic Constants): New node.  Documents the CONSTANT operator.
974
975 2009-04-09  Thilo Fischer <thilo.fischer@uni-muenster.de>
976
977         * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
978         of fork/execvp.
979
980 2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>
981
982         * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
983         (ld_options): Likewise.
984         (parse_args): Likewise.
985
986         * ld.texinfo: Document --warn-alternate-em.
987
988         * NEWS: Mention --warn-alternate-em.
989
990 2009-04-07  DJ Delorie  <dj@redhat.com>
991
992         * emulparams/elf32mep.sh: Change default endian to little.
993
994 2009-04-07  Nick Clifton  <nickc@redhat.com>
995
996         * ld.texinfo (Output Section Address): Note that specifying an
997         address for an output section will only change the location
998         counter if the output section is used.
999
1000 2009-04-06  Kazu Hirata  <kazu@codesourcery.com>
1001
1002         * ldfile.c (ldfile_find_command_file): Initialize result.
1003
1004 2009-04-06  Kazu Hirata  <kazu@codesourcery.com>
1005
1006         * ld.texinfo (-L): Mention that -L options do not affect how ld
1007         searches for a linker script unless -T option is specified.
1008         * ldfile.c (ldfile_find_command_file): Append the path obtained
1009         from the program name to the search path instead of
1010         prepending. Add a new parameter "default_only". Restrict the
1011         search to the default script location if the new parameter is
1012         true.
1013         (ldfile_open_command_file_1): New.
1014         (ldfile_open_command_file): Call ldfile_open_command_file_1.
1015         (ldfile_open_default_command_file): New.
1016
1017 2009-04-03  Nathan Sidwell  <nathan@codesourcery.com>
1018
1019         * ldlang.c (lang_leave_output_section_statement): Set lma_region
1020         if it is not overridden and section is for the same vma region as
1021         the previous section.
1022
1023 2009-04-02  Dave Korn  <dave.korn.cygwin@gmail.com>
1024
1025         PR ld/6744
1026         * ld.texinfo (--export-dynamic):  Mention --export-all-symbols.
1027         * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse):  Issue
1028         warning if --export-dynamic was passed on command-line.
1029         * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse):  Likewise.
1030
1031 2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
1032
1033         * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
1034         function.
1035         (ld_${EMULATION_NAME}_emulation): Use it.
1036
1037 2009-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1038
1039         PR ld/9970
1040         * ldlang.c (lang_end): Warn missing entry symbol for -pie.
1041
1042 2009-03-19  Alan Modra  <amodra@bigpond.net.au>
1043
1044         * emultempl/spuelf.em (spu_before_allocation): Report errors from
1045         spu_elf_find_overlays.
1046
1047 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
1048
1049         PR ld/6766
1050         * lexsup.c (parse_args): Call ldlang_add_undef for -e.
1051
1052 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
1053
1054         * ld.h: Remove alloca handling.
1055
1056 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
1057
1058         * emultempl/spu_icache.S: Add new entry to dummy handler.
1059         * emultempl/spu_icache.o_c: Regenerate.
1060         * emultempl/spuelf.em (params): Init new field.
1061         (no_overlays): New static var.
1062         (spu_before_allocation): Use it.
1063         (OPTION_SPU_COMPACT_STUBS): Define.
1064         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
1065         (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs.  Adjust no-overlays
1066         handling.
1067
1068 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
1069
1070         * configure.host (HOSTING_LIBS): Two dollars on shell variable
1071         expansion to suit make.
1072
1073 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
1074
1075         * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
1076         * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
1077         * aclocal.m4: Regenerate.
1078         * configure: Regenerate.
1079         * Makefile.in: Regenerate.
1080
1081 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1082
1083         * emultempl/aix.em (auto_export_flags): New variable.
1084         (explicit_auto_export_flags): Likewise.
1085         (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
1086         (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
1087         (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
1088         -bnoexpall and -bnoexpfull.
1089         (gld${EMULATION_NAME}_handle_option): Handle them.
1090         (gld${EMULATION_NAME}_before_allocation): Update the call to
1091         bfd_size_dynamic_sections.
1092
1093 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1094
1095         * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
1096         -berok and -bernotok control link_info.unresolved_syms_in_objects
1097         and link_info.unresolved_syms_in_shared_libs instead of
1098         force_make_executable.
1099
1100 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1101
1102         * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
1103         config.dynamic_link to TRUE.
1104
1105 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1106
1107         * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
1108         .text, .data and .bss output sections as SEC_KEEP.
1109
1110 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1111
1112         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1113
1114 2009-03-14  Dave Korn  <dave.korn.cygwin@gmail.com>
1115             Danny Smith  <dannysmith@users.sourceforge.net>
1116
1117         * emultmpl/pe.em (pe_dll_characteristics): New variable.
1118         (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
1119         OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
1120         OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
1121         New macros for options to set DllCharacteristics flag bits.
1122         (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
1123         nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
1124         (init): Add DllCharacteristics field.
1125         (gld_${EMULATION_NAME}_list_options): List new options.
1126         (gld${EMULATION_NAME}_handle_option): Handle new options.
1127         * emultmpl/pep.em (pe_dll_characteristics): New variable.
1128         (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
1129         OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
1130         OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
1131         New macros for options to set DllCharacteristics flags.
1132         (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
1133         nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
1134         (init): Add DllCharacteristics field.
1135         (gld_${EMULATION_NAME}_list_options): List new options.
1136         (gld${EMULATION_NAME}_handle_option): Handle new options.
1137         * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
1138         no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
1139
1140 2009-03-06  Nick Clifton  <nickc@redhat.com>
1141
1142         * po/es.po: Updated Spanish translation.
1143
1144 2009-03-03  Dave Korn  <dave.korn.cygwin@gmail.com>
1145
1146         * emultempl/pe.em (debug_section_p):  New bfd_map_over_sections hook.
1147         (gld_${EMULATION_NAME}_after_open):  Use it to iterate all sections
1148         of all input BFDs, looking for debug info.  Enable long section names
1149         if any found.
1150         * emultempl/pe.em (debug_section_p):  Likewise.
1151         (gld_${EMULATION_NAME}_after_open):  Likewise.
1152         * NEWS:  Retrospectively adjust news announcement.
1153         * ld.texinfo:  Update documentation to mention new behaviour.
1154
1155 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
1156
1157         * Makefile.am: Run "make dep-am".
1158         * Makefile.in: Regenerate.
1159
1160 2009-03-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1161
1162         * ldgram.y: Add support for REGION_ALIAS operator.
1163         * ldlang.c: Likewise.
1164         * ldlang.h: Likewise.
1165         * ldlex.l: Likewise.
1166         * NEWS: Mention the new feature.
1167         * ld.texinfo: Document the new feature.
1168
1169 2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
1170
1171         * Makefile.am: Replace score elf emulation with score3 and score7
1172         emulations.
1173         * Makefile.in: Regenerate,
1174         * NEWS: Mention support for Score7 architecture.
1175         * configure.tgt: Add score7 emulation to score-elf target.
1176         * emulparams/scoreelf.sh: Add score7 support.
1177         * emultempl/scoreelf.em: Likewise.
1178
1179 2009-03-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1180
1181         * configure.tgt: Only use elf64hppa target emulation for hpux.
1182         * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
1183         (SCRIPT_NAME): Use new script elf64hppa.
1184         (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
1185         TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
1186         OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
1187         DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
1188         TEXT_DYNAMIC): Define.
1189         * emulparams/hppa64linux.sh: Adjust comments.
1190         * scripttempl/elf64hppa.sc: New file.
1191
1192 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1193
1194         * configure: Regenerate.
1195
1196 2009-02-27  Dave Korn  <dave.korn.cygwin@gmail.com>
1197
1198         * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):  Set
1199         default state of auto-import flag based on $target.
1200
1201 2009-02-24  Joseph Myers  <joseph@codesourcery.com>
1202
1203         * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
1204         * emultempl/armelf.em (hook_in_stub): Insert after the input section.
1205         (elf32_arm_add_stub_section): Update comment.
1206         (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
1207
1208 2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>
1209
1210         * ld.texinfo (Options): Correct typos in example.  Recommend
1211         using joined forms of syntax for passing options with arguments
1212         from a driver.
1213         (-a): Use consistent syntax for documenting option arguments.
1214         Clean up indexing and markup.
1215         (-A/--architecture): Likewise.
1216         (-f/--auxiliary): Likewise.
1217         (-F/--filter): Likewise.
1218         (-fini): Likewise.
1219         (-G/--gpsize): Likewise.
1220         (-h/-soname):Likewise.
1221         (-init): Likewise.
1222         (-l/--library): Likewise.
1223         (-L/--library-path): Likewise.
1224         (-m): Likewise.
1225         (--defsym): Likewise.
1226         (-I/--dynamic-linker): Likewise.
1227         (-Map): Likewise.
1228         (--oformat): Likewise.
1229         (--retain-symbols-file): Likewise.
1230         (-rpath): Likewise.
1231         (-rpath-link): Likewise.
1232         (--sort-common): Likewise.
1233         (--sort-section): Likewise.
1234         (--split-by-file): Likewise.
1235         (--split-by-reloc): Likewise.
1236         (--sysroot): Likewise.
1237         (--section-start): Likewise.
1238         (-Tbss, -Tdata, -Ttext): Likewise.
1239         (-Ttext-segment): Likewise.
1240         (--version-script): Likewise.
1241         (--wrap): Likewise.
1242
1243 2009-02-18  Dave Korn  <dave.korn.cygwin@gmail.com>
1244
1245         * ld.texinfo:  Update to mention long section name options.
1246         * NEWS:  Mention new behaviour and command-line options.
1247         * pe-dll.c (pe_use_coff_long_section_names):  New global variable.
1248         (pe_output_file_set_long_section_names):  New function.
1249         (pe_dll_build_sections):  Call it on output BFDs.
1250         (pe_exe_build_sections):  Likewise.
1251         (pe_dll_fill_sections):  Likewise.
1252         (pe_exe_fill_sections):  Likewise.
1253         * pe-dll.h (pe_use_coff_long_section_names):  Declare extern.
1254         (pe_output_file_set_long_section_names):  Add prototype.
1255         * pep-dll.c (pe_use_coff_long_section_names):  Define pep_ alias.
1256         (pe_output_file_set_long_section_names):  Likewise.
1257         * pep-dll.h (pep_use_coff_long_section_names):  Declare extern.
1258         (pep_output_file_set_long_section_names):  Add prototype.
1259         * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES):  New getopt value macro.
1260         (OPTION_DISABLE_LONG_SECTION_NAMES):  Likewise.
1261         (gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
1262         (gld_${EMULATION_NAME}_list_options):  Describe them.
1263         (gld${EMULATION_NAME}_handle_option):  Set or clear global
1264         pe_use_coff_long_section_names flag when options recognised.
1265         (gld_${EMULATION_NAME}_after_open):  En/disable long section names
1266         for main output bfd by calling pe_output_file_set_long_section_names.
1267         * pep.em (enum options):  Extend enum with new getopt option values.
1268         (gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
1269         (gld_${EMULATION_NAME}_list_options):  Describe them.
1270         (gld${EMULATION_NAME}_handle_option):  Set or clear global
1271         pe_use_coff_long_section_names flag when options recognised.
1272         (gld_${EMULATION_NAME}_after_open):  En/disable long section names
1273         for main output bfd by calling pep_output_file_set_long_section_names.
1274
1275 2009-02-16  Dave Korn  <dave.korn.cygwin@gmail.com>
1276
1277         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):  Don't emit
1278         inadvertent .reloc sections caused by refactoring accident.
1279
1280 2009-02-16  Alan Modra  <amodra@bigpond.net.au>
1281
1282         * ldlang.c (process_insert_statements): ASSERT that output section
1283         statements are in order.
1284
1285 2009-02-16  Alan Modra  <amodra@bigpond.net.au>
1286
1287         * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
1288         (stat_save, stat_save_ptr): New variables.
1289         (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
1290         (load_symbols): Likewise.  Delete dead "bad_load" code.
1291         (open_input_bfds): Warn on script containing output sections.
1292         (lang_enter_output_section_statement): Use push_stat_ptr.
1293         (lang_enter_group): Likewise.
1294         (lang_leave_output_section_statement): Use pop_stat_ptr.
1295         (lang_leave_group): Likewise.
1296         * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
1297         * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
1298         * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1299         * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1300         * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1301         * emultempl/spuelf.em (spu_place_special_section): Likewise.
1302         * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
1303
1304 2009-02-09  Nathan Sidwell  <nathan@codesourcery.com>
1305
1306         Missing piece of 2009-01-26 commit
1307         * ldlang.c (lang_process): Don't consider relocatable flag when
1308         checking for overlap.
1309
1310 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
1311
1312         * emulparams/m68kelf.sh: Add newline at end of file.
1313
1314 2009-02-04  Nick Clifton  <nickc@redhat.com>
1315
1316         PR 9805
1317         * ld.texinfo (--allow-shlib-undefined): Correct description of
1318         default settings and tidy up the rest of the entry.
1319
1320 2009-02-04  Alan Modra  <amodra@bigpond.net.au>
1321
1322         * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
1323         during relocatable link.
1324
1325 2009-02-03  Nick Clifton  <nickc@redhat.com>
1326
1327         PR 9797
1328         * ld.texinfo (Constants): Document the base-encoding suffixes
1329         supported in linker scripts.
1330
1331 2009-02-03  Alan Modra  <amodra@bigpond.net.au>
1332
1333         * NEWS: Mention --as-needed change.
1334
1335 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
1336
1337         * configure.in: AC_SUBST pdfdir.
1338         * Makefile.am: Add install-pdf, install-pdf-am,
1339         and install-pdf-recursive targets. Define pdf__strip_dir.
1340         * po/Make-in: Add install-pdf target.
1341         * configure: Regenerate.
1342         * Makefile.in: Regenerate.
1343
1344 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
1345
1346         * ld.texinfo (--as-needed): Update.
1347
1348 2009-01-29  Andrew Jenner  <andrew@codesourcery.com>
1349
1350         * emultempl/armelf.em: Correct formatting of help text for
1351         --no-enum-size-warning option.
1352
1353 2009-01-26  Nathan Sidwell  <nathan@codesourcery.com>
1354
1355         * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
1356         * ld.h (args_type): Make check_section_addresses a char.
1357         * ldmain.c (main): Default check_section_addresses to -1. Check it
1358         for relocatable links.
1359         * ld.texinfo (--check-sections): Update documentation.
1360
1361 2009-01-26  Kai Tietz  <kai.tietz@onevision.com>
1362
1363         * pe-dll.c (tmp_seq2): New static variable.
1364         (make_singleton_name_imp): New.
1365         (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
1366         avoid duplicate import table generation for same symbol.
1367         (pe_create_runtime_relocator_reference): Make reference for
1368         64-bit 8 bytes.
1369
1370 2009-01-21  Alan Modra  <amodra@bigpond.net.au>
1371
1372         * emultempl/spuelf.em (params): Init new field.
1373         (OPTION_SPU_NON_IA_TEXT): Define.
1374         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
1375         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
1376
1377 2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1378
1379         * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
1380         (ld_options): Add -Ttext-segment.
1381         (parse_args): Handle OPTION_TTEXT_SEGMENT.
1382
1383         * ld.texinfo: Document -Ttext-segment.
1384
1385         * NEWS: Mention -Ttext-segment.
1386
1387         * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
1388         (SHLIB_TEXT_START_ADDR): Likewise.
1389
1390 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1391
1392         * emultempl/spu_icache.o_c: Regenerate.
1393
1394 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
1395
1396         * emultempl/spuelf.em (params): Init new fields.
1397         (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
1398         (spu_place_special_section): Adjust placement for soft-icache.  Pad
1399         soft-icache section to a fixed size.  Clear addr_tree.
1400         (spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
1401         sections a little more intelligently.
1402         (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
1403         (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
1404         (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
1405         (OPTION_SPU_LRLIVE): Define.
1406         (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
1407         (PARSE_AND_LIST_OPTIONS): Likewise.
1408         (PARSE_AND_LIST_ARGS_CASES): Handle them.
1409         * emultempl/spu_icache.S: Dummy file.
1410         * emultempl/spu_icache.o_c: Regenerate.
1411         * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
1412         (spu_icache.o_c): Add rule to build.
1413         (CLEANFILES): Zap temp files.
1414         (EXTRA_DIST): Add spu_icache.o_c.
1415         * Makefile.in: Regenerate.
1416
1417 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
1418
1419         * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1420         (gld..._add_options): Add new option
1421         --use-nul-prefixed-import-tables.
1422         (gld..._handle_option): Likewise.
1423         * pep.em: Same as for pe.em.
1424         * ld.texinfo: Add new option documentation for
1425         --use-nul-prefixed-import-tables.
1426         * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
1427         (make_head): Make prefix leading zero prefix element for
1428         idata$4 and idata$5 dependent to new flag.
1429         (make_import_fixup_entry): Remove idata4/5 prefix.
1430         * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
1431         * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
1432         * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
1433         * NEWS: Add new option.
1434
1435 2009-01-05  Kai Tietz  <kai.tietz@onevision.com>
1436
1437         * emultempl/pe.em: Prefix dollar characters to be outputed in
1438         generated C file.
1439         * emultempl/pep.em: Likewise.
1440
1441 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
1442
1443         * NEWS:  Mention new feature --exclude-modules-for-implib.
1444         * ld.texinfo:  Document new --exclude-modules-for-implib option.
1445         * pe-dll.c (exclude_list_struct):  Change type member from int to
1446         new enumeration exclude_type.
1447         (pe_dll_add_excludes):  Accept exclude_type instead of int param.
1448         (auto_export):  Replace magic constants by exclude_type values and
1449         handle new choice EXCLUDEFORIMPLIB.
1450         (pe_dll_generate_implib):  Accept a pointer to the link_info and
1451         iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
1452         fresh BFDs for any found and link into import lib archive chain.
1453         * pe-dll.h (exclude_type):  Add new enumerated type to replace magic
1454         constants previously used for exclude_list_struct type member.
1455         (pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
1456         * pep-dll.h (exclude_type, pe_dll_add_excludes,
1457         pe_dll_generate_implib):  Likewise to all the above.
1458         * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
1459         getopts long option code for new --exclude-modules-for-implib option.
1460         (gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
1461         (gld_${EMULATION_NAME}_list_options):  List usage for it.
1462         (gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
1463         values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
1464         (gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
1465         calling pe_dll_generate_implib.
1466         * emultempl/pep.em (options):  Define new enumerated value for getopts
1467         long option code for new --exclude-modules-for-implib option.
1468         (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
1469         gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
1470         Again, likewise to all the above.
1471
1472 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
1473
1474         * pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
1475         (libnamencmp):  New function.
1476         (auto_export):  Use it in place of strncmp when filtering libraries.
1477
1478 For older changes see ChangeLog-2008
1479 \f
1480 Local Variables:
1481 mode: change-log
1482 left-margin: 8
1483 fill-column: 74
1484 version-control: never
1485 End: