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