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