OSDN Git Service

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