1 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
3 * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
4 is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
5 (targ_extra_emuls): Likewise.
7 * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
10 (eelf_l1om_fbsd.c): Likewise.
11 * Makefile.in: Regenerated.
13 * emulparams/elf_l1om.sh: New.
14 * emulparams/elf_l1om_fbsd.sh: Likewise.
16 2009-07-23 Ulrich Drepper <drepper@redhat.com>
18 * NEWS: Mention the linker's support for symbols with a binding of
21 2009-07-22 H.J. Lu <hongjiu.lu@intel.com>
24 * ldlang.c (insert_os_after): Tie assignments to non-alloc
25 output sections if there is no-input section.
27 2009-07-11 Alan Modra <amodra@bigpond.net.au>
29 * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
32 2009-07-10 Alan Modra <amodra@bigpond.net.au>
34 * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
35 linker relaxation if it might be necessary.
37 2009-07-10 Alan Modra <amodra@bigpond.net.au>
39 * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
41 2009-07-06 Matthias Klose <doko@ubuntu.com>
43 * ld.texinfo: Fix typo.
45 2009-07-03 Tristan Gingold <gingold@adacore.com>
47 * scripttempl/pep.sc: Put .eh_frame in its own section.
48 * scripttempl/pe.sc: Ditto.
50 2009-06-26 Kai Tietz <kai.tietz@onevision.com>
52 * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
53 * scripttempl/pep.sc: Likewise.
55 2009-06-25 Tristan Gingold <gingold@adacore.com>
57 * ldlang.c (print_input_section): Add is_discarded parameter. Adjust
59 (lang_map): Print the size of discarded sections.
60 (print_statement): Adjust call to print_input_section.
62 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
64 Merge cegcc and mingw32ce target name changes from CeGCC project:
66 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
68 * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
69 ${tooldir}/lib/w32api.
71 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
73 * configure.tgt: Add arm*-*-cegcc* target.
75 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
77 * configure.tgt: Add arm-*-mingw32ce* target.
79 2009-06-10 Philip Blundell <philb@gnu.org>
81 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
82 if section has no ELF data.
84 2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
86 * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
88 2009-06-05 H.J. Lu <hongjiu.lu@intel.com>
90 * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
92 2009-06-04 Alan Modra <amodra@bigpond.net.au>
94 * dep-in.sed: Don't use \n in replacement part of s command.
95 * Makefile.am (DEP1): LC_ALL for uniq.
96 * Makefile.in: Regenerate.
98 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
100 * scripttempl/elf.sc (PLT): Add "*(.iplt)".
101 (GOT): Add "*(.igot.plt)a" and "*(.igot)".
102 (GOTPLT): Add "*(.igot)".
103 (__rel_iplt_start): New.
104 (__rel_iplt_end): Likewise.
105 (__rela_iplt_start): Likewise.
106 (__rela_iplt_end): Likewise.
108 2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com>
110 * deffilep.y (%union): Add new string-type semantic value 'digits'.
111 (%token): Remove NUMBER as token, add DIGITS.
112 (%type): Add NUMBER as type. Add new id types anylang_id, opt_id.
113 (ALIGNCOMM): Parse an anylang_id instead of a plain ID.
114 (anylang_id): New production.
115 (opt_digits): Likewise.
118 (def_lex): Return strings of digits in raw string form as DIGITS
119 token, instead of converting to numeric integer type.
121 2009-05-26 Nathan Sidwell <nathan@codesourcery.com>
123 * ldmain.c (main): Don't reject --relax -r.
124 * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
127 2009-05-26 Nick Clifton <nickc@redhat.com>
129 * po/id.po: Updated Indonesian translation.
130 * po/ld.pot: Updated template file.
132 2009-05-26 Alan Modra <amodra@bigpond.net.au>
134 * dep-in.sed: Output one filename per line with all lines having
135 continuation backslash. Prefix first line with "A", following
137 * Makefile.am (DEP): Don't use dep.sed here.
138 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
140 * Makefile.in: Regenerate.
142 2009-05-26 Alan Modra <amodra@bigpond.net.au>
144 * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
146 2009-05-22 Julian Brown <julian@codesourcery.com>
148 * emultempl/armelf.em (fix_cortex_a8): New.
149 (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
150 (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
151 bfd_elf32_arm_set_target_relocs.
152 (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
153 (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
154 (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
155 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
156 * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
158 2009-05-22 Nathan Sidwell <nathan@codesourcery.com>
160 * ldlang.c (lang_check_section_addresses): Ignore non-loadable
161 sections when checking for overlap. Clarify error message
162 concerns load address.
164 2009-05-22 Alan Modra <amodra@bigpond.net.au>
166 * Makefile.am: Run "make dep-am".
167 * Makefile.in: Regenerate.
169 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
171 * NEWS: Mention new feature.
172 * deffile.h (def_file_aligncomm): Add new struct definition.
173 (def_file): Add new def_file_aligncomm member.
174 * deffilep.y (%token): Add new ALIGNCOMM token.
175 (command): Add production rule for ALIGNCOMM.
176 (def_file_free): Free any chained def_file_aligncomm structs.
177 (diropts[]): Add entry for '-aligncomm' .drectve command.
178 (def_aligncomm): New grammar function.
179 * ld.texinfo: Document new feature.
180 * pe-dll.c (process_def_file): Rename from this ...
181 (process_def_file_and_drectve): ... to this, updating all callers,
182 and process any aligncomms chained to the def file after scanning
183 all .drectve sections.
184 (generate_edata): Updated to match.
185 (pe_dll_build_sections): Likewise.
187 2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
189 * pe-dll.c (process_def_file): Do not create empty export table.
191 2009-05-15 Alan Modra <amodra@bigpond.net.au>
193 * ldlang.c (lang_output_section_statement_lookup): Add function
194 comment. Make "name" non-const. Ensure duplicate entries use
195 the same string, allowing simple comparison in hash bucket loop.
196 Tweak constraint check.
197 (next_matching_output_section_statement): New function.
198 * ldlang.h (lang_output_section_statement_lookup): Update.
199 (next_matching_output_section_statement): Declare.
200 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
201 combine orphan sections when input sections flags differ in
203 * emultempl/pe.em: Formatting throughout.
204 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
205 * emultempl/pep.em: Formatting throughout.
206 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
208 2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
210 * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
211 compact stubs with software i-cache.
213 2009-05-14 Alan Modra <amodra@bigpond.net.au>
215 * emultempl/spuelf.em (spu_before_allocation): Call
216 spu_elf_place_overlay_data.
218 2009-05-14 Alan Modra <amodra@bigpond.net.au>
220 * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
221 assignment inside output section statement. Ensure only one
222 set of symbols per output section.
223 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
224 dollar sections before dollar sections. Correct add_child
226 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
228 2009-05-05 Paul Brook <paul@codesourcery.com>
230 * emultempl/armelf.em (compare_output_sec_vma): New function.
231 (gld${EMULATION_NAME}_finish): Add exidx munging code.
233 2009-05-05 Anatoly Sokolov <aesok@post.ru>
235 * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
236 * emulparams/avr1.sh (DATA_ORIGIN): Add.
237 * emulparams/avr2.sh (DATA_ORIGIN): Add.
238 * emulparams/avr25.sh (DATA_ORIGIN): Add.
239 * emulparams/avr3.sh (DATA_ORIGIN): Add.
240 * emulparams/avr31.sh (DATA_ORIGIN): Add.
241 * emulparams/avr35.sh (DATA_ORIGIN): Add.
242 * emulparams/avr4.sh (DATA_ORIGIN): Add.
243 * emulparams/avr5.sh (DATA_ORIGIN): Add.
244 * emulparams/avr51.sh (DATA_ORIGIN): Add.
245 (DATA_LENGTH): Update.
246 * emulparams/avr6.sh (DATA_ORIGIN): Add.
247 (DATA_LENGTH): Update.
249 2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
251 * NEWS: Mention new feature.
252 * ld.texinfo (--version-script): Document extent of PE support.
253 (WIN32): Mention --version-script. Extend auto-export description.
254 * pe-dll.c (process_def_file): Use version script info to filter
255 symbols from auto-export.
256 * testsuite/ld-pe/vers-script-1.d: New file.
257 * testsuite/ld-pe/vers-script-2.d: New file.
258 * testsuite/ld-pe/vers-script-3.d: New file.
259 * testsuite/ld-pe/vers-script-4.d: New file.
260 * testsuite/ld-pe/vers-script-1.ver: New file.
261 * testsuite/ld-pe/vers-script-2.ver: New file.
262 * testsuite/ld-pe/vers-script-3.ver: New file.
263 * testsuite/ld-pe/vers-script-4.ver: New file.
264 * testsuite/ld-pe/vers-script-dll.c: New file.
265 * testsuite/ld-pe/vers-script.exp: New test script.
267 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
269 * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
271 2009-04-30 Nick Clifton <nickc@redhat.com>
273 * NEWS: Mention support for IFUNC symbols.
275 2009-04-29 Anthony Green <green@moxielogic.com>
277 * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
278 position out to accommodate larger programs.
280 2009-04-29 Chris Demetriou <cgd@google.com>
282 * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
283 (ld_options): Likewise.
284 (parse_args): Likewise.
285 * ld.texinfo: Document --no-export-dynamic.
286 * NEWS: Mention --no-export-dynamic.
288 2009-04-29 Alan Modra <amodra@bigpond.net.au>
290 * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
292 2009-04-25 Alan Modra <amodra@bigpond.net.au>
295 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
298 2009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
300 * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
301 (arm_elf_set_bfd_for_interworking): Delete.
302 (arm_elf_before_allocation): Do not set the interworking BFD.
303 Move allocation inside not-dynamic block.
304 (arm_elf_create_output_section_statements): Create glue sections
305 and set the interworking BFD here.
306 (LDEMUL_AFTER_OPEN): Delete.
308 2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
310 * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
312 2009-04-15 Anthony Green <green@moxielogic.com>
314 * configure.tgt: Add moxie support.
315 * Makefile.am: Add moxie files.
316 * Makefile.in: Rebuilt.
317 * emulparams/elf32moxie.sh: New file.
318 * scripttempl/moxie.sc: New file.
320 2009-04-15 Kazu Hirata <kazu@codesourcery.com>
322 * ldlang.c: Do not include limits.h.
324 2009-04-14 Alan Modra <amodra@bigpond.net.au>
327 * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
328 ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
330 2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
332 * ldfile.c (ldfile_find_command_file): Revert the last change.
334 2009-04-11 H.J. Lu <hongjiu.lu@intel.com>
337 * ldfile.c (ldfile_find_command_file): First try raw name.
339 2009-04-09 Nick Clifton <nickc@redhat.com>
342 * ld.texinfo (Output Section Constraint): New node. Documents the
343 ONLY_IF_RO and ONLY_IF_RW constraints.
344 (Symbolic Constants): New node. Documents the CONSTANT operator.
346 2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
348 * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
351 2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
353 * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
354 (ld_options): Likewise.
355 (parse_args): Likewise.
357 * ld.texinfo: Document --warn-alternate-em.
359 * NEWS: Mention --warn-alternate-em.
361 2009-04-07 DJ Delorie <dj@redhat.com>
363 * emulparams/elf32mep.sh: Change default endian to little.
365 2009-04-07 Nick Clifton <nickc@redhat.com>
367 * ld.texinfo (Output Section Address): Note that specifying an
368 address for an output section will only change the location
369 counter if the output section is used.
371 2009-04-06 Kazu Hirata <kazu@codesourcery.com>
373 * ldfile.c (ldfile_find_command_file): Initialize result.
375 2009-04-06 Kazu Hirata <kazu@codesourcery.com>
377 * ld.texinfo (-L): Mention that -L options do not affect how ld
378 searches for a linker script unless -T option is specified.
379 * ldfile.c (ldfile_find_command_file): Append the path obtained
380 from the program name to the search path instead of
381 prepending. Add a new parameter "default_only". Restrict the
382 search to the default script location if the new parameter is
384 (ldfile_open_command_file_1): New.
385 (ldfile_open_command_file): Call ldfile_open_command_file_1.
386 (ldfile_open_default_command_file): New.
388 2009-04-03 Nathan Sidwell <nathan@codesourcery.com>
390 * ldlang.c (lang_leave_output_section_statement): Set lma_region
391 if it is not overridden and section is for the same vma region as
392 the previous section.
394 2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
397 * ld.texinfo (--export-dynamic): Mention --export-all-symbols.
398 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
399 warning if --export-dynamic was passed on command-line.
400 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
402 2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
404 * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
406 (ld_${EMULATION_NAME}_emulation): Use it.
408 2009-03-20 H.J. Lu <hongjiu.lu@intel.com>
411 * ldlang.c (lang_end): Warn missing entry symbol for -pie.
413 2009-03-19 Alan Modra <amodra@bigpond.net.au>
415 * emultempl/spuelf.em (spu_before_allocation): Report errors from
416 spu_elf_find_overlays.
418 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
421 * lexsup.c (parse_args): Call ldlang_add_undef for -e.
423 2009-03-18 Alan Modra <amodra@bigpond.net.au>
425 * ld.h: Remove alloca handling.
427 2009-03-17 Alan Modra <amodra@bigpond.net.au>
429 * emultempl/spu_icache.S: Add new entry to dummy handler.
430 * emultempl/spu_icache.o_c: Regenerate.
431 * emultempl/spuelf.em (params): Init new field.
432 (no_overlays): New static var.
433 (spu_before_allocation): Use it.
434 (OPTION_SPU_COMPACT_STUBS): Define.
435 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
436 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
439 2009-03-17 Alan Modra <amodra@bigpond.net.au>
441 * configure.host (HOSTING_LIBS): Two dollars on shell variable
442 expansion to suit make.
444 2009-03-17 Alan Modra <amodra@bigpond.net.au>
446 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
447 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
448 * aclocal.m4: Regenerate.
449 * configure: Regenerate.
450 * Makefile.in: Regenerate.
452 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
454 * emultempl/aix.em (auto_export_flags): New variable.
455 (explicit_auto_export_flags): Likewise.
456 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
457 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
458 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
459 -bnoexpall and -bnoexpfull.
460 (gld${EMULATION_NAME}_handle_option): Handle them.
461 (gld${EMULATION_NAME}_before_allocation): Update the call to
462 bfd_size_dynamic_sections.
464 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
466 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
467 -berok and -bernotok control link_info.unresolved_syms_in_objects
468 and link_info.unresolved_syms_in_shared_libs instead of
469 force_make_executable.
471 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
473 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
474 config.dynamic_link to TRUE.
476 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
478 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
479 .text, .data and .bss output sections as SEC_KEEP.
481 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
483 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
485 2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
486 Danny Smith <dannysmith@users.sourceforge.net>
488 * emultmpl/pe.em (pe_dll_characteristics): New variable.
489 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
490 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
491 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
492 New macros for options to set DllCharacteristics flag bits.
493 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
494 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
495 (init): Add DllCharacteristics field.
496 (gld_${EMULATION_NAME}_list_options): List new options.
497 (gld${EMULATION_NAME}_handle_option): Handle new options.
498 * emultmpl/pep.em (pe_dll_characteristics): New variable.
499 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
500 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
501 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
502 New macros for options to set DllCharacteristics flags.
503 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
504 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
505 (init): Add DllCharacteristics field.
506 (gld_${EMULATION_NAME}_list_options): List new options.
507 (gld${EMULATION_NAME}_handle_option): Handle new options.
508 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
509 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
511 2009-03-06 Nick Clifton <nickc@redhat.com>
513 * po/es.po: Updated Spanish translation.
515 2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
517 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
518 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
519 of all input BFDs, looking for debug info. Enable long section names
521 * emultempl/pe.em (debug_section_p): Likewise.
522 (gld_${EMULATION_NAME}_after_open): Likewise.
523 * NEWS: Retrospectively adjust news announcement.
524 * ld.texinfo: Update documentation to mention new behaviour.
526 2009-03-03 Alan Modra <amodra@bigpond.net.au>
528 * Makefile.am: Run "make dep-am".
529 * Makefile.in: Regenerate.
531 2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
533 * ldgram.y: Add support for REGION_ALIAS operator.
534 * ldlang.c: Likewise.
535 * ldlang.h: Likewise.
537 * NEWS: Mention the new feature.
538 * ld.texinfo: Document the new feature.
540 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
542 * Makefile.am: Replace score elf emulation with score3 and score7
544 * Makefile.in: Regenerate,
545 * NEWS: Mention support for Score7 architecture.
546 * configure.tgt: Add score7 emulation to score-elf target.
547 * emulparams/scoreelf.sh: Add score7 support.
548 * emultempl/scoreelf.em: Likewise.
550 2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
552 * configure.tgt: Only use elf64hppa target emulation for hpux.
553 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
554 (SCRIPT_NAME): Use new script elf64hppa.
555 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
556 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
557 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
558 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
559 TEXT_DYNAMIC): Define.
560 * emulparams/hppa64linux.sh: Adjust comments.
561 * scripttempl/elf64hppa.sc: New file.
563 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
565 * configure: Regenerate.
567 2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
569 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
570 default state of auto-import flag based on $target.
572 2009-02-24 Joseph Myers <joseph@codesourcery.com>
574 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
575 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
576 (elf32_arm_add_stub_section): Update comment.
577 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
579 2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
581 * ld.texinfo (Options): Correct typos in example. Recommend
582 using joined forms of syntax for passing options with arguments
584 (-a): Use consistent syntax for documenting option arguments.
585 Clean up indexing and markup.
586 (-A/--architecture): Likewise.
587 (-f/--auxiliary): Likewise.
588 (-F/--filter): Likewise.
590 (-G/--gpsize): Likewise.
591 (-h/-soname):Likewise.
593 (-l/--library): Likewise.
594 (-L/--library-path): Likewise.
596 (--defsym): Likewise.
597 (-I/--dynamic-linker): Likewise.
599 (--oformat): Likewise.
600 (--retain-symbols-file): Likewise.
602 (-rpath-link): Likewise.
603 (--sort-common): Likewise.
604 (--sort-section): Likewise.
605 (--split-by-file): Likewise.
606 (--split-by-reloc): Likewise.
607 (--sysroot): Likewise.
608 (--section-start): Likewise.
609 (-Tbss, -Tdata, -Ttext): Likewise.
610 (-Ttext-segment): Likewise.
611 (--version-script): Likewise.
614 2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
616 * ld.texinfo: Update to mention long section name options.
617 * NEWS: Mention new behaviour and command-line options.
618 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
619 (pe_output_file_set_long_section_names): New function.
620 (pe_dll_build_sections): Call it on output BFDs.
621 (pe_exe_build_sections): Likewise.
622 (pe_dll_fill_sections): Likewise.
623 (pe_exe_fill_sections): Likewise.
624 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
625 (pe_output_file_set_long_section_names): Add prototype.
626 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
627 (pe_output_file_set_long_section_names): Likewise.
628 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
629 (pep_output_file_set_long_section_names): Add prototype.
630 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
631 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
632 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
633 (gld_${EMULATION_NAME}_list_options): Describe them.
634 (gld${EMULATION_NAME}_handle_option): Set or clear global
635 pe_use_coff_long_section_names flag when options recognised.
636 (gld_${EMULATION_NAME}_after_open): En/disable long section names
637 for main output bfd by calling pe_output_file_set_long_section_names.
638 * pep.em (enum options): Extend enum with new getopt option values.
639 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
640 (gld_${EMULATION_NAME}_list_options): Describe them.
641 (gld${EMULATION_NAME}_handle_option): Set or clear global
642 pe_use_coff_long_section_names flag when options recognised.
643 (gld_${EMULATION_NAME}_after_open): En/disable long section names
644 for main output bfd by calling pep_output_file_set_long_section_names.
646 2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
648 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
649 inadvertent .reloc sections caused by refactoring accident.
651 2009-02-16 Alan Modra <amodra@bigpond.net.au>
653 * ldlang.c (process_insert_statements): ASSERT that output section
654 statements are in order.
656 2009-02-16 Alan Modra <amodra@bigpond.net.au>
658 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
659 (stat_save, stat_save_ptr): New variables.
660 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
661 (load_symbols): Likewise. Delete dead "bad_load" code.
662 (open_input_bfds): Warn on script containing output sections.
663 (lang_enter_output_section_statement): Use push_stat_ptr.
664 (lang_enter_group): Likewise.
665 (lang_leave_output_section_statement): Use pop_stat_ptr.
666 (lang_leave_group): Likewise.
667 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
668 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
669 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
670 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
671 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
672 * emultempl/spuelf.em (spu_place_special_section): Likewise.
673 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
675 2009-02-09 Nathan Sidwell <nathan@codesourcery.com>
677 Missing piece of 2009-01-26 commit
678 * ldlang.c (lang_process): Don't consider relocatable flag when
679 checking for overlap.
681 2009-02-05 Joseph Myers <joseph@codesourcery.com>
683 * emulparams/m68kelf.sh: Add newline at end of file.
685 2009-02-04 Nick Clifton <nickc@redhat.com>
688 * ld.texinfo (--allow-shlib-undefined): Correct description of
689 default settings and tidy up the rest of the entry.
691 2009-02-04 Alan Modra <amodra@bigpond.net.au>
693 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
694 during relocatable link.
696 2009-02-03 Nick Clifton <nickc@redhat.com>
699 * ld.texinfo (Constants): Document the base-encoding suffixes
700 supported in linker scripts.
702 2009-02-03 Alan Modra <amodra@bigpond.net.au>
704 * NEWS: Mention --as-needed change.
706 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
708 * configure.in: AC_SUBST pdfdir.
709 * Makefile.am: Add install-pdf, install-pdf-am,
710 and install-pdf-recursive targets. Define pdf__strip_dir.
711 * po/Make-in: Add install-pdf target.
712 * configure: Regenerate.
713 * Makefile.in: Regenerate.
715 2009-01-31 Alan Modra <amodra@bigpond.net.au>
717 * ld.texinfo (--as-needed): Update.
719 2009-01-29 Andrew Jenner <andrew@codesourcery.com>
721 * emultempl/armelf.em: Correct formatting of help text for
722 --no-enum-size-warning option.
724 2009-01-26 Nathan Sidwell <nathan@codesourcery.com>
726 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
727 * ld.h (args_type): Make check_section_addresses a char.
728 * ldmain.c (main): Default check_section_addresses to -1. Check it
729 for relocatable links.
730 * ld.texinfo (--check-sections): Update documentation.
732 2009-01-26 Kai Tietz <kai.tietz@onevision.com>
734 * pe-dll.c (tmp_seq2): New static variable.
735 (make_singleton_name_imp): New.
736 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
737 avoid duplicate import table generation for same symbol.
738 (pe_create_runtime_relocator_reference): Make reference for
741 2009-01-21 Alan Modra <amodra@bigpond.net.au>
743 * emultempl/spuelf.em (params): Init new field.
744 (OPTION_SPU_NON_IA_TEXT): Define.
745 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
746 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
748 2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
750 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
751 (ld_options): Add -Ttext-segment.
752 (parse_args): Handle OPTION_TTEXT_SEGMENT.
754 * ld.texinfo: Document -Ttext-segment.
756 * NEWS: Mention -Ttext-segment.
758 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
759 (SHLIB_TEXT_START_ADDR): Likewise.
761 2009-01-13 Alan Modra <amodra@bigpond.net.au>
763 * emultempl/spu_icache.o_c: Regenerate.
765 2009-01-12 Alan Modra <amodra@bigpond.net.au>
767 * emultempl/spuelf.em (params): Init new fields.
768 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
769 (spu_place_special_section): Adjust placement for soft-icache. Pad
770 soft-icache section to a fixed size. Clear addr_tree.
771 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
772 sections a little more intelligently.
773 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
774 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
775 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
776 (OPTION_SPU_LRLIVE): Define.
777 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
778 (PARSE_AND_LIST_OPTIONS): Likewise.
779 (PARSE_AND_LIST_ARGS_CASES): Handle them.
780 * emultempl/spu_icache.S: Dummy file.
781 * emultempl/spu_icache.o_c: Regenerate.
782 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
783 (spu_icache.o_c): Add rule to build.
784 (CLEANFILES): Zap temp files.
785 (EXTRA_DIST): Add spu_icache.o_c.
786 * Makefile.in: Regenerate.
788 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
790 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
791 (gld..._add_options): Add new option
792 --use-nul-prefixed-import-tables.
793 (gld..._handle_option): Likewise.
794 * pep.em: Same as for pe.em.
795 * ld.texinfo: Add new option documentation for
796 --use-nul-prefixed-import-tables.
797 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
798 (make_head): Make prefix leading zero prefix element for
799 idata$4 and idata$5 dependent to new flag.
800 (make_import_fixup_entry): Remove idata4/5 prefix.
801 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
802 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
803 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
804 * NEWS: Add new option.
806 2009-01-05 Kai Tietz <kai.tietz@onevision.com>
808 * emultempl/pe.em: Prefix dollar characters to be outputed in
810 * emultempl/pep.em: Likewise.
812 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
814 * NEWS: Mention new feature --exclude-modules-for-implib.
815 * ld.texinfo: Document new --exclude-modules-for-implib option.
816 * pe-dll.c (exclude_list_struct): Change type member from int to
817 new enumeration exclude_type.
818 (pe_dll_add_excludes): Accept exclude_type instead of int param.
819 (auto_export): Replace magic constants by exclude_type values and
820 handle new choice EXCLUDEFORIMPLIB.
821 (pe_dll_generate_implib): Accept a pointer to the link_info and
822 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
823 fresh BFDs for any found and link into import lib archive chain.
824 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
825 constants previously used for exclude_list_struct type member.
826 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
827 * pep-dll.h (exclude_type, pe_dll_add_excludes,
828 pe_dll_generate_implib): Likewise to all the above.
829 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
830 getopts long option code for new --exclude-modules-for-implib option.
831 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
832 (gld_${EMULATION_NAME}_list_options): List usage for it.
833 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
834 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
835 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
836 calling pe_dll_generate_implib.
837 * emultempl/pep.em (options): Define new enumerated value for getopts
838 long option code for new --exclude-modules-for-implib option.
839 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
840 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
841 Again, likewise to all the above.
843 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
845 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
846 (libnamencmp): New function.
847 (auto_export): Use it in place of strncmp when filtering libraries.
849 For older changes see ChangeLog-2008
855 version-control: never