OSDN Git Service

include/elf
[pf3gnuchains/pf3gnuchains4x.git] / ld / ChangeLog
1 2009-04-30  Nick Clifton  <nickc@redhat.com>
2
3         * NEWS: Mention support for IFUNC symbols.
4
5 2009-04-29  Anthony Green  <green@moxielogic.com>
6
7         * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
8         position out to accommodate larger programs.
9
10 2009-04-29  Chris Demetriou  <cgd@google.com>
11
12         * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
13         (ld_options): Likewise.
14         (parse_args): Likewise.
15         * ld.texinfo: Document --no-export-dynamic.
16         * NEWS: Mention --no-export-dynamic.
17
18 2009-04-29  Alan Modra  <amodra@bigpond.net.au>
19
20         * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
21
22 2009-04-25  Alan Modra  <amodra@bigpond.net.au>
23
24         PR 10061
25         * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
26         param.
27
28 2009-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
29
30         * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
31         (arm_elf_set_bfd_for_interworking): Delete.
32         (arm_elf_before_allocation): Do not set the interworking BFD.
33         Move allocation inside not-dynamic block.
34         (arm_elf_create_output_section_statements): Create glue sections
35         and set the interworking BFD here.
36         (LDEMUL_AFTER_OPEN): Delete.
37
38 2009-04-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
39
40         * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
41
42 2009-04-15  Anthony Green  <green@moxielogic.com>
43
44         * configure.tgt: Add moxie support.
45         * Makefile.am: Add moxie files.
46         * Makefile.in: Rebuilt.
47         * emulparams/elf32moxie.sh: New file.
48         * scripttempl/moxie.sc: New file.
49
50 2009-04-15  Kazu Hirata  <kazu@codesourcery.com>
51
52         * ldlang.c: Do not include limits.h.
53
54 2009-04-14  Alan Modra  <amodra@bigpond.net.au>
55
56         PR ld/10047
57         * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
58         ldscripts in build tree.  Don't repeat search for ../lib/ldscripts.
59
60 2009-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61
62         * ldfile.c (ldfile_find_command_file): Revert the last change.
63
64 2009-04-11  H.J. Lu  <hongjiu.lu@intel.com>
65
66         PR ld/10047
67         * ldfile.c (ldfile_find_command_file): First try raw name.
68
69 2009-04-09  Nick Clifton  <nickc@redhat.com>
70
71         PR 9824
72         * ld.texinfo (Output Section Constraint): New node.  Documents the
73         ONLY_IF_RO and ONLY_IF_RW constraints.
74         (Symbolic Constants): New node.  Documents the CONSTANT operator.
75
76 2009-04-09  Thilo Fischer <thilo.fischer@uni-muenster.de>
77
78         * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
79         of fork/execvp.
80
81 2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>
82
83         * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
84         (ld_options): Likewise.
85         (parse_args): Likewise.
86
87         * ld.texinfo: Document --warn-alternate-em.
88
89         * NEWS: Mention --warn-alternate-em.
90
91 2009-04-07  DJ Delorie  <dj@redhat.com>
92
93         * emulparams/elf32mep.sh: Change default endian to little.
94
95 2009-04-07  Nick Clifton  <nickc@redhat.com>
96
97         * ld.texinfo (Output Section Address): Note that specifying an
98         address for an output section will only change the location
99         counter if the output section is used.
100
101 2009-04-06  Kazu Hirata  <kazu@codesourcery.com>
102
103         * ldfile.c (ldfile_find_command_file): Initialize result.
104
105 2009-04-06  Kazu Hirata  <kazu@codesourcery.com>
106
107         * ld.texinfo (-L): Mention that -L options do not affect how ld
108         searches for a linker script unless -T option is specified.
109         * ldfile.c (ldfile_find_command_file): Append the path obtained
110         from the program name to the search path instead of
111         prepending. Add a new parameter "default_only". Restrict the
112         search to the default script location if the new parameter is
113         true.
114         (ldfile_open_command_file_1): New.
115         (ldfile_open_command_file): Call ldfile_open_command_file_1.
116         (ldfile_open_default_command_file): New.
117
118 2009-04-03  Nathan Sidwell  <nathan@codesourcery.com>
119
120         * ldlang.c (lang_leave_output_section_statement): Set lma_region
121         if it is not overridden and section is for the same vma region as
122         the previous section.
123
124 2009-04-02  Dave Korn  <dave.korn.cygwin@gmail.com>
125
126         PR ld/6744
127         * ld.texinfo (--export-dynamic):  Mention --export-all-symbols.
128         * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse):  Issue
129         warning if --export-dynamic was passed on command-line.
130         * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse):  Likewise.
131
132 2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
133
134         * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
135         function.
136         (ld_${EMULATION_NAME}_emulation): Use it.
137
138 2009-03-20  H.J. Lu  <hongjiu.lu@intel.com>
139
140         PR ld/9970
141         * ldlang.c (lang_end): Warn missing entry symbol for -pie.
142
143 2009-03-19  Alan Modra  <amodra@bigpond.net.au>
144
145         * emultempl/spuelf.em (spu_before_allocation): Report errors from
146         spu_elf_find_overlays.
147
148 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
149
150         PR ld/6766
151         * lexsup.c (parse_args): Call ldlang_add_undef for -e.
152
153 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
154
155         * ld.h: Remove alloca handling.
156
157 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
158
159         * emultempl/spu_icache.S: Add new entry to dummy handler.
160         * emultempl/spu_icache.o_c: Regenerate.
161         * emultempl/spuelf.em (params): Init new field.
162         (no_overlays): New static var.
163         (spu_before_allocation): Use it.
164         (OPTION_SPU_COMPACT_STUBS): Define.
165         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
166         (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs.  Adjust no-overlays
167         handling.
168
169 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
170
171         * configure.host (HOSTING_LIBS): Two dollars on shell variable
172         expansion to suit make.
173
174 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
175
176         * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
177         * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
178         * aclocal.m4: Regenerate.
179         * configure: Regenerate.
180         * Makefile.in: Regenerate.
181
182 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
183
184         * emultempl/aix.em (auto_export_flags): New variable.
185         (explicit_auto_export_flags): Likewise.
186         (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
187         (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
188         (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
189         -bnoexpall and -bnoexpfull.
190         (gld${EMULATION_NAME}_handle_option): Handle them.
191         (gld${EMULATION_NAME}_before_allocation): Update the call to
192         bfd_size_dynamic_sections.
193
194 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
195
196         * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
197         -berok and -bernotok control link_info.unresolved_syms_in_objects
198         and link_info.unresolved_syms_in_shared_libs instead of
199         force_make_executable.
200
201 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
202
203         * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
204         config.dynamic_link to TRUE.
205
206 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
207
208         * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
209         .text, .data and .bss output sections as SEC_KEEP.
210
211 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
212
213         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
214
215 2009-03-14  Dave Korn  <dave.korn.cygwin@gmail.com>
216             Danny Smith  <dannysmith@users.sourceforge.net>
217
218         * emultmpl/pe.em (pe_dll_characteristics): New variable.
219         (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
220         OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
221         OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
222         New macros for options to set DllCharacteristics flag bits.
223         (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
224         nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
225         (init): Add DllCharacteristics field.
226         (gld_${EMULATION_NAME}_list_options): List new options.
227         (gld${EMULATION_NAME}_handle_option): Handle new options.
228         * emultmpl/pep.em (pe_dll_characteristics): New variable.
229         (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
230         OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
231         OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
232         New macros for options to set DllCharacteristics flags.
233         (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
234         nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
235         (init): Add DllCharacteristics field.
236         (gld_${EMULATION_NAME}_list_options): List new options.
237         (gld${EMULATION_NAME}_handle_option): Handle new options.
238         * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
239         no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
240
241 2009-03-06  Nick Clifton  <nickc@redhat.com>
242
243         * po/es.po: Updated Spanish translation.
244
245 2009-03-03  Dave Korn  <dave.korn.cygwin@gmail.com>
246
247         * emultempl/pe.em (debug_section_p):  New bfd_map_over_sections hook.
248         (gld_${EMULATION_NAME}_after_open):  Use it to iterate all sections
249         of all input BFDs, looking for debug info.  Enable long section names
250         if any found.
251         * emultempl/pe.em (debug_section_p):  Likewise.
252         (gld_${EMULATION_NAME}_after_open):  Likewise.
253         * NEWS:  Retrospectively adjust news announcement.
254         * ld.texinfo:  Update documentation to mention new behaviour.
255
256 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
257
258         * Makefile.am: Run "make dep-am".
259         * Makefile.in: Regenerate.
260
261 2009-03-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
262
263         * ldgram.y: Add support for REGION_ALIAS operator.
264         * ldlang.c: Likewise.
265         * ldlang.h: Likewise.
266         * ldlex.l: Likewise.
267         * NEWS: Mention the new feature.
268         * ld.texinfo: Document the new feature.
269
270 2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
271
272         * Makefile.am: Replace score elf emulation with score3 and score7
273         emulations.
274         * Makefile.in: Regenerate,
275         * NEWS: Mention support for Score7 architecture.
276         * configure.tgt: Add score7 emulation to score-elf target.
277         * emulparams/scoreelf.sh: Add score7 support.
278         * emultempl/scoreelf.em: Likewise.
279
280 2009-03-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
281
282         * configure.tgt: Only use elf64hppa target emulation for hpux.
283         * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
284         (SCRIPT_NAME): Use new script elf64hppa.
285         (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
286         TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
287         OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
288         DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
289         TEXT_DYNAMIC): Define.
290         * emulparams/hppa64linux.sh: Adjust comments.
291         * scripttempl/elf64hppa.sc: New file.
292
293 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
294
295         * configure: Regenerate.
296
297 2009-02-27  Dave Korn  <dave.korn.cygwin@gmail.com>
298
299         * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):  Set
300         default state of auto-import flag based on $target.
301
302 2009-02-24  Joseph Myers  <joseph@codesourcery.com>
303
304         * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
305         * emultempl/armelf.em (hook_in_stub): Insert after the input section.
306         (elf32_arm_add_stub_section): Update comment.
307         (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
308
309 2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>
310
311         * ld.texinfo (Options): Correct typos in example.  Recommend
312         using joined forms of syntax for passing options with arguments 
313         from a driver.
314         (-a): Use consistent syntax for documenting option arguments.
315         Clean up indexing and markup.
316         (-A/--architecture): Likewise.
317         (-f/--auxiliary): Likewise.
318         (-F/--filter): Likewise.
319         (-fini): Likewise.
320         (-G/--gpsize): Likewise.
321         (-h/-soname):Likewise.
322         (-init): Likewise.
323         (-l/--library): Likewise.
324         (-L/--library-path): Likewise.
325         (-m): Likewise.
326         (--defsym): Likewise.
327         (-I/--dynamic-linker): Likewise.
328         (-Map): Likewise.
329         (--oformat): Likewise.
330         (--retain-symbols-file): Likewise.
331         (-rpath): Likewise.
332         (-rpath-link): Likewise.
333         (--sort-common): Likewise.
334         (--sort-section): Likewise.
335         (--split-by-file): Likewise.
336         (--split-by-reloc): Likewise.
337         (--sysroot): Likewise.
338         (--section-start): Likewise.
339         (-Tbss, -Tdata, -Ttext): Likewise.
340         (-Ttext-segment): Likewise.
341         (--version-script): Likewise.
342         (--wrap): Likewise.
343
344 2009-02-18  Dave Korn  <dave.korn.cygwin@gmail.com>
345
346         * ld.texinfo:  Update to mention long section name options.
347         * NEWS:  Mention new behaviour and command-line options.
348         * pe-dll.c (pe_use_coff_long_section_names):  New global variable.
349         (pe_output_file_set_long_section_names):  New function.
350         (pe_dll_build_sections):  Call it on output BFDs.
351         (pe_exe_build_sections):  Likewise.
352         (pe_dll_fill_sections):  Likewise.
353         (pe_exe_fill_sections):  Likewise.
354         * pe-dll.h (pe_use_coff_long_section_names):  Declare extern.
355         (pe_output_file_set_long_section_names):  Add prototype.
356         * pep-dll.c (pe_use_coff_long_section_names):  Define pep_ alias.
357         (pe_output_file_set_long_section_names):  Likewise.
358         * pep-dll.h (pep_use_coff_long_section_names):  Declare extern.
359         (pep_output_file_set_long_section_names):  Add prototype.
360         * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES):  New getopt value macro.
361         (OPTION_DISABLE_LONG_SECTION_NAMES):  Likewise.
362         (gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
363         (gld_${EMULATION_NAME}_list_options):  Describe them.
364         (gld${EMULATION_NAME}_handle_option):  Set or clear global
365         pe_use_coff_long_section_names flag when options recognised.
366         (gld_${EMULATION_NAME}_after_open):  En/disable long section names
367         for main output bfd by calling pe_output_file_set_long_section_names.
368         * pep.em (enum options):  Extend enum with new getopt option values.
369         (gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
370         (gld_${EMULATION_NAME}_list_options):  Describe them.
371         (gld${EMULATION_NAME}_handle_option):  Set or clear global
372         pe_use_coff_long_section_names flag when options recognised.
373         (gld_${EMULATION_NAME}_after_open):  En/disable long section names
374         for main output bfd by calling pep_output_file_set_long_section_names.
375
376 2009-02-16  Dave Korn  <dave.korn.cygwin@gmail.com>
377
378         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):  Don't emit
379         inadvertent .reloc sections caused by refactoring accident.
380
381 2009-02-16  Alan Modra  <amodra@bigpond.net.au>
382
383         * ldlang.c (process_insert_statements): ASSERT that output section
384         statements are in order.
385
386 2009-02-16  Alan Modra  <amodra@bigpond.net.au>
387
388         * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
389         (stat_save, stat_save_ptr): New variables.
390         (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
391         (load_symbols): Likewise.  Delete dead "bad_load" code.
392         (open_input_bfds): Warn on script containing output sections.
393         (lang_enter_output_section_statement): Use push_stat_ptr.
394         (lang_enter_group): Likewise.
395         (lang_leave_output_section_statement): Use pop_stat_ptr.
396         (lang_leave_group): Likewise.
397         * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
398         * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
399         * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
400         * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
401         * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
402         * emultempl/spuelf.em (spu_place_special_section): Likewise.
403         * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
404
405 2009-02-09  Nathan Sidwell  <nathan@codesourcery.com>
406
407         Missing piece of 2009-01-26 commit
408         * ldlang.c (lang_process): Don't consider relocatable flag when
409         checking for overlap.
410
411 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
412
413         * emulparams/m68kelf.sh: Add newline at end of file.
414
415 2009-02-04  Nick Clifton  <nickc@redhat.com>
416
417         PR 9805
418         * ld.texinfo (--allow-shlib-undefined): Correct description of
419         default settings and tidy up the rest of the entry.
420
421 2009-02-04  Alan Modra  <amodra@bigpond.net.au>
422
423         * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
424         during relocatable link.
425
426 2009-02-03  Nick Clifton  <nickc@redhat.com>
427
428         PR 9797
429         * ld.texinfo (Constants): Document the base-encoding suffixes
430         supported in linker scripts.
431
432 2009-02-03  Alan Modra  <amodra@bigpond.net.au>
433
434         * NEWS: Mention --as-needed change.
435
436 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
437
438         * configure.in: AC_SUBST pdfdir.
439         * Makefile.am: Add install-pdf, install-pdf-am,
440         and install-pdf-recursive targets. Define pdf__strip_dir.
441         * po/Make-in: Add install-pdf target.
442         * configure: Regenerate.
443         * Makefile.in: Regenerate.
444
445 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
446
447         * ld.texinfo (--as-needed): Update.
448
449 2009-01-29  Andrew Jenner  <andrew@codesourcery.com>
450
451         * emultempl/armelf.em: Correct formatting of help text for
452         --no-enum-size-warning option.
453
454 2009-01-26  Nathan Sidwell  <nathan@codesourcery.com>
455
456         * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
457         * ld.h (args_type): Make check_section_addresses a char.
458         * ldmain.c (main): Default check_section_addresses to -1. Check it
459         for relocatable links.
460         * ld.texinfo (--check-sections): Update documentation.
461
462 2009-01-26  Kai Tietz  <kai.tietz@onevision.com>
463
464         * pe-dll.c (tmp_seq2): New static variable.
465         (make_singleton_name_imp): New.
466         (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
467         avoid duplicate import table generation for same symbol.
468         (pe_create_runtime_relocator_reference): Make reference for
469         64-bit 8 bytes.
470
471 2009-01-21  Alan Modra  <amodra@bigpond.net.au>
472
473         * emultempl/spuelf.em (params): Init new field.
474         (OPTION_SPU_NON_IA_TEXT): Define.
475         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
476         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
477
478 2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>
479
480         * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
481         (ld_options): Add -Ttext-segment.
482         (parse_args): Handle OPTION_TTEXT_SEGMENT.
483
484         * ld.texinfo: Document -Ttext-segment.
485
486         * NEWS: Mention -Ttext-segment.
487
488         * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
489         (SHLIB_TEXT_START_ADDR): Likewise.
490
491 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
492
493         * emultempl/spu_icache.o_c: Regenerate.
494
495 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
496
497         * emultempl/spuelf.em (params): Init new fields.
498         (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
499         (spu_place_special_section): Adjust placement for soft-icache.  Pad
500         soft-icache section to a fixed size.  Clear addr_tree.
501         (spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
502         sections a little more intelligently.
503         (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
504         (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
505         (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
506         (OPTION_SPU_LRLIVE): Define.
507         (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
508         (PARSE_AND_LIST_OPTIONS): Likewise.
509         (PARSE_AND_LIST_ARGS_CASES): Handle them.
510         * emultempl/spu_icache.S: Dummy file.
511         * emultempl/spu_icache.o_c: Regenerate.
512         * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
513         (spu_icache.o_c): Add rule to build.
514         (CLEANFILES): Zap temp files.
515         (EXTRA_DIST): Add spu_icache.o_c.
516         * Makefile.in: Regenerate.
517
518 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
519
520         * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
521         (gld..._add_options): Add new option
522         --use-nul-prefixed-import-tables.
523         (gld..._handle_option): Likewise.
524         * pep.em: Same as for pe.em.
525         * ld.texinfo: Add new option documentation for
526         --use-nul-prefixed-import-tables.
527         * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
528         (make_head): Make prefix leading zero prefix element for
529         idata$4 and idata$5 dependent to new flag.
530         (make_import_fixup_entry): Remove idata4/5 prefix.
531         * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
532         * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
533         * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
534         * NEWS: Add new option.
535
536 2009-01-05  Kai Tietz  <kai.tietz@onevision.com>
537
538         * emultempl/pe.em: Prefix dollar characters to be outputed in
539         generated C file.
540         * emultempl/pep.em: Likewise.
541
542 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
543
544         * NEWS:  Mention new feature --exclude-modules-for-implib.
545         * ld.texinfo:  Document new --exclude-modules-for-implib option.
546         * pe-dll.c (exclude_list_struct):  Change type member from int to
547         new enumeration exclude_type.
548         (pe_dll_add_excludes):  Accept exclude_type instead of int param.
549         (auto_export):  Replace magic constants by exclude_type values and
550         handle new choice EXCLUDEFORIMPLIB.
551         (pe_dll_generate_implib):  Accept a pointer to the link_info and
552         iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
553         fresh BFDs for any found and link into import lib archive chain.
554         * pe-dll.h (exclude_type):  Add new enumerated type to replace magic
555         constants previously used for exclude_list_struct type member.
556         (pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
557         * pep-dll.h (exclude_type, pe_dll_add_excludes,
558         pe_dll_generate_implib):  Likewise to all the above.
559         * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
560         getopts long option code for new --exclude-modules-for-implib option.
561         (gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
562         (gld_${EMULATION_NAME}_list_options):  List usage for it.
563         (gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
564         values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
565         (gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
566         calling pe_dll_generate_implib.
567         * emultempl/pep.em (options):  Define new enumerated value for getopts
568         long option code for new --exclude-modules-for-implib option.
569         (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
570         gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
571         Again, likewise to all the above.
572
573 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
574
575         * pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
576         (libnamencmp):  New function.
577         (auto_export):  Use it in place of strncmp when filtering libraries.
578
579 For older changes see ChangeLog-2008
580 \f
581 Local Variables:
582 mode: change-log
583 left-margin: 8
584 fill-column: 74
585 version-control: never
586 End: