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