(linenum→info "unix/slp.c:2238")

binutils/2.18/ld/ChangeLog-2006

    1: 2006-12-23  Kazu Hirata  <kazu@codesourcery.com>
    2: 
    3:         * configure.tgt: Recognize fido.
    4: 
    5: 2006-12-18  Pedro Alves  <pedro_alves@portugalmail.pt>
    6: 
    7:         * pe-dll.c (pe_bfd_is_dll): New function.
    8:         * pe-dll.h (pe_bfd_is_dll): Declare.
    9:         * emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize
   10:         dlls using pe_bfd_is_dll instead of using the filename extension.
   11: 
   12: 2006-12-15  Ulrich Weigand  <uweigand@de.ibm.com>
   13: 
   14:         * configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
   15: 
   16: 2006-12-12  Daniel Jacobowitz  <dan@codesourcery.com>
   17: 
   18:         * Makefile.am (ld_TEXINFOS): Set.
   19:         (ld.info ld.dvi ld.html): Delete rule.
   20:         * Makefile.in: Regenerated.
   21: 
   22: 2006-12-12  Ina Pandit  <inap@kpitcummins.com>
   23: 
   24:         * ldlang.c (print_output_section_statement): Print load address
   25:         when lma differs from vma.
   26: 
   27: 2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
   28: 
   29:         * configure.in: Define GENINSRC_NEVER.
   30:         * doc/Makefile.am (ld.info): Remove srcdir prefix.
   31:         (MAINTAINERCLEANFILES): Add info file.
   32:         (DISTCLEANFILES): Pretend to add info file.
   33:         * po/Make-in (.po.gmo): Put gmo files in objdir.
   34:         * configure, Makefile.in: Regenerated.
   35: 
   36: 2006-12-04  Jan Beulich  <jbeulich@novell.com>
   37: 
   38:         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
   39:         .eh_frame_hdr section here.
   40: 
   41: 2006-11-27  Ian Lance Taylor  <ian@airs.com>
   42: 
   43:         * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
   44:         subdirectory.
   45:         * Makefile.in: Regenerate.
   46: 
   47: 2006-11-27  Bob Wilson  <bob.wilson@acm.org>
   48: 
   49:         * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
   50:         (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
   51:         Delete redundant code to set sections flags and alignment.
   52:         (xt_config_info_unpack_and_check, check_xtensa_info): New.
   53:         (elf_xtensa_after_open): Iterate over input statements instead of
   54:         link_info.input_bfds.
   55:         (elf_xtensa_before_allocation): Likewise.  Call check_xtensa_info for
   56:         each input, and write a new .xtensa.info section in the output.
   57: 
   58: 2006-11-22  Nick Clifton  <nickc@redhat.com>
   59: 
   60:         * configure.in (LINGUAS): Add ga.
   61:         * po/ga.po: New Irish translation.
   62: 
   63: 2006-11-20  H.J. Lu  <hongjiu.lu@intel.com>
   64: 
   65:         * ld.texinfo: Fix a typo.
   66: 
   67: 2006-11-20  Alan Modra  <amodra@bigpond.net.au>
   68: 
   69:         * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
   70: 
   71: 2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
   72: 
   73:         * emultempl/armelf.em (arm_elf_before_allocation): Only call
   74:         bfd_elf32_arm_process_before_allocation if no dynamic sections.
   75: 
   76: 2006-11-08  Alan Modra  <amodra@bigpond.net.au>
   77: 
   78:         * emultempl/elf32.em (gld*_before_allocation): Adjust output section
   79:         size for warning sections.
   80: 
   81: 2006-11-06  Vladimir Prus  <vladimir@codesourcery.com>
   82: 
   83:         * emultempl/elf32.em (gld*_before_allocation): Don't prepend
   84:         "warning" to the message.
   85: 
   86: 2006-10-31  Pedro Alves  <pedro_alves@portugalmail.pt>
   87: 
   88:         * pe-dll.c (autofilter_entry_type): Change name to const.
   89:         (pe_details_type) : Change target_name, object_target and
   90:         autofilter_symbollist to const.
   91:         (autofilter_symbollist_generic): Change to const.
   92:         (autofilter_symbollist_i386, pe_detail_list, pe_details,
   93:         autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
   94:         autofilter_symbolsuffixlist): Likewise.
   95:         (is_import): Fix indentation.
   96:         (auto_export): Change afptr to const.  Move name declaration to
   97:         beginning of scope.
   98:         (make_tail): Clear undefined byte.
   99:         (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
  100:         to const.
  101:         (make_one): Change jmp_bytes to const.  Make idata$6 member size
  102:         arithmetic explicit and add comment.
  103: 
  104: 2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>
  105: 
  106:         PR ld/3111
  107:         * ld.h (args_type): Remove reduce_memory_overheads.
  108: 
  109:         * ldlang.c (lang_map): Updated.
  110:         (section_already_linked): Likewise.
  111:         (print_input_section): Likewise.
  112:         * ldmain.c (main): Likewise.
  113:         * lexsup.c (parse_args): Likewise.
  114: 
  115: 2006-10-29  Pedro Alves  <pedro_alves@portugalmail.pt>
  116: 
  117:         * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
  118: 
  119: 2006-10-27  Alan Modra  <amodra@bigpond.net.au>
  120: 
  121:         * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
  122:         sections have been discarded.
  123:         (lang_do_version_exports_section): Set SEC_KEEP on export section.
  124:         * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
  125:         sections.
  126: 
  127: 2006-10-26  Joseph S. Myers  <joseph@codesourcery.com>
  128:             Mark Mitchell  <mark@codesourcery.com>
  129: 
  130:         * configure.tgt (arm*linux*): Support both big- and little-endian.
  131: 
  132: 2006-10-25  H.J. Lu  <hongjiu.lu@intel.com>
  133: 
  134:         * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
  135:         (OTHER_BSS_SECTIONS): This.
  136:         * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
  137:         (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
  138: 
  139: 2006-10-25  Alan Modra  <amodra@bigpond.net.au>
  140:             Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
  141:             Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
  142:             Nobuhisa Fujinami  <fnami@rd.scei.sony.co.jp>
  143:             Takeaki Fukuoka  <fukuoka@rd.scei.sony.co.jp>
  144: 
  145:         * emulparams/elf32_spu.sh: New file.
  146:         * emultempl/spu_inc.s: New file.
  147:         * emultempl/spu_ovl.S: New file.
  148:         * emultempl/spu_ovl.o: New file.
  149:         * emultempl/spuelf.em: New file.
  150:         * Makefile.am: Add SPU support.
  151:         * configure.tgt: Likewise.
  152:         * ldlang.c (load_symbols): Make global.
  153:         * ldlang.h (load_symbols): Declare.
  154:         * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
  155:         * Makefile.in: Regenerate.
  156: 
  157: 2006-10-24  Ben Elliston  <bje@au.ibm.com>
  158: 
  159:         * lexsup.c (parse_args): Add a comment noting a fall-through.
  160: 
  161: 2006-10-24  H.J. Lu  <hongjiu.lu@intel.com>
  162: 
  163:         * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
  164:         * configure: Regenerated.
  165:         * config.in: Likewise.
  166: 
  167: 2006-10-23  Alan Modra  <amodra@bigpond.net.au>
  168: 
  169:         * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
  170:         set section address on a relocatable link.
  171: 
  172:         * ld.texinfo (Output Section Discarding): Fix xref.
  173: 
  174: 2006-10-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
  175: 
  176:         * emulparams/shelf32.sh: Set default stack to 0x80000.
  177:         * emulparams/shelf64.sh: Likewise.
  178: 
  179: 2006-10-20  Richard Sandiford  <richard@codesourcery.com>
  180: 
  181:         * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
  182:         * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
  183: 
  184: 2006-10-19  Alan Modra  <amodra@bigpond.net.au>
  185: 
  186:         * emultempl/armelf.em (arm_elf_before_allocation): Run
  187:         gld${EMULATION_NAME}_before_allocation later.
  188:         * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
  189: 
  190: 2006-10-18  Roy Marples  <uberlord@gentoo.org>
  191: 
  192:         * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
  193:         elf64-sparc-freebsd.
  194: 
  195: 2006-10-18  Joseph Myers  <joseph@codesourcery.com>
  196: 
  197:         * configure.tgt (i[3-7]86-*-linux-*): Also define
  198:         targ_extra_libpath in want64 case.
  199:         * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
  200:         x86_64*-linux*.
  201: 
  202: 2006-10-17  Alan Modra  <amodra@bigpond.net.au>
  203: 
  204:         * scripttempl/elf.sc (INTERP): Delete.  Move definition to..
  205:         (INITIAL_READONLY_SECTIONS): ..here.
  206:         * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
  207:         * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
  208:         * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
  209: 
  210: 2006-10-17  Alan Modra  <amodra@bigpond.net.au>
  211: 
  212:         * ldlang.c (strip_excluded_output_sections): Do strip sections
  213:         that define syms, but don't ignore them.
  214:         * ld.texinfo (Output Section Discarding): Revise.
  215:         * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
  216:         finish_default.
  217: 
  218: 2006-10-16  Richard Sandiford  <richard@codesourcery.com>
  219: 
  220:         * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
  221:         (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
  222:         * Makefile.in: Regenerate.
  223:         * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
  224:         .reginfo rather than .MIPS.options.
  225:         * emulparams/elf64bmip-defs.sh: New file.
  226:         * emulparams/elf64bmip.sh: Include it.
  227:         (COMMONPAGESIZE): Delete.
  228:         * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
  229: 
  230: 2006-10-12  Bob Wilson  <bob.wilson@acm.org>
  231: 
  232:         * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
  233:         for linkonce XCC exception tables (".e" and ".h").
  234: 
  235: 2006-10-11  Bob Wilson  <bob.wilson@acm.org>
  236: 
  237:         * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
  238:         (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
  239:         (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
  240:         (OTHER_SDATA_SECTIONS): New.
  241:         * scripttempl/elfxtensa.sc: Import changes from elf.sc.
  242: 
  243: 2006-10-11  Jakub Jelinek  <jakub@redhat.com>
  244: 
  245:         * ldlang.c (lang_append_dynamic_list): When appending, add all elements
  246:         of the dynamic list rather than just the first entry.
  247: 
  248: 2006-10-10  Bob Wilson  <bob.wilson@acm.org>
  249: 
  250:         * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
  251: 
  252: 2006-10-06  Mike Frysinger  <vapier@gentoo.org>
  253: 
  254:         * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
  255: 
  256: 2006-10-04  Bob Wilson  <bob.wilson@acm.org>
  257: 
  258:         * emulparams/xtensa-config.sh: Delete file.
  259:         * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
  260:         xtensa-config.sh.
  261:         * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
  262:         * Makefile.in: Regenerate.
  263: 
  264: 2006-10-03  Pedro Alves  <pedro_alves@portugalmail.pt>
  265: 
  266:         * pe-dll.c : Fix typo.
  267:         (autofilter_symbolprefixlist) : Remove __imp_.
  268:         (is_import) : New.
  269:         (auto-export) : Remove  re-import check. Moved to callers.
  270:         (process_def_file) : Check is symbol is an import. Always
  271:         underscore __imp_.
  272:         Only skip underscore on underscored targets.
  273:         (make_one) : Always underscore __imp_.
  274:         (pe_create_runtime_relocator_reference) : Only underscore
  275:         _pei386_runtime_relocator on underscored targets.
  276:         (pe_process_import_defs) : Always underscore __imp_.
  277:         * pe.em (U) : New macro.
  278:         (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
  279:         on wince subsystem case.
  280:         (pe_find_data_imports) : Use U on "_head_".
  281:         (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
  282: 
  283: 2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
  284: 
  285:         PR ld/3223
  286:         PR ld/3267
  287:         * ld.texinfo: Updated Output Section Discarding.
  288: 
  289:         * ldlang.h (lang_output_section_statement_type): Add
  290:         section_relative_symbol.
  291:         * ldlang.c (strip_excluded_output_sections): Don't strip a
  292:         section with a symbol relative to it.
  293:         (lang_size_sections_1): Mark if an output section has a symbol
  294:         symbol relative to it.
  295: 
  296: 2006-09-25  Bob Wilson  <bob.wilson@acm.org>
  297: 
  298:         * ld.texinfo (Options): Update description of local symbols for -X.
  299: 
  300: 2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>
  301: 
  302:         PR ld/3249
  303:         * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
  304:         and .gnu.linkonce.wi.* sections with .data and .debug_info for
  305:         relocatable link.
  306: 
  307: 2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
  308: 
  309:         * configure.in: Add new target x86_64-pc-mingw64.
  310:         * configure: Regenerate.
  311:         * configure.tgt: Add definition of target emulation i386pep.
  312:         * Makefile.am: Add new target files for target-all.
  313:         * Makefile.in: Regenerate.
  314:         * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
  315:         Fix memory out of bounds excess for idata relocation section data.
  316:         * pep-dll.c: Add target specific shared object handling.
  317:         * pep-dll.h: Add target specific definitions for shared object handling.
  318:         * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
  319:         * emultempl/pep.em: Add new emulation file for target x86_64 coff.
  320:         * po/POTFILES.in: Regenerate.
  321:         * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
  322:         * NEWS: Mention new target.
  323: 
  324: 2006-09-18  Thiemo Seufer  <ths@networkno.de>
  325: 
  326:         * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
  327:         configurations.
  328: 
  329: 2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
  330: 
  331:         * emulparams/scoreelf.sh: New file.
  332:         * emultempl/scoreelf.em: New file.
  333:         * Makefile.am: Add Score files.
  334:         * Makefile.in: Regenerate.
  335:         * configure.tgt: Add Score target.
  336:         * NEWS: Mention new target support.
  337: 
  338: 2006-09-16  Nick Clifton  <nickc@redhat.com>
  339:             Pedro Alves  <pedro_alves@portugalmail.pt>
  340: 
  341:         * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
  342:         macros defined in bfd.h.
  343:         * ldmain.c: Likewise.
  344:         * ldwrite.c: Likewise.
  345:         * lexsup.c: Likewise.
  346:         * pe-dll.c: Likewise.
  347:         * emultempl/aix.em: Likewise.
  348:         * emultempl/beos.em: Likewise.
  349:         * emultempl/elf32.em: Likewise.
  350:         * emultempl/pe.em: Likewise.
  351:         * emultempl/sunos.em: Likewise.
  352:         * emultempl/xtensaelf.em: Likewise.
  353: 
  354: 2006-09-15  Nick Clifton  <nickc@redhat.com>
  355: 
  356:         PR ld/3107
  357:         * ldlang.c (lang_size_sections_1): Do not abort when encountering
  358:         a non-empty section that is ignored.  Instead produce a warning
  359:         message.
  360: 
  361: 2006-09-08  H.J. Lu  <hongjiu.lu@intel.com>
  362: 
  363:         * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
  364: 
  365: 2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
  366: 
  367:         * Makefile.am (CXX): Set to g++.
  368:         (CXX_FOR_TARGET): Likewise.
  369:         * Makefile.in: Regenerated.
  370: 
  371:         * NEWS: Mention --dynamic-list.
  372: 
  373:         * ld.texinfo: Document --dynamic-list.
  374: 
  375:         * ldgram.y: Support dynamic list.
  376: 
  377:         * ldlang.c (lang_process): Call lang_finalize_version_expr_head
  378:         on link_info.dynamic if needed.
  379:         (lang_append_dynamic_list): New.
  380:         (lang_append_dynamic_list_cpp_typeinfo): New.
  381:         * ldlang.h (lang_append_dynamic_list): Likewise.
  382:         * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
  383: 
  384:         * ldlex.h (input_enum): Add input_dynamic_list.
  385:         * ldlex.l: Handle it.
  386: 
  387:         * ldmain.c (main): Initialize link_info.dynamic.
  388: 
  389:         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
  390:         OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
  391:         (ld_options): Add entries for OPTION_DYNAMIC_LIST and
  392:         OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
  393:         (parse_args): Handle OPTION_DYNAMIC_LIST and
  394:         OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
  395: 
  396: 2006-09-07  Joel Sherrill <joel.sherrill@oarcorp.com>
  397: 
  398:         * emulparams/h8300elf.sh: _tinydata should not be placed in
  399:         relocatables.
  400:         * emulparams/h8300.sh: Likewise.
  401:         * emulparams/h8300sxelf.sh: Likewise.
  402: 
  403: 2006-09-05  H.J. Lu  <hongjiu.lu@intel.com>
  404: 
  405:         PR ld/3015
  406:         * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
  407:         is defined.
  408: 
  409: 2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
  410: 
  411:         * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
  412: 
  413: 2006-08-28  Alan Modra  <amodra@bigpond.net.au>
  414: 
  415:         * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
  416:         not match random object files in a path containing "crtbegin" or
  417:         "crtend" as part of a directory name.
  418:         * scripttempl/armbpabi.sc: Likewise.
  419:         * scripttempl/crisaout.sc: Likewise.
  420:         * scripttempl/elf32crx.sc: Likewise.
  421:         * scripttempl/elf32sh-symbian.sc: Likewise.
  422:         * scripttempl/elf_chaos.sc: Likewise.
  423:         * scripttempl/elfd10v.sc: Likewise.
  424:         * scripttempl/elfd30v.sc: Likewise.
  425:         * scripttempl/elfxtensa.sc: Likewise.
  426:         * scripttempl/iq2000.sc: Likewise.
  427:         * scripttempl/mmo.sc: Likewise.
  428:         * scripttempl/xstormy16.sc: Likewise.
  429: 
  430: 2006-08-24  Bob Wilson  <bob.wilson@acm.org>
  431: 
  432:         * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
  433:         * scripttempl/elfxtensa.sc (.text): Add .literal.*.
  434: 
  435: 2006-08-24  Pedro Alves  <pedro_alves@portugalmail.pt>
  436: 
  437:         * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
  438:         Adjust the current address of DEFAULT_MEMORY_REGION even
  439:         when dot hasn't changed.
  440: 
  441: 2006-08-23  Alan Modra  <amodra@bigpond.net.au>
  442: 
  443:         * ldexp.c (fold_name <LOADADDR>): Return an absolute value
  444:         rather than a section relative value.
  445: 
  446: 2006-08-22  Alan Modra  <amodra@bigpond.net.au>
  447: 
  448:         * NEWS: Mention LMA default change.
  449:         * ld.texinfo (Output Section LMA): Update default description.
  450:         (Location Counter): Clarify backward movement.
  451:         * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
  452:         default lma equal to vma.  Warn on backward movement of dot.
  453: 
  454: 2006-08-22  Pedro Alves  <pedro_alves@portugalmail.pt>
  455: 
  456:         * configure.tgt: Set targ_emul to arm_wince_pe for ARM
  457:         Windows CE targets.
  458: 
  459: 2006-08-22  Pedro Alves  <pedro_alves@portugalmail.pt>
  460: 
  461:         * Makefile.am: Split arm-wince into its own emulation.
  462:         * Makefile.in: Regenerate.
  463:         * pe-dll.c : Define PE_ARCH_arm_wince.
  464:         (pe_detail_list): Add PE_ARCH_arm_wince case.
  465:         (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
  466:         * emulparams/arm_wince_pe.sh: New file.
  467:         * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
  468:         Remap bfd_arm_allocate_interworking_sections,
  469:         bfd_arm_get_bfd_for_interworking and
  470:         bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
  471:         targets too.
  472:         (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
  473:         arm-epoc bfd format names.
  474: 
  475: 2006-08-18  Paul Brook  <paul@codesourcery.com>
  476: 
  477:         * emultempl/armelf.em (arm_elf_before_allocation): Call
  478:         gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
  479: 
  480: 2006-08-17  Pedro Alves  <pedro_alves@portugalmail.pt>
  481: 
  482:         * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
  483:         (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
  484:         and to not skipping .idata* sections.
  485: 
  486: 2006-08-16  Alan Modra  <amodra@bigpond.net.au>
  487: 
  488:         PR 3052
  489:         * ldlang.h (lang_output_section_statement_type): Replace
  490:         "processed" field with "processed_vma" and "processed_lma".
  491:         * ldlang.c (lang_do_assignments_1): Move lma setting code..
  492:         (lang_size_sections_1): ..to here.
  493:         (lang_reset_memory_regions): Adjust for
  494:         lang_output_section_statement_type change.
  495:         * ldexp.c (fold_name): Likewise.
  496: 
  497: 2006-08-08  Peter S. Mazinger  <ps.m@gmx.net>
  498: 
  499:         * emulparams/armelf.sh (MAXPAGESIZE): Changed to
  500:         "CONSTANT (MAXPAGESIZE)".
  501: 
  502: 2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
  503: 
  504:         PR ld/3006
  505:         * ldlang.c (lang_section_bst_type): Moved to ...
  506:         * ldlang.h: Here.
  507: 
  508:         * ldlang.h (lang_wild_statement_struct): Add a tree field.
  509: 
  510:         * ldlang.c (wild_sort_fast): Use the tree field for BST.
  511:         (wild): Likeise.
  512:         (analyze_walk_wild_section_handler): Initialize the tree field.
  513: 
  514: 2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
  515: 
  516:         PR ld/3009
  517:         * ldlang.c (update_wild_statements): Update the whole wild
  518:         section list.
  519: 
  520: 2006-08-04  Nick Clifton  <nickc@redhat.com>
  521:             Mike Frysinger  <michael.frysinger@analog.com>
  522: 
  523:         * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
  524:         (__preinit_array_start, __preinit_array_end, __init_array_start,
  525:         __init_array_end, __fini_array_start, __fini_array_end, edata, end):
  526:         Use ${USER_LABEL_PREFIX}.
  527:         * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
  528:         (USER_LABEL_PREFIX): Set.
  529: 
  530: 2006-08-04  Marcelo Tosatti  <marcelo@kvack.org>
  531: 
  532:         * ldmain.c (main): Initialise print_gc_sections field of link_info
  533:         structure.
  534:         * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
  535:         switches.
  536:         * ld.texinfo: Document new switches.
  537:         * NEWS: Mention new switches.
  538: 
  539: 2006-08-04  Richard Sandiford  <richard@codesourcery.com>
  540:             Kazu Hirata  <kazu@codesourcery.com>
  541:             Phil Edwards  <phil@codesourcery.com>
  542: 
  543:         * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
  544:         eshlelf_vxworks.o.
  545:         (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
  546:         * Makefile.in: Regenerate.
  547:         * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
  548:         shlelf_vxworks.
  549:         * emulparams/shelf_vxworks.sh: New file.
  550:         * emulparams/shlelf_vxworks.sh: Likewise.
  551:         * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
  552:         (OTHER_END_SYMBOLS): Likewise _ehdr.
  553:         (DATA_END_SYMBOLS): Likewise _edata.
  554:         * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
  555:         is indeed an ELF file before dealing with --force-dynamic.
  556: 
  557: 2006-08-02  Petr Salinger  <Petr.Salinger@seznam.cz>
  558: 
  559:         PR binutils/2983
  560:         * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
  561:         elf64-x86-64-freebsd.
  562: 
  563: 2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>
  564: 
  565:         * ldlang.c (init_os): Add flags. Replace bfd_make_section with
  566:         bfd_make_section_with_flags.
  567:         (exp_init_os): Updated.
  568:         (lang_add_section): Call init_os with flags.
  569:         (map_input_to_output_sections): Likewise.
  570: 
  571: 2006-07-29  Richard Sandiford  <richard@codesourcery.com>
  572: 
  573:         * Makefile.am (eelf32b4300.c): Update dependencies.
  574:         (eelf32bmip.c): Likewise.
  575:         (eelf32bsmip.c): Likewise.
  576:         (eelf32btsmip.c): Likewise.
  577:         (eelf32btsmipn32.c): Likewise.
  578:         (eelf32ltsmip.c): Likewise.
  579:         (eelf32ltsmipn32.c): Likewise.
  580:         (eelf32ebmip.c): Likewise.
  581:         (eelf32ebmipvxworks.c): Likewise.
  582:         (eelf32elmip.c): Likewise.
  583:         (eelf32elmipvxworks.c): Likewise.
  584:         (eelf32bmipn32.c): Likewise.
  585:         (eelf32lmip.c): Likewise.
  586:         (eelf32mipswindiss.c): Likewise.
  587:         (eelf32lsmip.c): Likewise.
  588:         (eelf64bmip.c): Likewise.
  589:         (eelf64btsmip.c): Likewise.
  590:         (eelf64ltsmip.c): Likewise.
  591:         (emipsbig.c): Likewise.  Canonicalize ${GENSCRIPTS} line.
  592:         (emipsbsd.c): Likewise.
  593:         (emipsidt.c): Update dependencies.
  594:         (emipsidtl.c): Likewise.
  595:         (emipslit.c): Likewise.
  596:         (emipslnews.c): Likewise.
  597:         (emipspe.c): Likewise.  Fix ${GENSCRIPTS} invocation.
  598:         * Makefile.in: Regenerate.
  599:         * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
  600:         * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
  601:         * emultempl/irix.em: Include emultempl/mipself.em.
  602:         * emultempl/mipself.em: New file.
  603: 
  604: 2006-07-26  Alan Modra  <amodra@bigpond.net.au>
  605: 
  606:         * emultempl/elf-generic.em (map_segments): Reorganise loop so that
  607:         layout happens before segment map.  Don't do segment map on
  608:         relocatable link.
  609: 
  610: 2006-07-26  Alan Modra  <amodra@bigpond.net.au>
  611: 
  612:         * ldexp.c (fold_name <LOADADDR>): Use the lma.
  613:         * ldlang.h (lang_memory_region_type): Delete old_length.  Add
  614:         last_os.
  615:         * ldlang.c (lang_memory_region_lookup): Init new field.
  616:         (lang_reset_memory_regions): Reset new field.
  617:         (lang_insert_orphan): Don't set load_base.
  618:         (lang_leave_overlay): Likewise.
  619:         (lang_size_sections_1): Delete unnecessary code setting lma_region
  620:         to region.  Correct lma region check.
  621:         (lang_do_assignments_1): Rename output_section_statement parm
  622:         to current_os.  Set lma from previous section in region.
  623: 
  624:         * ldlang.c: Formatting.
  625: 
  626: 2006-07-25  Bob Wilson  <bob.wilson@acm.org>
  627: 
  628:         * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
  629:         Set discarded section's output_section to bfd_abs_section_ptr.
  630: 
  631: 2006-07-26  Alan Modra  <amodra@bigpond.net.au>
  632: 
  633:         * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
  634:         earlier.
  635: 
  636: 2006-07-24  Bob Wilson  <bob.wilson@acm.org>
  637: 
  638:         * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
  639:         in dep_sec_name for null terminator.  Make sure dep_sec_name has a
  640:         ".t" linkonce tag.
  641: 
  642: 2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
  643: 
  644:         * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
  645:         Set for *-*-solaris2*.
  646: 
  647: 2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
  648: 
  649:         * ld.texinfo: Fix spelling mistakes.
  650:         * ldint.texinfo: Likewise.
  651: 
  652: 2006-07-23  Sonal Santan  <sonal.santan@xilinx.com>
  653: 
  654:         * ldlang.c (lang_section_bst): New structure for sorting sections
  655:         by name.
  656:         (wild_sort_fast): New function: Insert a section into a binary
  657:         search tree.
  658:         (output_section_callback_fast): New function: Store a section in
  659:         BST.
  660:         (output_section_callback_tree_to_list): New function: Convert a
  661:         BST into a list.
  662:         (analyze_walk_wild_section_handler): Initialize handler_data
  663:         elements.
  664:         (wild): If the data is sorted by name use the BST method to sort
  665:         the names.
  666: 
  667: 2006-07-19  Alan Modra  <amodra@bigpond.net.au>
  668: 
  669:         * ld.h (handle_asneeded_cref): Declare.
  670:         * ldcref.c: Include objalloc.h.
  671:         (old_table, old_count, old_tab, alloc_mark): New variables.
  672:         (tabsize, entsize, refsize, old_symcount): Likewise.
  673:         (add_cref): Use bfd_hash_allocate for refs.
  674:         (handle_asneeded_cref): New function.
  675:         * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
  676: 
  677: 2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
  678: 
  679:         * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
  680:         typo setting targ_extra_libpath.
  681: 
  682: 2006-07-10  Jakub Jelinek  <jakub@redhat.com>
  683: 
  684:         * scripttempl/elf.sc: Add .gnu.hash section.
  685:         * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
  686:         (gld${EMULATION_NAME}_add_options): Register --hash-style option.
  687:         (gld${EMULATION_NAME}_handle_option): Handle it.
  688:         (gld${EMULATION_NAME}_list_options): Document it.
  689:         * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
  690:         * ld.texinfo: Document --hash-style option.
  691: 
  692: 2006-07-10  Nick Clifton  <nickc@redhat.com>
  693: 
  694:         * po/zh_TW.po: New Chinese (traditional) translation.
  695:         * configure.in (ALL_LINGUAS): Add zh_TW.
  696:         * configure: Regenerate.
  697: 
  698: 2006-07-07  Nick Clifton  <nickc@redhat.com>
  699: 
  700:         PR ld/2874
  701:         * ld.texinfo: Remove "Using LD" from the title since it is
  702:         redundant.
  703: 
  704: 2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
  705: 
  706:         PR ld/2877
  707:         * ld.texinfo: Fix spelling mistakes.
  708: 
  709: 2006-06-27  Pedro Alves  <pedro_alves@portugalmail.pt>
  710:             Nick Clifton  <nickc@redhat.com>
  711: 
  712:         * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
  713:         length of format strings in the libname_fmt[] array, rather than
  714:         relying upon a statically chosen value.  Adjust xmalloc call to
  715:         use this longest length.
  716: 
  717: 2006-06-27  Nick Clifton  <nickc@redhat.com>
  718: 
  719:         * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
  720:         -rpath-link.
  721: 
  722: 2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
  723: 
  724:         * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
  725:         targ_extra_libpath.
  726: 
  727: 2006-06-23  Pedro Alves <pedro_alves@portugalmail.pt>
  728: 
  729:         * pe-dll.c (pe_details_type): Add new pointer for symbols list
  730:         autofilter.
  731:         (autofilter_symbollist): Split into autofilter_symbollist_generic
  732:         and autofilter_symbollist_i386.
  733:         (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
  734:         autofilter_symbollist_generic for all the others.
  735:         (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
  736:         cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
  737:         into autofilter_symbollist_i386.
  738:         (auto_export): Get autofilter_symbollist from pe_details.
  739: 
  740: 2006-06-22  Nick Clifton  <nickc@redhat.com>
  741: 
  742:         PR ld/2757