OSDN Git Service

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