OSDN Git Service

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