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