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