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