X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=dd9eb5d76a7cab7aa5ab6bd5ce18c03fb81dcbbe;hb=99ad839030c1177eb409a99320fa7e60226f0db3;hp=ea78a4687a5e0419be9d2e73b6f952a23ee20a31;hpb=66e28d60cbc9fcd64aa8e9d8f0c90c5b4debbfc2;p=binutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index ea78a4687a5..dd9eb5d76a7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,306 @@ +2006-09-20 Kai Tietz + + * configure.in: Add new target x86_64-pc-mingw64. + * configure: Regenerate. + * configure.tgt: Add definition of target emulation i386pep. + * Makefile.am: Add new target files for target-all. + * Makefile.in: Regenerate. + * pe-dll.c: Adjust to be inheritable by pep_dll.c as include. + Fix memory out of bounds excess for idata relocation section data. + * pep-dll.c: Add target specific shared object handling. + * pep-dll.h: Add target specific definitions for shared object handling. + * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff. + * emultempl/pep.em: Add new emulation file for target x86_64 coff. + * po/POTFILES.in: Regenerate. + * scripttempl/pep.sc: Add linker script template for target x86_64 coff. + * NEWS: Mention new target. + +2006-09-18 Thiemo Seufer + + * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf* + configurations. + +2006-09-17 Mei Ligang + + * emulparams/scoreelf.sh: New file. + * emultempl/scoreelf.em: New file. + * Makefile.am: Add Score files. + * Makefile.in: Regenerate. + * configure.tgt: Add Score target. + * NEWS: Mention new target support. + +2006-09-16 Nick Clifton + Pedro Alves + + * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ + macros defined in bfd.h. + * ldmain.c: Likewise. + * ldwrite.c: Likewise. + * lexsup.c: Likewise. + * pe-dll.c: Likewise. + * emultempl/aix.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/xtensaelf.em: Likewise. + +2006-09-15 Nick Clifton + + PR ld/3107 + * ldlang.c (lang_size_sections_1): Do not abort when encountering + a non-empty section that is ignored. Instead produce a warning + message. + +2006-09-08 H.J. Lu + + * ld.texinfo: Document --dynamic-list-cpp-typeinfo. + +2006-09-07 H.J. Lu + + * Makefile.am (CXX): Set to g++. + (CXX_FOR_TARGET): Likewise. + * Makefile.in: Regenerated. + + * NEWS: Mention --dynamic-list. + + * ld.texinfo: Document --dynamic-list. + + * ldgram.y: Support dynamic list. + + * ldlang.c (lang_process): Call lang_finalize_version_expr_head + on link_info.dynamic if needed. + (lang_append_dynamic_list): New. + (lang_append_dynamic_list_cpp_typeinfo): New. + * ldlang.h (lang_append_dynamic_list): Likewise. + * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise. + + * ldlex.h (input_enum): Add input_dynamic_list. + * ldlex.l: Handle it. + + * ldmain.c (main): Initialize link_info.dynamic. + + * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and + OPTION_DYNAMIC_LIST_CPP_TYPEINFO. + (ld_options): Add entries for OPTION_DYNAMIC_LIST and + OPTION_DYNAMIC_LIST_CPP_TYPEINFO. + (parse_args): Handle OPTION_DYNAMIC_LIST and + OPTION_DYNAMIC_LIST_CPP_TYPEINFO. + +2006-09-07 Joel Sherrill + + * emulparams/h8300elf.sh: _tinydata should not be placed in + relocatables. + * emulparams/h8300.sh: Likewise. + * emulparams/h8300sxelf.sh: Likewise. + +2006-09-05 H.J. Lu + + PR ld/3015 + * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE + is defined. + +2006-08-29 Nathan Sidwell + + * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match. + +2006-08-28 Alan Modra + + * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will + not match random object files in a path containing "crtbegin" or + "crtend" as part of a directory name. + * scripttempl/armbpabi.sc: Likewise. + * scripttempl/crisaout.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mmo.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + +2006-08-24 Bob Wilson + + * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*. + * scripttempl/elfxtensa.sc (.text): Add .literal.*. + +2006-08-24 Pedro Alves + + * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum): + Adjust the current address of DEFAULT_MEMORY_REGION even + when dot hasn't changed. + +2006-08-23 Alan Modra + + * ldexp.c (fold_name ): Return an absolute value + rather than a section relative value. + +2006-08-22 Alan Modra + + * NEWS: Mention LMA default change. + * ld.texinfo (Output Section LMA): Update default description. + (Location Counter): Clarify backward movement. + * ldlang.c (lang_size_sections_1): Leave non-alloc sections with + default lma equal to vma. Warn on backward movement of dot. + +2006-08-22 Pedro Alves + + * configure.tgt: Set targ_emul to arm_wince_pe for ARM + Windows CE targets. + +2006-08-22 Pedro Alves + + * Makefile.am: Split arm-wince into its own emulation. + * Makefile.in: Regenerate. + * pe-dll.c : Define PE_ARCH_arm_wince. + (pe_detail_list): Add PE_ARCH_arm_wince case. + (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases. + * emulparams/arm_wince_pe.sh: New file. + * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define. + Remap bfd_arm_allocate_interworking_sections, + bfd_arm_get_bfd_for_interworking and + bfd_arm_process_before_allocation for arm-pe and arm-wince-pe + targets too. + (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and + arm-epoc bfd format names. + +2006-08-18 Paul Brook + + * emultempl/armelf.em (arm_elf_before_allocation): Call + gld${EMULATION_NAME}_before_allocation after setting interworking bfd. + +2006-08-17 Pedro Alves + + * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$. + (generate_reloc): Revert to skipping sections without a SEC_LOAD flag, + and to not skipping .idata* sections. + +2006-08-16 Alan Modra + + PR 3052 + * ldlang.h (lang_output_section_statement_type): Replace + "processed" field with "processed_vma" and "processed_lma". + * ldlang.c (lang_do_assignments_1): Move lma setting code.. + (lang_size_sections_1): ..to here. + (lang_reset_memory_regions): Adjust for + lang_output_section_statement_type change. + * ldexp.c (fold_name): Likewise. + +2006-08-08 Peter S. Mazinger + + * emulparams/armelf.sh (MAXPAGESIZE): Changed to + "CONSTANT (MAXPAGESIZE)". + +2006-08-08 H.J. Lu + + PR ld/3006 + * ldlang.c (lang_section_bst_type): Moved to ... + * ldlang.h: Here. + + * ldlang.h (lang_wild_statement_struct): Add a tree field. + + * ldlang.c (wild_sort_fast): Use the tree field for BST. + (wild): Likeise. + (analyze_walk_wild_section_handler): Initialize the tree field. + +2006-08-08 H.J. Lu + + PR ld/3009 + * ldlang.c (update_wild_statements): Update the whole wild + section list. + +2006-08-04 Nick Clifton + Mike Frysinger + + * scripttempl/elf.sc (USER_LABEL_PREFIX): Define. + (__preinit_array_start, __preinit_array_end, __init_array_start, + __init_array_end, __fini_array_start, __fini_array_end, edata, end): + Use ${USER_LABEL_PREFIX}. + * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset. + (USER_LABEL_PREFIX): Set. + +2006-08-04 Marcelo Tosatti + + * ldmain.c (main): Initialise print_gc_sections field of link_info + structure. + * lexsup.c: Add --print-gc-sections and --no-print-gc-sections + switches. + * ld.texinfo: Document new switches. + * NEWS: Mention new switches. + +2006-08-04 Richard Sandiford + Kazu Hirata + Phil Edwards + + * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and + eshlelf_vxworks.o. + (eshelf_vxworks.c, eshlelf_vxworks.c): New rules. + * Makefile.in: Regenerate. + * configure.tgt (sh-*-vxworks): Use shelf_vxworks and + shlelf_vxworks. + * emulparams/shelf_vxworks.sh: New file. + * emulparams/shlelf_vxworks.sh: Likewise. + * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}. + (OTHER_END_SYMBOLS): Likewise _ehdr. + (DATA_END_SYMBOLS): Likewise _edata. + * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd + is indeed an ELF file before dealing with --force-dynamic. + +2006-08-02 Petr Salinger + + PR binutils/2983 + * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as + elf64-x86-64-freebsd. + +2006-08-01 H.J. Lu + + * ldlang.c (init_os): Add flags. Replace bfd_make_section with + bfd_make_section_with_flags. + (exp_init_os): Updated. + (lang_add_section): Call init_os with flags. + (map_input_to_output_sections): Likewise. + +2006-07-29 Richard Sandiford + + * Makefile.am (eelf32b4300.c): Update dependencies. + (eelf32bmip.c): Likewise. + (eelf32bsmip.c): Likewise. + (eelf32btsmip.c): Likewise. + (eelf32btsmipn32.c): Likewise. + (eelf32ltsmip.c): Likewise. + (eelf32ltsmipn32.c): Likewise. + (eelf32ebmip.c): Likewise. + (eelf32ebmipvxworks.c): Likewise. + (eelf32elmip.c): Likewise. + (eelf32elmipvxworks.c): Likewise. + (eelf32bmipn32.c): Likewise. + (eelf32lmip.c): Likewise. + (eelf32mipswindiss.c): Likewise. + (eelf32lsmip.c): Likewise. + (eelf64bmip.c): Likewise. + (eelf64btsmip.c): Likewise. + (eelf64ltsmip.c): Likewise. + (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line. + (emipsbsd.c): Likewise. + (emipsidt.c): Update dependencies. + (emipsidtl.c): Likewise. + (emipslit.c): Likewise. + (emipslnews.c): Likewise. + (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation. + * Makefile.in: Regenerate. + * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define. + * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise. + * emultempl/irix.em: Include emultempl/mipself.em. + * emultempl/mipself.em: New file. + +2006-07-26 Alan Modra + + * emultempl/elf-generic.em (map_segments): Reorganise loop so that + layout happens before segment map. Don't do segment map on + relocatable link. + 2006-07-26 Alan Modra * ldexp.c (fold_name ): Use the lma.