2009-06-27 01:23:10 +08:00
|
|
|
|
2009-06-26 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/pe.sc (.debug_pubtypes): Added section rule.
|
|
|
|
|
* scripttempl/pep.sc: Likewise.
|
|
|
|
|
|
2009-06-25 21:18:46 +08:00
|
|
|
|
2009-06-25 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (print_input_section): Add is_discarded parameter. Adjust
|
|
|
|
|
prototype.
|
|
|
|
|
(lang_map): Print the size of discarded sections.
|
|
|
|
|
(print_statement): Adjust call to print_input_section.
|
|
|
|
|
|
2009-06-18 10:11:03 +08:00
|
|
|
|
2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
2009-06-18 18:41:42 +08:00
|
|
|
|
Merge cegcc and mingw32ce target name changes from CeGCC project:
|
2009-06-18 10:11:03 +08:00
|
|
|
|
|
2009-06-18 18:41:42 +08:00
|
|
|
|
2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
|
2009-06-18 10:11:03 +08:00
|
|
|
|
|
|
|
|
|
* configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
|
|
|
|
|
${tooldir}/lib/w32api.
|
|
|
|
|
|
2009-06-18 18:41:42 +08:00
|
|
|
|
2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
|
2009-06-18 10:11:03 +08:00
|
|
|
|
|
|
|
|
|
* configure.tgt: Add arm*-*-cegcc* target.
|
|
|
|
|
|
2009-06-18 18:41:42 +08:00
|
|
|
|
2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
|
2009-06-18 10:11:03 +08:00
|
|
|
|
|
|
|
|
|
* configure.tgt: Add arm-*-mingw32ce* target.
|
|
|
|
|
|
2009-06-12 22:27:21 +08:00
|
|
|
|
2009-06-10 Philip Blundell <philb@gnu.org>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
|
|
|
|
|
if section has no ELF data.
|
|
|
|
|
|
2009-06-07 06:39:25 +08:00
|
|
|
|
2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
|
|
|
|
|
|
2009-06-06 00:49:16 +08:00
|
|
|
|
2009-06-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
|
|
|
|
|
|
2009-06-04 14:57:56 +08:00
|
|
|
|
2009-06-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* dep-in.sed: Don't use \n in replacement part of s command.
|
|
|
|
|
* Makefile.am (DEP1): LC_ALL for uniq.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-06-01 20:53:00 +08:00
|
|
|
|
2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc (PLT): Add "*(.iplt)".
|
|
|
|
|
(GOT): Add "*(.igot.plt)a" and "*(.igot)".
|
|
|
|
|
(GOTPLT): Add "*(.igot)".
|
|
|
|
|
(__rel_iplt_start): New.
|
|
|
|
|
(__rel_iplt_end): Likewise.
|
|
|
|
|
(__rela_iplt_start): Likewise.
|
|
|
|
|
(__rela_iplt_end): Likewise.
|
|
|
|
|
|
2009-05-28 02:40:56 +08:00
|
|
|
|
2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* deffilep.y (%union): Add new string-type semantic value 'digits'.
|
|
|
|
|
(%token): Remove NUMBER as token, add DIGITS.
|
|
|
|
|
(%type): Add NUMBER as type. Add new id types anylang_id, opt_id.
|
|
|
|
|
(ALIGNCOMM): Parse an anylang_id instead of a plain ID.
|
|
|
|
|
(anylang_id): New production.
|
|
|
|
|
(opt_digits): Likewise.
|
|
|
|
|
(opt_id): Likewise.
|
|
|
|
|
(NUMBER): Likewise.
|
|
|
|
|
(def_lex): Return strings of digits in raw string form as DIGITS
|
|
|
|
|
token, instead of converting to numeric integer type.
|
|
|
|
|
|
2009-05-27 21:31:24 +08:00
|
|
|
|
2009-05-26 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldmain.c (main): Don't reject --relax -r.
|
|
|
|
|
* ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
|
|
|
|
|
partial links.
|
|
|
|
|
|
2009-05-27 00:49:41 +08:00
|
|
|
|
2009-05-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/id.po: Updated Indonesian translation.
|
|
|
|
|
* po/ld.pot: Updated template file.
|
|
|
|
|
|
2009-05-26 11:20:10 +08:00
|
|
|
|
2009-05-26 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* dep-in.sed: Output one filename per line with all lines having
|
|
|
|
|
continuation backslash. Prefix first line with "A", following
|
|
|
|
|
lines with "B".
|
|
|
|
|
* Makefile.am (DEP): Don't use dep.sed here.
|
|
|
|
|
(DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
|
|
|
|
|
sort and uniq.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-05-26 09:20:39 +08:00
|
|
|
|
2009-05-26 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
|
|
|
|
|
|
ld/
* emultempl/armelf.em (fix_cortex_a8): New.
(arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
(arm_elf_create_output_section_statements): Add fix_cortex_a8 to
bfd_elf32_arm_set_target_relocs.
(OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
(PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
(PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
* ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
bfd/
* elf32-arm.c (THUMB16_BCOND_INSN, THUMB32_INSN, THUMB32_B_INSN):
New macros.
(elf32_arm_stub_a8_veneer_b_cond, elf32_arm_stub_a8_veneer_b)
(elf32_arm_stub_a8_veneer_blx): New stub sequences.
(elf32_arm_stub_type): Add arm_stub_a8_veneer_b_cond,
arm_stub_a8_veneer_b and arm_stub_a8_veneer_blx.
(elf32_arm_stub_hash_entry): Add target_addend, orig_insn fields.
(a8_erratum_fix, a8_erratum_reloc): New structs.
(elf32_arm_link_hash_table): Add a8_erratum_fixes,
num_a8_erratum_fixes, fix_cortex_a8 fields.
(elf32_arm_link_hash_table_create): Zero fix_cortex_a8.
(elf32_arm_add_stub): Split into two parts, creating...
(elf32_arm_create_or_find_stub_sec): New function.
(elf32_arm_final_link_relocate): Add forward declaration.
(arm_build_one_stub): Add support for THUMB32_TYPE, Thumb-2
relocations, multiple relocations per stub.
(find_stub_size_and_template): New (using parts of
arm_size_one_stub).
(arm_size_one_stub): Use find_stub_size_and_template.
(a8_reloc_compare): New.
(find_thumb_glue): Add forward declaration.
(cortex_a8_erratum_scan): New.
(elf32_arm_size_stubs): Add Cortex-A8 erratum workaround support.
(bfd_elf32_arm_set_cortex_a8_fix): New.
(bfd_elf32_arm_set_target_relocs): Add fix_cortex_a8 argument.
(arm_map_one_stub): Add THUMB32_TYPE support.
(a8_branch_to_stub_data): New.
(make_branch_to_a8_stub): New.
(elf32_arm_write_section): Add Cortex-A8 erratum workaround support.
* bfd-in.h (bfd_elf32_arm_set_cortex_a8_fix): New.
(bfd_elf32_arm_set_target_relocs): Add argument for controlling
Cortex-A8 erratum workaround.
* bfd-in2.h: Regenerate.
ld/testsuite/
* ld-arm/cortex-a8-arm-target.s: New.
* ld-arm/cortex-a8-thumb-target.s: New.
* ld-arm/cortex-a8-fix-b-rel.s: New.
* ld-arm/cortex-a8-fix-b-rel-arm.d: New.
* ld-arm/cortex-a8-fix-b-rel-thumb.d: New.
* ld-arm/cortex-a8-fix-b.s: New.
* ld-arm/cortex-a8-fix-b.d: New.
* ld-arm/cortex-a8-fix-bl-rel.s: New.
* ld-arm/cortex-a8-fix-bl-rel-arm.d: New.
* ld-arm/cortex-a8-fix-bl-rel-thumb.d: New.
* ld-arm/cortex-a8-fix-bl.s: New.
* ld-arm/cortex-a8-fix-bl.d: New.
* ld-arm/cortex-a8-fix-bcc-rel.s: New.
* ld-arm/cortex-a8-fix-bcc-rel-thumb.d: New.
* ld-arm/cortex-a8-fix-bcc.s: New.
* ld-arm/cortex-a8-fix-bcc.d: New.
* ld-arm/cortex-a8-fix-blx-rel.s: New.
* ld-arm/cortex-a8-fix-blx-rel-arm.d: New.
* ld-arm/cortex-a8-fix-blx-rel-thumb.d: New.
* ld-arm/cortex-a8-fix-blx.s: New.
* ld-arm/cortex-a8-fix-blx.d: New.
* ld-arm/arm-elf.exp: Add new tests.
2009-05-22 19:58:45 +08:00
|
|
|
|
2009-05-22 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (fix_cortex_a8): New.
|
|
|
|
|
(arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
|
|
|
|
|
(arm_elf_create_output_section_statements): Add fix_cortex_a8 to
|
|
|
|
|
bfd_elf32_arm_set_target_relocs.
|
|
|
|
|
(OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
|
|
|
|
|
(PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
|
|
|
|
|
* ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
|
|
|
|
|
|
2009-05-22 19:27:44 +08:00
|
|
|
|
2009-05-22 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_check_section_addresses): Ignore non-loadable
|
|
|
|
|
sections when checking for overlap. Clarify error message
|
|
|
|
|
concerns load address.
|
|
|
|
|
|
2009-05-22 17:33:16 +08:00
|
|
|
|
2009-05-22 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-05-20 00:08:08 +08:00
|
|
|
|
2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention new feature.
|
|
|
|
|
* deffile.h (def_file_aligncomm): Add new struct definition.
|
|
|
|
|
(def_file): Add new def_file_aligncomm member.
|
|
|
|
|
* deffilep.y (%token): Add new ALIGNCOMM token.
|
|
|
|
|
(command): Add production rule for ALIGNCOMM.
|
|
|
|
|
(def_file_free): Free any chained def_file_aligncomm structs.
|
|
|
|
|
(diropts[]): Add entry for '-aligncomm' .drectve command.
|
|
|
|
|
(def_aligncomm): New grammar function.
|
|
|
|
|
* ld.texinfo: Document new feature.
|
|
|
|
|
* pe-dll.c (process_def_file): Rename from this ...
|
|
|
|
|
(process_def_file_and_drectve): ... to this, updating all callers,
|
|
|
|
|
and process any aligncomms chained to the def file after scanning
|
|
|
|
|
all .drectve sections.
|
|
|
|
|
(generate_edata): Updated to match.
|
|
|
|
|
(pe_dll_build_sections): Likewise.
|
|
|
|
|
|
2009-05-21 00:02:54 +08:00
|
|
|
|
2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
|
2009-05-17 13:10:21 +08:00
|
|
|
|
|
|
|
|
|
* pe-dll.c (process_def_file): Do not create empty export table.
|
|
|
|
|
|
ld/
* ldlang.c (lang_output_section_statement_lookup): Add function
comment. Make "name" non-const. Ensure duplicate entries use
the same string, allowing simple comparison in hash bucket loop.
Tweak constraint check.
(next_matching_output_section_statement): New function.
* ldlang.h (lang_output_section_statement_lookup): Update.
(next_matching_output_section_statement): Declare.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
combine orphan sections when input sections flags differ in
alloc or load.
* emultempl/pe.em: Formatting throughout.
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
* emultempl/pep.em: Formatting throughout.
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
ld/testsuite/
* ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
* ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
* ld-elf/orphan3f.s: New test.
* ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
* ld-pe/orphand.s, * ld-pe/orphane.s: New test.
* ld-pe/direct.exp: Use is_pecoff_format.
* ld-pe/longsecn.exp: Delete.
* ld-pe/pe.exp: Run new test and longsecn tests.
2009-05-15 22:22:36 +08:00
|
|
|
|
2009-05-15 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_output_section_statement_lookup): Add function
|
|
|
|
|
comment. Make "name" non-const. Ensure duplicate entries use
|
|
|
|
|
the same string, allowing simple comparison in hash bucket loop.
|
|
|
|
|
Tweak constraint check.
|
|
|
|
|
(next_matching_output_section_statement): New function.
|
|
|
|
|
* ldlang.h (lang_output_section_statement_lookup): Update.
|
|
|
|
|
(next_matching_output_section_statement): Declare.
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
|
|
|
|
|
combine orphan sections when input sections flags differ in
|
|
|
|
|
alloc or load.
|
|
|
|
|
* emultempl/pe.em: Formatting throughout.
|
|
|
|
|
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
|
|
|
|
|
* emultempl/pep.em: Formatting throughout.
|
|
|
|
|
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
|
|
|
|
|
|
2009-05-15 00:56:09 +08:00
|
|
|
|
2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
|
|
|
|
|
compact stubs with software i-cache.
|
|
|
|
|
|
2009-05-14 12:30:03 +08:00
|
|
|
|
2009-05-14 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (spu_before_allocation): Call
|
|
|
|
|
spu_elf_place_overlay_data.
|
|
|
|
|
|
2009-05-14 10:21:45 +08:00
|
|
|
|
2009-05-14 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_insert_orphan): Add __start_<section> symbol
|
|
|
|
|
assignment inside output section statement. Ensure only one
|
|
|
|
|
set of symbols per output section.
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
|
|
|
|
|
dollar sections before dollar sections. Correct add_child
|
|
|
|
|
list insertion.
|
|
|
|
|
* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
|
|
|
|
|
|
2009-05-05 22:18:30 +08:00
|
|
|
|
2009-05-05 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (compare_output_sec_vma): New function.
|
|
|
|
|
(gld${EMULATION_NAME}_finish): Add exidx munging code.
|
|
|
|
|
|
2009-05-05 19:28:36 +08:00
|
|
|
|
2009-05-05 Anatoly Sokolov <aesok@post.ru>
|
|
|
|
|
|
|
|
|
|
* scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
|
|
|
|
|
* emulparams/avr1.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr2.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr25.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr3.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr31.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr35.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr4.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr5.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr51.sh (DATA_ORIGIN): Add.
|
|
|
|
|
(DATA_LENGTH): Update.
|
|
|
|
|
* emulparams/avr6.sh (DATA_ORIGIN): Add.
|
|
|
|
|
(DATA_LENGTH): Update.
|
|
|
|
|
|
2009-05-04 20:09:30 +08:00
|
|
|
|
2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention new feature.
|
|
|
|
|
* ld.texinfo (--version-script): Document extent of PE support.
|
|
|
|
|
(WIN32): Mention --version-script. Extend auto-export description.
|
|
|
|
|
* pe-dll.c (process_def_file): Use version script info to filter
|
|
|
|
|
symbols from auto-export.
|
|
|
|
|
* testsuite/ld-pe/vers-script-1.d: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-2.d: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-3.d: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-4.d: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-1.ver: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-2.ver: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-3.ver: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-4.ver: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-dll.c: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script.exp: New test script.
|
|
|
|
|
|
2009-05-01 23:23:42 +08:00
|
|
|
|
2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/vxworks.sh (TEXT_START_ADDR): Override.
|
|
|
|
|
|
2009-04-30 23:47:13 +08:00
|
|
|
|
2009-04-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention support for IFUNC symbols.
|
|
|
|
|
|
2009-04-30 12:29:23 +08:00
|
|
|
|
2009-04-29 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
|
|
|
|
|
position out to accommodate larger programs.
|
|
|
|
|
|
2009-04-30 01:24:27 +08:00
|
|
|
|
2009-04-29 Chris Demetriou <cgd@google.com>
|
|
|
|
|
|
|
|
|
|
* lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
|
|
|
|
|
(ld_options): Likewise.
|
|
|
|
|
(parse_args): Likewise.
|
|
|
|
|
* ld.texinfo: Document --no-export-dynamic.
|
|
|
|
|
* NEWS: Mention --no-export-dynamic.
|
|
|
|
|
|
2009-04-29 09:17:54 +08:00
|
|
|
|
2009-04-29 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
|
|
|
|
|
|
2009-04-24 23:06:15 +08:00
|
|
|
|
2009-04-25 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 10061
|
|
|
|
|
* genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
|
|
|
|
|
param.
|
|
|
|
|
|
2009-04-22 06:05:04 +08:00
|
|
|
|
2009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
|
|
|
|
|
(arm_elf_set_bfd_for_interworking): Delete.
|
|
|
|
|
(arm_elf_before_allocation): Do not set the interworking BFD.
|
|
|
|
|
Move allocation inside not-dynamic block.
|
|
|
|
|
(arm_elf_create_output_section_statements): Create glue sections
|
|
|
|
|
and set the interworking BFD here.
|
|
|
|
|
(LDEMUL_AFTER_OPEN): Delete.
|
|
|
|
|
|
2009-04-17 07:07:00 +08:00
|
|
|
|
2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_one_common): Use bfd_define_common_symbol.
|
|
|
|
|
|
2009-04-16 23:39:48 +08:00
|
|
|
|
2009-04-15 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Add moxie support.
|
|
|
|
|
* Makefile.am: Add moxie files.
|
|
|
|
|
* Makefile.in: Rebuilt.
|
|
|
|
|
* emulparams/elf32moxie.sh: New file.
|
|
|
|
|
* scripttempl/moxie.sc: New file.
|
|
|
|
|
|
2009-04-15 11:22:42 +08:00
|
|
|
|
2009-04-15 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c: Do not include limits.h.
|
|
|
|
|
|
2009-04-14 11:17:21 +08:00
|
|
|
|
2009-04-14 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR ld/10047
|
|
|
|
|
* ldfile.c (find_scripts_dir): Use make_relative_prefix to find
|
|
|
|
|
ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
|
|
|
|
|
|
2009-04-14 10:47:22 +08:00
|
|
|
|
2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ldfile.c (ldfile_find_command_file): Revert the last change.
|
|
|
|
|
|
2009-04-11 22:06:56 +08:00
|
|
|
|
2009-04-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/10047
|
|
|
|
|
* ldfile.c (ldfile_find_command_file): First try raw name.
|
|
|
|
|
|
2009-04-10 00:06:48 +08:00
|
|
|
|
2009-04-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9824
|
|
|
|
|
* ld.texinfo (Output Section Constraint): New node. Documents the
|
|
|
|
|
ONLY_IF_RO and ONLY_IF_RW constraints.
|
|
|
|
|
(Symbolic Constants): New node. Documents the CONSTANT operator.
|
|
|
|
|
|
2009-04-09 21:55:35 +08:00
|
|
|
|
2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
|
|
|
|
|
of fork/execvp.
|
|
|
|
|
|
2009-04-09 00:04:50 +08:00
|
|
|
|
2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
|
|
|
|
|
(ld_options): Likewise.
|
|
|
|
|
(parse_args): Likewise.
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Document --warn-alternate-em.
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention --warn-alternate-em.
|
|
|
|
|
|
2009-04-08 10:24:23 +08:00
|
|
|
|
2009-04-07 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32mep.sh: Change default endian to little.
|
|
|
|
|
|
2009-04-07 16:07:08 +08:00
|
|
|
|
2009-04-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (Output Section Address): Note that specifying an
|
|
|
|
|
address for an output section will only change the location
|
|
|
|
|
counter if the output section is used.
|
|
|
|
|
|
2009-04-06 09:21:09 +08:00
|
|
|
|
2009-04-06 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldfile.c (ldfile_find_command_file): Initialize result.
|
|
|
|
|
|
2009-04-06 08:47:09 +08:00
|
|
|
|
2009-04-06 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (-L): Mention that -L options do not affect how ld
|
|
|
|
|
searches for a linker script unless -T option is specified.
|
|
|
|
|
* ldfile.c (ldfile_find_command_file): Append the path obtained
|
|
|
|
|
from the program name to the search path instead of
|
|
|
|
|
prepending. Add a new parameter "default_only". Restrict the
|
|
|
|
|
search to the default script location if the new parameter is
|
|
|
|
|
true.
|
|
|
|
|
(ldfile_open_command_file_1): New.
|
|
|
|
|
(ldfile_open_command_file): Call ldfile_open_command_file_1.
|
|
|
|
|
(ldfile_open_default_command_file): New.
|
|
|
|
|
|
2009-04-03 15:45:28 +08:00
|
|
|
|
2009-04-03 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_leave_output_section_statement): Set lma_region
|
|
|
|
|
if it is not overridden and section is for the same vma region as
|
|
|
|
|
the previous section.
|
|
|
|
|
|
2009-04-02 22:42:41 +08:00
|
|
|
|
2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR ld/6744
|
|
|
|
|
* ld.texinfo (--export-dynamic): Mention --export-all-symbols.
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
|
|
|
|
|
warning if --export-dynamic was passed on command-line.
|
|
|
|
|
* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
|
|
|
|
|
|
2009-04-02 03:53:53 +08:00
|
|
|
|
2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
|
|
|
|
|
function.
|
|
|
|
|
(ld_${EMULATION_NAME}_emulation): Use it.
|
|
|
|
|
|
2009-03-21 01:39:04 +08:00
|
|
|
|
2009-03-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/9970
|
|
|
|
|
* ldlang.c (lang_end): Warn missing entry symbol for -pie.
|
|
|
|
|
|
2009-03-19 15:04:12 +08:00
|
|
|
|
2009-03-19 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (spu_before_allocation): Report errors from
|
|
|
|
|
spu_elf_find_overlays.
|
|
|
|
|
|
2009-03-18 20:11:38 +08:00
|
|
|
|
2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/6766
|
|
|
|
|
* lexsup.c (parse_args): Call ldlang_add_undef for -e.
|
|
|
|
|
|
2009-03-18 19:27:18 +08:00
|
|
|
|
2009-03-18 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld.h: Remove alloca handling.
|
|
|
|
|
|
2009-03-17 20:46:19 +08:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spu_icache.S: Add new entry to dummy handler.
|
|
|
|
|
* emultempl/spu_icache.o_c: Regenerate.
|
|
|
|
|
* emultempl/spuelf.em (params): Init new field.
|
|
|
|
|
(no_overlays): New static var.
|
|
|
|
|
(spu_before_allocation): Use it.
|
|
|
|
|
(OPTION_SPU_COMPACT_STUBS): Define.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
|
|
|
|
|
handling.
|
|
|
|
|
|
2009-03-17 13:33:00 +08:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* configure.host (HOSTING_LIBS): Two dollars on shell variable
|
|
|
|
|
expansion to suit make.
|
|
|
|
|
|
2009-03-17 13:01:26 +08:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
|
|
|
|
|
* Makefile.am (check-DEJAGNU): Set DO_COMPARE.
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
(xcoff_loader_info): Add auto_export_flags.
bfd/
* bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
bfd_boolean export_defineds parameter with an unsigned int
auto_export_flags parameter.
* bfd-in2.h: Regenerate.
* xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
split out from xcoff_build_ldsyms.
(xcoff_covered_by_expall_p): New function.
(xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
but with extra code to handle -bexpfull and -bexpall.
(xcoff_mark_auto_exports): New function.
(xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
a function should be automatically exported.
(bfd_xcoff_size_dynamic_sections): Replace the export_defineds
parameter with an auto_export_flags parameter. Update ldinfo
accordingly. Use xcoff_mark_auto_exports to mark all automatically-
exported symbols.
ld/
* emultempl/aix.em (auto_export_flags): New variable.
(explicit_auto_export_flags): Likewise.
(OPTION_EXPALL, OPTION_EXPFULL): New enum values.
(OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
(gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
-bnoexpall and -bnoexpfull.
(gld${EMULATION_NAME}_handle_option): Handle them.
(gld${EMULATION_NAME}_before_allocation): Update the call to
bfd_size_dynamic_sections.
ld/testsuite/
* ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 17:35:46 +08:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/aix.em (auto_export_flags): New variable.
|
|
|
|
|
(explicit_auto_export_flags): Likewise.
|
|
|
|
|
(OPTION_EXPALL, OPTION_EXPFULL): New enum values.
|
|
|
|
|
(OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
|
|
|
|
|
-bnoexpall and -bnoexpfull.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Handle them.
|
|
|
|
|
(gld${EMULATION_NAME}_before_allocation): Update the call to
|
|
|
|
|
bfd_size_dynamic_sections.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
(XCOFF_WAS_UNDEFINED): New flag.
(xcoff_link_hash_table): Add an "rtld" field.
bfd/
* coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
flag is set. Assert that all undefined symbols are either
imported or defined by a dynamic object.
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
* xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
handling to all relocations. Only set XCOFF_CALLED for function
symbols.
(xcoff_find_function): New function, split out from...
(bfd_xcoff_export_symbol) ...here.
(xcoff_set_import_path): New function, split out from...
(bfd_xcoff_import_symbol): ...here. Remove assertion for old
meaning of XCOFF_CALLED.
(xcoff_mark_symbol): If we mark an undefined and unimported
symbol, find some way of defining it. If the symbol is a function
descriptor, fill in its definition automatically. If the symbol
is a function, mark its descriptor and allocate room for global
linkage code. Otherwise mark the symbol as implicitly imported.
Move the code for creating function descriptors from...
(xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to
check for symbols that were implicitly defined.
(xcoff_mark): Don't count any dynamic relocations against
function symbols.
(bfd_xcoff_size_dynamic_sections): Save the rtld parameter
in the xcoff link info.
(xcoff_link_input_bfd): Remove handling of undefined and
unexported symbols.
ld/
* emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
-berok and -bernotok control link_info.unresolved_syms_in_objects
and link_info.unresolved_syms_in_shared_libs instead of
force_make_executable.
ld/testsuite/
* ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 17:17:32 +08:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
|
|
|
|
|
-berok and -bernotok control link_info.unresolved_syms_in_objects
|
|
|
|
|
and link_info.unresolved_syms_in_shared_libs instead of
|
|
|
|
|
force_make_executable.
|
|
|
|
|
|
2009-03-14 17:15:12 +08:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
|
|
|
|
|
config.dynamic_link to TRUE.
|
|
|
|
|
|
2009-03-14 17:14:30 +08:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
|
|
|
|
|
.text, .data and .bss output sections as SEC_KEEP.
|
|
|
|
|
|
2009-03-14 17:11:38 +08:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
|
|
|
|
|
|
include/ChangeLog
2009-03-12 Dave Korn <dave.korn.cygwin@gmail.com>
* coff/internal.h (struct internal_extra_pe_aouthdr): Correct type
of DllCharacteristics flags field to unsigned.
* coff/pe.h (IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLL_CHARACTERISTICS_NX_COMPAT,
IMAGE_DLLCHARACTERISTICS_NO_ISOLATION,
IMAGE_DLLCHARACTERISTICS_NO_SEH,
IMAGE_DLLCHARACTERISTICS_NO_BIND,
IMAGE_DLLCHARACTERISTICS_WDM_DRIVER,
IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE): New macros to
define flag bit values for DllCharacteristics field of PEAOUTHDR,
PEPAOUTHDR.
ld/ChangeLog
2009-03-12 Dave Korn <dave.korn.cygwin@gmail.com>
Danny Smith <dannysmith@users.sourceforge.net>
* emultmpl/pe.em (pe_dll_characteristics): New variable.
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
New macros for options to set DllCharacteristics flag bits.
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
(init): Add DllCharacteristics field.
(gld_${EMULATION_NAME}_list_options): List new options.
(gld${EMULATION_NAME}_handle_option): Handle new options.
* emultmpl/pep.em (pe_dll_characteristics): New variable.
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
New macros for options to set DllCharacteristics flags.
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
(init): Add DllCharacteristics field.
(gld_${EMULATION_NAME}_list_options): List new options.
(gld${EMULATION_NAME}_handle_option): Handle new options.
* ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
2009-03-14 11:30:26 +08:00
|
|
|
|
2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
Danny Smith <dannysmith@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
* emultmpl/pe.em (pe_dll_characteristics): New variable.
|
|
|
|
|
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
|
|
|
|
|
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
|
|
|
|
|
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
|
|
|
|
|
New macros for options to set DllCharacteristics flag bits.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
|
|
|
|
|
nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
|
|
|
|
|
(init): Add DllCharacteristics field.
|
|
|
|
|
(gld_${EMULATION_NAME}_list_options): List new options.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Handle new options.
|
|
|
|
|
* emultmpl/pep.em (pe_dll_characteristics): New variable.
|
|
|
|
|
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
|
|
|
|
|
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
|
|
|
|
|
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
|
|
|
|
|
New macros for options to set DllCharacteristics flags.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
|
|
|
|
|
nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
|
|
|
|
|
(init): Add DllCharacteristics field.
|
|
|
|
|
(gld_${EMULATION_NAME}_list_options): List new options.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Handle new options.
|
|
|
|
|
* ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
|
|
|
|
|
no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
|
|
|
|
|
|
2009-03-06 20:14:40 +08:00
|
|
|
|
2009-03-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Updated Spanish translation.
|
|
|
|
|
|
2009-03-04 02:22:11 +08:00
|
|
|
|
2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
|
|
|
|
|
(gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
|
|
|
|
|
of all input BFDs, looking for debug info. Enable long section names
|
|
|
|
|
if any found.
|
|
|
|
|
* emultempl/pe.em (debug_section_p): Likewise.
|
|
|
|
|
(gld_${EMULATION_NAME}_after_open): Likewise.
|
|
|
|
|
* NEWS: Retrospectively adjust news announcement.
|
|
|
|
|
* ld.texinfo: Update documentation to mention new behaviour.
|
|
|
|
|
|
2009-03-04 09:16:15 +08:00
|
|
|
|
2009-03-03 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-03-03 01:27:36 +08:00
|
|
|
|
2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* ldgram.y: Add support for REGION_ALIAS operator.
|
|
|
|
|
* ldlang.c: Likewise.
|
|
|
|
|
* ldlang.h: Likewise.
|
|
|
|
|
* ldlex.l: Likewise.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
* ld.texinfo: Document the new feature.
|
|
|
|
|
|
2009-03-02 18:33:08 +08:00
|
|
|
|
2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Replace score elf emulation with score3 and score7
|
|
|
|
|
emulations.
|
|
|
|
|
* Makefile.in: Regenerate,
|
|
|
|
|
* NEWS: Mention support for Score7 architecture.
|
|
|
|
|
* configure.tgt: Add score7 emulation to score-elf target.
|
|
|
|
|
* emulparams/scoreelf.sh: Add score7 support.
|
|
|
|
|
* emultempl/scoreelf.em: Likewise.
|
|
|
|
|
|
* configure.tgt: Only use elf64hppa target emulation for hpux.
* emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
(SCRIPT_NAME): Use new script elf64hppa.
(SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
TEXT_DYNAMIC): Define.
* emulparams/hppa64linux.sh: Adjust comments.
* scripttempl/elf64hppa.sc: New file.
2009-03-02 06:10:36 +08:00
|
|
|
|
2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Only use elf64hppa target emulation for hpux.
|
|
|
|
|
* emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
|
|
|
|
|
(SCRIPT_NAME): Use new script elf64hppa.
|
|
|
|
|
(SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
|
|
|
|
|
TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
|
|
|
|
|
OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
|
|
|
|
|
DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
|
|
|
|
|
TEXT_DYNAMIC): Define.
|
|
|
|
|
* emulparams/hppa64linux.sh: Adjust comments.
|
|
|
|
|
* scripttempl/elf64hppa.sc: New file.
|
|
|
|
|
|
2009-03-02 02:57:19 +08:00
|
|
|
|
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2009-02-28 03:01:57 +08:00
|
|
|
|
2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
|
|
|
|
|
default state of auto-import flag based on $target.
|
|
|
|
|
|
2009-02-24 Joseph Myers <joseph@codesourcery.com>
bfd/
* elf32-arm.c (PREV_SEC): Update comment.
(group_sections): Rename argument to stubs_always_after_branch.
Reverse the list and place stubs at the end of input sections.
Undefine NEXT_SEC.
(elf32_arm_size_stubs): Update to use stubs_always_after_branch.
ld/
* ld.texinfo (ARM): Document changed meaning of --stub-group-size.
* emultempl/armelf.em (hook_in_stub): Insert after the input section.
(elf32_arm_add_stub_section): Update comment.
(PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
2009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
Use normal output files for big-endian.
* ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
* ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
ld-arm/farcall-thumb-arm-be8.d,
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
ld-arm/farcall-thumb-arm.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
ld-arm/thumb2-bl-bad.d: Update for moved stubs.
2009-02-25 06:43:10 +08:00
|
|
|
|
2009-02-24 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (ARM): Document changed meaning of --stub-group-size.
|
|
|
|
|
* emultempl/armelf.em (hook_in_stub): Insert after the input section.
|
|
|
|
|
(elf32_arm_add_stub_section): Update comment.
|
|
|
|
|
(PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
|
|
|
|
|
|
2009-02-25 02:06:27 +08:00
|
|
|
|
2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (Options): Correct typos in example. Recommend
|
|
|
|
|
using joined forms of syntax for passing options with arguments
|
|
|
|
|
from a driver.
|
|
|
|
|
(-a): Use consistent syntax for documenting option arguments.
|
|
|
|
|
Clean up indexing and markup.
|
|
|
|
|
(-A/--architecture): Likewise.
|
|
|
|
|
(-f/--auxiliary): Likewise.
|
|
|
|
|
(-F/--filter): Likewise.
|
|
|
|
|
(-fini): Likewise.
|
|
|
|
|
(-G/--gpsize): Likewise.
|
|
|
|
|
(-h/-soname):Likewise.
|
|
|
|
|
(-init): Likewise.
|
|
|
|
|
(-l/--library): Likewise.
|
|
|
|
|
(-L/--library-path): Likewise.
|
|
|
|
|
(-m): Likewise.
|
|
|
|
|
(--defsym): Likewise.
|
|
|
|
|
(-I/--dynamic-linker): Likewise.
|
|
|
|
|
(-Map): Likewise.
|
|
|
|
|
(--oformat): Likewise.
|
|
|
|
|
(--retain-symbols-file): Likewise.
|
|
|
|
|
(-rpath): Likewise.
|
|
|
|
|
(-rpath-link): Likewise.
|
|
|
|
|
(--sort-common): Likewise.
|
|
|
|
|
(--sort-section): Likewise.
|
|
|
|
|
(--split-by-file): Likewise.
|
|
|
|
|
(--split-by-reloc): Likewise.
|
|
|
|
|
(--sysroot): Likewise.
|
|
|
|
|
(--section-start): Likewise.
|
|
|
|
|
(-Tbss, -Tdata, -Ttext): Likewise.
|
|
|
|
|
(-Ttext-segment): Likewise.
|
|
|
|
|
(--version-script): Likewise.
|
|
|
|
|
(--wrap): Likewise.
|
|
|
|
|
|
2009-02-24 11:15:17 +08:00
|
|
|
|
2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
|
2009-02-19 02:23:08 +08:00
|
|
|
|
|
|
|
|
|
* ld.texinfo: Update to mention long section name options.
|
|
|
|
|
* NEWS: Mention new behaviour and command-line options.
|
|
|
|
|
* pe-dll.c (pe_use_coff_long_section_names): New global variable.
|
|
|
|
|
(pe_output_file_set_long_section_names): New function.
|
|
|
|
|
(pe_dll_build_sections): Call it on output BFDs.
|
|
|
|
|
(pe_exe_build_sections): Likewise.
|
|
|
|
|
(pe_dll_fill_sections): Likewise.
|
|
|
|
|
(pe_exe_fill_sections): Likewise.
|
|
|
|
|
* pe-dll.h (pe_use_coff_long_section_names): Declare extern.
|
|
|
|
|
(pe_output_file_set_long_section_names): Add prototype.
|
|
|
|
|
* pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
|
|
|
|
|
(pe_output_file_set_long_section_names): Likewise.
|
|
|
|
|
* pep-dll.h (pep_use_coff_long_section_names): Declare extern.
|
|
|
|
|
(pep_output_file_set_long_section_names): Add prototype.
|
|
|
|
|
* pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
|
|
|
|
|
(OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
|
|
|
|
|
(gld_${EMULATION_NAME}_list_options): Describe them.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Set or clear global
|
|
|
|
|
pe_use_coff_long_section_names flag when options recognised.
|
|
|
|
|
(gld_${EMULATION_NAME}_after_open): En/disable long section names
|
|
|
|
|
for main output bfd by calling pe_output_file_set_long_section_names.
|
|
|
|
|
* pep.em (enum options): Extend enum with new getopt option values.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
|
|
|
|
|
(gld_${EMULATION_NAME}_list_options): Describe them.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Set or clear global
|
|
|
|
|
pe_use_coff_long_section_names flag when options recognised.
|
|
|
|
|
(gld_${EMULATION_NAME}_after_open): En/disable long section names
|
|
|
|
|
for main output bfd by calling pep_output_file_set_long_section_names.
|
|
|
|
|
|
2009-02-16 18:42:12 +08:00
|
|
|
|
2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
|
|
|
|
|
inadvertent .reloc sections caused by refactoring accident.
|
|
|
|
|
|
2009-02-16 16:02:29 +08:00
|
|
|
|
2009-02-16 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (process_insert_statements): ASSERT that output section
|
|
|
|
|
statements are in order.
|
|
|
|
|
|
2009-02-16 15:25:52 +08:00
|
|
|
|
2009-02-16 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
|
|
|
|
|
(stat_save, stat_save_ptr): New variables.
|
|
|
|
|
(lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
|
|
|
|
|
(load_symbols): Likewise. Delete dead "bad_load" code.
|
|
|
|
|
(open_input_bfds): Warn on script containing output sections.
|
|
|
|
|
(lang_enter_output_section_statement): Use push_stat_ptr.
|
|
|
|
|
(lang_enter_group): Likewise.
|
|
|
|
|
(lang_leave_output_section_statement): Use pop_stat_ptr.
|
|
|
|
|
(lang_leave_group): Likewise.
|
|
|
|
|
* ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
|
|
|
|
|
* ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
|
|
|
|
|
* emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
|
|
|
|
|
* emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
|
|
|
|
|
* emultempl/spuelf.em (spu_place_special_section): Likewise.
|
|
|
|
|
* emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
|
|
|
|
|
|
2009-02-09 22:46:40 +08:00
|
|
|
|
2009-02-09 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
Missing piece of 2009-01-26 commit
|
|
|
|
|
* ldlang.c (lang_process): Don't consider relocatable flag when
|
|
|
|
|
checking for overlap.
|
|
|
|
|
|
2009-02-06 05:52:36 +08:00
|
|
|
|
2009-02-05 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/m68kelf.sh: Add newline at end of file.
|
|
|
|
|
|
2009-02-04 17:13:22 +08:00
|
|
|
|
2009-02-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9805
|
|
|
|
|
* ld.texinfo (--allow-shlib-undefined): Correct description of
|
|
|
|
|
default settings and tidy up the rest of the entry.
|
|
|
|
|
|
2009-02-04 10:43:17 +08:00
|
|
|
|
2009-02-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
|
|
|
|
|
during relocatable link.
|
|
|
|
|
|
2009-02-04 01:04:53 +08:00
|
|
|
|
2009-02-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9797
|
|
|
|
|
* ld.texinfo (Constants): Document the base-encoding suffixes
|
|
|
|
|
supported in linker scripts.
|
|
|
|
|
|
2009-02-03 23:56:59 +08:00
|
|
|
|
2009-02-03 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention --as-needed change.
|
|
|
|
|
|
2009-02-03 23:54:05 +08:00
|
|
|
|
2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.in: AC_SUBST pdfdir.
|
|
|
|
|
* Makefile.am: Add install-pdf, install-pdf-am,
|
|
|
|
|
and install-pdf-recursive targets. Define pdf__strip_dir.
|
|
|
|
|
* po/Make-in: Add install-pdf target.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-01-31 19:44:38 +08:00
|
|
|
|
2009-01-31 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (--as-needed): Update.
|
|
|
|
|
|
2009-01-30 00:36:45 +08:00
|
|
|
|
2009-01-29 Andrew Jenner <andrew@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em: Correct formatting of help text for
|
|
|
|
|
--no-enum-size-warning option.
|
|
|
|
|
|
2009-01-26 23:23:39 +08:00
|
|
|
|
2009-01-26 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
|
|
|
|
|
* ld.h (args_type): Make check_section_addresses a char.
|
|
|
|
|
* ldmain.c (main): Default check_section_addresses to -1. Check it
|
|
|
|
|
for relocatable links.
|
|
|
|
|
* ld.texinfo (--check-sections): Update documentation.
|
|
|
|
|
|
2009-01-26 18:29:11 +08:00
|
|
|
|
2009-01-26 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c (tmp_seq2): New static variable.
|
|
|
|
|
(make_singleton_name_imp): New.
|
|
|
|
|
(make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
|
|
|
|
|
avoid duplicate import table generation for same symbol.
|
|
|
|
|
(pe_create_runtime_relocator_reference): Make reference for
|
|
|
|
|
64-bit 8 bytes.
|
|
|
|
|
|
2009-01-21 10:27:13 +08:00
|
|
|
|
2009-01-21 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (params): Init new field.
|
|
|
|
|
(OPTION_SPU_NON_IA_TEXT): Define.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
|
|
|
|
|
|
2009-01-16 22:14:07 +08:00
|
|
|
|
2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
|
|
|
|
|
(ld_options): Add -Ttext-segment.
|
|
|
|
|
(parse_args): Handle OPTION_TTEXT_SEGMENT.
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Document -Ttext-segment.
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention -Ttext-segment.
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
|
|
|
|
|
(SHLIB_TEXT_START_ADDR): Likewise.
|
|
|
|
|
|
2009-01-12 21:56:41 +08:00
|
|
|
|
2009-01-13 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spu_icache.o_c: Regenerate.
|
|
|
|
|
|
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
num_lines_log2.
(struct got_entry): Add br_addr.
(struct call_info): Add priority.
(struct function_info): Add lr_store and sp_adjust.
(spu_elf_setup): Init line_size_log2 and num_lines_log2.
(spu_elf_find_overlays): For soft-icache, mark any section within cache
area as an overlay, and check that no other overlays exist. Look up
icache overlay manager entry sym.
(BRA_STUBS, BRA, BRASL): Define.
(enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
(needs_ovl_stub): Adjust for soft-icache. Return priority encoded
in branch insn.
(count_stub, build_stub): Support soft-icache.
(build_spuear_stubs, process_stubs): Adjust build_stub call.
(spu_elf_size_stubs): Size soft-icache stubs.
(overlay_index): New function.
(spu_elf_build_stubs): Make static. Support soft-icache.
(spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
(find_function_stack_adjust): Save lr store and stack adjust insn
offsets.
(maybe_insert_function): Adjust find_function_stack_adjust call.
(mark_functions_via_relocs): Retrieve priority.
(remove_cycles): Only warn about pruned arcs when stack_analysis.
(sort_calls): Sort by priority first.
(mark_overlay_section): Ignore .ovl.init.
(sum_stack): Only print when stack_analysis.
(print_one_overlay_section): New function, extracted from..
(spu_elf_auto_overlay): ..here. Support soft-icache overlays.
(spu_elf_stack_analysis): Only print when htab->stack_analysis.
(spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
analysis. Call spu_elf_build_stubs.
(spu_elf_relocate_section): For soft-icache encode overlay index
into addresses.
(spu_elf_output_symbol_hook): Support soft-icache.
(spu_elf_modify_program_headers: Likewise.
* elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
num_regions to num_lines. Add line_size and max_branch.
(enum _ovly_flavour): Add ovly_soft_icache.
(spu_elf_build_stubs): Delete.
gas/
* config/tc-spu.c (md_pseudo_table): Add "brinfo".
(brinfo): New var.
(md_assemble): Poke brinfo into branch instructions.
(spu_brinfo): New function.
(md_apply_fix): Don't assume insn fields start off at zero, mask
them to remove possible brinfo.
ld/
* emultempl/spuelf.em (params): Init new fields.
(num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
(spu_place_special_section): Adjust placement for soft-icache. Pad
soft-icache section to a fixed size. Clear addr_tree.
(spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
sections a little more intelligently.
(gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
(OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
(OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
(OPTION_SPU_LRLIVE): Define.
(PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Handle them.
* emultempl/spu_icache.S: Dummy file.
* emultempl/spu_icache.o_c: Regenerate.
* Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
(spu_icache.o_c): Add rule to build.
(CLEANFILES): Zap temp files.
(EXTRA_DIST): Add spu_icache.o_c.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-spu/ovl.d: Allow for absolute branches in stubs.
* ld-spu/ovl2.d: Likewise.
2009-01-12 08:23:58 +08:00
|
|
|
|
2009-01-12 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (params): Init new fields.
|
|
|
|
|
(num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
|
|
|
|
|
(spu_place_special_section): Adjust placement for soft-icache. Pad
|
|
|
|
|
soft-icache section to a fixed size. Clear addr_tree.
|
|
|
|
|
(spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
|
|
|
|
|
sections a little more intelligently.
|
|
|
|
|
(gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
|
|
|
|
|
(OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
|
|
|
|
|
(OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
|
|
|
|
|
(OPTION_SPU_LRLIVE): Define.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
|
|
|
|
|
(PARSE_AND_LIST_OPTIONS): Likewise.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle them.
|
|
|
|
|
* emultempl/spu_icache.S: Dummy file.
|
|
|
|
|
* emultempl/spu_icache.o_c: Regenerate.
|
|
|
|
|
* Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
|
|
|
|
|
(spu_icache.o_c): Add rule to build.
|
|
|
|
|
(CLEANFILES): Zap temp files.
|
|
|
|
|
(EXTRA_DIST): Add spu_icache.o_c.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-01-08 21:28:48 +08:00
|
|
|
|
2009-01-08 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
|
|
|
|
|
(gld..._add_options): Add new option
|
|
|
|
|
--use-nul-prefixed-import-tables.
|
|
|
|
|
(gld..._handle_option): Likewise.
|
|
|
|
|
* pep.em: Same as for pe.em.
|
|
|
|
|
* ld.texinfo: Add new option documentation for
|
|
|
|
|
--use-nul-prefixed-import-tables.
|
|
|
|
|
* pe-dll.c (pe_use_nul_prefixed_import_tables): New.
|
|
|
|
|
(make_head): Make prefix leading zero prefix element for
|
|
|
|
|
idata$4 and idata$5 dependent to new flag.
|
|
|
|
|
(make_import_fixup_entry): Remove idata4/5 prefix.
|
|
|
|
|
* pe-dll.h (pe_use_nul_prefixed_import_tables): New.
|
|
|
|
|
* pep-dll.c (pe_use_nul_prefixed_import_tables): New.
|
|
|
|
|
* pep-dll.h (pep_use_nul_prefixed_import_tables): New.
|
|
|
|
|
* NEWS: Add new option.
|
|
|
|
|
|
2009-01-05 20:17:43 +08:00
|
|
|
|
2009-01-05 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/pe.em: Prefix dollar characters to be outputed in
|
|
|
|
|
generated C file.
|
|
|
|
|
* emultempl/pep.em: Likewise.
|
|
|
|
|
|
2009-01-04 02:04:16 +08:00
|
|
|
|
2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention new feature --exclude-modules-for-implib.
|
|
|
|
|
* ld.texinfo: Document new --exclude-modules-for-implib option.
|
|
|
|
|
* pe-dll.c (exclude_list_struct): Change type member from int to
|
|
|
|
|
new enumeration exclude_type.
|
|
|
|
|
(pe_dll_add_excludes): Accept exclude_type instead of int param.
|
|
|
|
|
(auto_export): Replace magic constants by exclude_type values and
|
|
|
|
|
handle new choice EXCLUDEFORIMPLIB.
|
|
|
|
|
(pe_dll_generate_implib): Accept a pointer to the link_info and
|
|
|
|
|
iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
|
|
|
|
|
fresh BFDs for any found and link into import lib archive chain.
|
|
|
|
|
* pe-dll.h (exclude_type): Add new enumerated type to replace magic
|
|
|
|
|
constants previously used for exclude_list_struct type member.
|
|
|
|
|
(pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
|
|
|
|
|
* pep-dll.h (exclude_type, pe_dll_add_excludes,
|
|
|
|
|
pe_dll_generate_implib): Likewise to all the above.
|
|
|
|
|
* emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
|
|
|
|
|
getopts long option code for new --exclude-modules-for-implib option.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
|
|
|
|
|
(gld_${EMULATION_NAME}_list_options): List usage for it.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
|
|
|
|
|
values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
|
|
|
|
|
(gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
|
|
|
|
|
calling pe_dll_generate_implib.
|
|
|
|
|
* emultempl/pep.em (options): Define new enumerated value for getopts
|
|
|
|
|
long option code for new --exclude-modules-for-implib option.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
|
|
|
|
|
gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
|
|
|
|
|
Again, likewise to all the above.
|
|
|
|
|
|
2009-01-04 01:43:45 +08:00
|
|
|
|
2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
2008-12-24 03:10:25 +08:00
|
|
|
|
|
2009-01-04 01:43:45 +08:00
|
|
|
|
* pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
|
|
|
|
|
(libnamencmp): New function.
|
|
|
|
|
(auto_export): Use it in place of strncmp when filtering libraries.
|
2008-12-24 03:10:25 +08:00
|
|
|
|
|
2009-01-04 01:43:45 +08:00
|
|
|
|
For older changes see ChangeLog-2008
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|