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

binutils/2.18/ld/ChangeLog-2004

    1: 2004-12-28  Danny Smith  <dannysmith@users.sourceforge.net>
    2: 
    3:         * emultempl/pe.em (set_pe_subsystem): Change second arg to
    4:         lang_add_entry to FALSE.
    5: 
    6: 2004-12-23  Nick Clifton  <nickc@redhat.com>
    7: 
    8:         PR 600
    9:         * emulparams/shelf.sh (.stack): Increase stack start address to
   10:         0x300000.
   11: 
   12: 2004-12-20  Nick Clifton  <nickc@redhat.com>
   13: 
   14:         * ldmain.c (main): Issue an error message if -static and -shared
   15:         are used together.
   16: 
   17: 2004-12-17  Jakub Jelinek  <jakub@redhat.com>
   18: 
   19:         * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
   20:         * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
   21:         * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
   22:         address space at DATA_SEGMENT_ALIGN.  Fix computation of expected
   23:         PT_GNU_RELRO segment end.
   24: 
   25: 2004-12-14  P.J. Darcy  <darcypj@us.ibm.com>
   26: 
   27:         * configure.tgt: Add s390x-ibm-tpf support.
   28: 
   29: 2004-12-16  Martin Kögler  <mkoegler@auto.tuwien.ac.at>
   30: 
   31:         * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
   32:         BFD.
   33: 
   34: 2004-12-07  Ben Elliston  <bje@gnu.org>
   35: 
   36:         * ldemul.h: Forward declare struct option.
   37: 
   38: 2004-12-01  Danny Smith  <dannysmith@users.sourceforge.net>
   39: 
   40:         * scripttempl/pe.sc (.data): Add .jcr subsection.
   41: 
   42: 2004-11-30  Paul Brook  <paul@codesourcery.com>
   43: 
   44:         * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
   45: 
   46: 2004-11-30  Tero Niemela  <tero_niemela@yahoo.com>
   47: 
   48:         * Makefile.am: Change LOCALEDIR to $(datadir)/share.
   49:         * Makefile.in: Regenerate.
   50: 
   51: 2004-11-26  Melissa Mears  <asterisk@graces.dricas.com>
   52: 
   53:         * emultempl/pe.em: Add --subsystem:xbox as well as
   54:         --subsystem:%d.
   55:         * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
   56:         and numeric subsystems.
   57: 
   58: 2004-11-24  Alan Modra  <amodra@bigpond.net.au>
   59: 
   60:         * ldexp.c (fold_name): Correct PR 338 fix.
   61: 
   62: 2004-11-19  Mark Mitchell  <mark@codesourcery.com>
   63: 
   64:         * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
   65:         (earmelf_linux_eabi.c): New target.
   66:         * configure.tgt (arm*-*-linux-gnueabi): Handle it.
   67:         * emulparams/armelf_linux_eabi.sh: New file.
   68:         * Makefile.in: Regenerated.
   69: 
   70: 2004-11-19  Nick Clifton  <nickc@redhat.com>
   71: 
   72:         PR 518
   73:         * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
   74:         LENGTH fields in the MEMORY command, to explicitly state that
   75:         symbols cannot be used in their expressions.
   76: 
   77: 2004-11-19  Jon Beniston <jon@beniston.com>
   78: 
   79:         * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
   80:         * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
   81:         * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
   82:         which return the length and origin of a memory.
   83:         * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
   84:         * NEWS: Mention support for ORIGIN and LENGTH operators.
   85: 
   86: 2004-11-17  Daniel Jacobowitz  <dan@codesourcery.com>
   87: 
   88:         * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
   89:         a dynamic object for stubs.
   90: 
   91: 2004-11-04  Paul Brook  <paul@codesourcery.com>
   92: 
   93:         * ld.texinfo: Document --default-imported-symver.
   94:         * ldmain.c (main): Set link_info.default_imported_symver.
   95:         * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
   96:         (ld_options): Add --default-imported-symver.
   97:         (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
   98: 
   99: 2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
  100:             Vineet Sharma      <vineets@noida.hcltech.com>
  101: 
  102:         * Makefile.am: Add entries for new maxq-coff target.
  103:         * Makefile.in: Regenerate.
  104:         * configure.tgt: Add support for maxq.
  105:         * emulparams/maxqcoff.sh: New File.
  106:         * scripttempl/maxqcoff.sc: New linker script for target maxq.
  107:         * NEWS: Mention the new target.
  108: 
  109: 2004-11-04  Daniel Jacobowitz  <dan@debian.org>
  110: 
  111:         * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
  112:         (earmelf_oabi.c): Remove rule.
  113:         * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
  114:         * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
  115:         * Makefile.in: Regenerated.
  116: 
  117: 2004-11-04  Hans-Peter Nilsson  <hp@axis.com>
  118: 
  119:         * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
  120:         * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
  121:         (FINI_START): Ditto.
  122:         (INIT_END): Remove emitted "jump [sp+]".
  123:         (FINI_END): Ditto.
  124: 
  125: 2004-11-04  Alan Modra  <amodra@bigpond.net.au>
  126: 
  127:         * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
  128:         (no_opd_opt, no_toc_opt): New static vars.
  129:         (ppc_before_allocation): Don't edit opt if no_opd_opt.  Call
  130:         ppc64_elf_edit_toc.
  131:         (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
  132:         (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
  133:         (PARSE_AND_LIST_OPTIONS): Describe new options.
  134:         (PARSE_AND_LIST_ARGS_CASES): Handle them.
  135: 
  136: 2004-10-27  Nick Clifton  <nickc@redhat.com>
  137: 
  138:         * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
  139:         parameter to invocation of lang_section_start.
  140:         * emultempl/aix.em (_handle_option): Likewise.
  141: 
  142:         * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
  143:         eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
  144:         * Makefile.in: Regenerate.
  145: 
  146: 2004-10-26  Mark Mitchell  <mark@codesourcery.com>
  147: 
  148:         * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
  149:         __exidx_{start,end} when not relocating.
  150: 
  151: 2004-10-25  Mark Mitchell  <mark@codesourcery.com>
  152: 
  153:         * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
  154:         * ldexp.h (segment_type): New type.
  155:         (segments): New variable.
  156:         * ldexp.c (segments): New variable.
  157:         (exp_print_token): Handle SEGMENT_START.
  158:         (fold_binary): Likewise.
  159:         * ldgram.y (SEGMENT_START): Declare it as a token.
  160:         (exp): Handle SEGMENT_START.
  161:         * ldlang.h (lang_address_statement_type): Add segment field.
  162:         (lang_section_start): Change prototype.
  163:         * ldlang.c (map_input_to_output_sections): Do not process section
  164:         assignments if a corresponding SEGMENT_START has already been
  165:         seen.
  166:         (lang_section_start): Add segment parameter.
  167:         * ldlex.l (SEGMENT_START): Add it.
  168:         * lexsup.c (seg_segment_start): New function.
  169:         (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
  170:         * ld.texinfo (SEGMENT_START): Document it.
  171:         * emulparams/armsymbian.sh (EMBEDDED): Set it.
  172:         * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
  173:         base addresses.  Do not map relocations.
  174:         * NEWS: Mention SEGMENT_START.
  175: 
  176: 2004-10-26  Paul Brook  <paul@codesourcery.com>
  177: 
  178:         * ld.texinfo: Document --default-symver.
  179:         * ldmain.c (main): Set link_info.create_default_symver.
  180:         * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
  181:         (ld_options): Add default-symver.
  182:         (parse_args): Handle OPTION_DEFAULT_SYMVER.
  183: 
  184: 2004-10-24 Danny Smith  <dannysmith@users.sourceforge.net>
  185: 
  186:         * pe-dll.c (process_def_file): Don't export all symbols by default if
  187:         building a position-independent executable.
  188: 
  189: 2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
  190: 
  191:         PR 463
  192:         * ldmain.c (reloc_overflow): Accept a pointer to struct
  193:         bfd_link_hash_entry. Report symbol location for relocation
  194:         overflow.
  195: 
  196: 2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
  197: 
  198:         * genscripts.sh (libpath.exp): Really generate for first
  199:         emulation only.
  200: 
  201: 2004-10-19  Danny Smith  <dannysmith@users.sourceforge.net>
  202: 
  203:         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
  204:         comparison and replacement of filenames.
  205: 
  206: 2004-10-19  H.J. Lu  <hongjiu.lu@intel.com>
  207: 
  208:         PR 459
  209:         * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
  210:         option on linker script as the one for linker script.
  211: 
  212: 2004-10-16  Daniel Jacobowitz  <dan@debian.org>
  213: 
  214:         * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
  215:         (check_excluded_libs): New.
  216:         (load_symbols): Call check_excluded_libs.
  217:         * ldlang.h (add_excluded_libs): New prototype.
  218:         * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
  219:         (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
  220:         (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
  221:         * ld.texinfo (Command Line Variables): Document --exclude-libs.
  222:         (Options Specific to i386 PE Targets): Remove --exclude-libs.
  223: 
  224: 2004-10-15  Alan Modra  <amodra@bigpond.net.au>
  225: 
  226:         * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
  227:         failing link script assert.
  228: 
  229:         * ldctor.c (ldctor_add_set_entry): Fix comment typo.
  230: 
  231: 2004-10-14  H.J. Lu  <hongjiu.lu@intel.com>
  232: 
  233:         PR 445
  234:         * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
  235:         (SMALL_DATA_DTOR): Set.
  236:         * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
  237:         (SMALL_DATA_DTOR): Unset.
  238:         * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
  239:         after .data. If SMALL_DATA_DTOR is set, move .dtors after
  240:         .data.
  241: 
  242: 2004-10-14  Alan Modra  <amodra@bigpond.net.au>
  243: 
  244:         PR 63
  245:         * ldlang.h (lang_output_section_statement_type): Make "next" a
  246:         struct lang_output_section_statement_struct *.
  247:         (struct orphan_save): Move from elf32.em.  Add "name" and "flags".
  248:         (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
  249:         * ldlang.c (lang_output_section_find_1): Adjust for changed
  250:         output_section_statement "next".
  251:         (strip_excluded_output_sections): Likewise.
  252:         (lang_record_phdrs): Likewise.
  253:         (lang_output_section_find_by_flags): New function.
  254:         (output_prev_sec_find): Move from pe.em.  Adjust iterator.
  255:         (lang_insert_orphan): New function.  Tail end of elf32.em's
  256:         place_orphan merged with that from pe.em.  Allow bfd_section to
  257:         be placed first.  New heuristic for placing new output section
  258:         statement in existing script, and accompanying split of __start
  259:         symbol alignment into a separate assignment to dot.
  260:         (lang_add_section): Consistently use output->bfd_section rather than
  261:         an alias, section->output_section.
  262:         (map_input_to_output_sections): Rename overly long arg.  Move
  263:         initialization of data_statement output section to here..
  264:         (lang_check_section_addresses): ..from here.
  265:         (print_assignment): Correct printing of etree_assert.
  266:         (print_all_symbols): Don't bomb if userdata is NULL.
  267:         (IGNORE_SECTION): Rearrange.
  268:         * emultempl/elf32.em (output_rel_find): Adjust interator.
  269:         (output_prev_sec_find): Delete.
  270:         (struct orphan_save): Delete.
  271:         (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
  272:         flags without creating a duplicate output section statement.
  273:         Revise code holding history of various orphan section placements.
  274:         Allow orphan sections to place before script specified output
  275:         sections.  Call lang_output_section_find_by_flags when placement
  276:         by name fails.  Use lang_insert_orphan.
  277:         * emultempl/mmo.em (output_prev_sec_find): Delete.
  278:         (struct orphan_save): Delete.
  279:         (mmo_place_orphan): Revise code holding history of orphan placement.
  280:         Allow orphans to place before existing output sections.  Use
  281:         lang_insert_orphan.
  282:         * emultempl/pe.em (output_prev_sec_find): Delete.
  283:         (struct orphan_save): Delete.
  284:         (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
  285:         lang_insert_orphan.
  286: 
  287: 2004-10-13  Mark Mitchell  <mark@codesourcery.com>
  288: 
  289:         * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
  290:         loadable segment.
  291: 
  292: 2004-10-13  Alan Modra  <amodra@bigpond.net.au>
  293: 
  294:         PR 44
  295:         * ldcref.c (check_section_sym_xref): Delete.
  296:         (check_local_sym_xref): New function.
  297:         (check_nocrossrefs): Adjust call.
  298:         * emultempl/pe.em (struct orphan_save): Add os_tail.
  299:         (place_orphan): Backport assorted fixes from elf32.em.
  300: 
  301: 2004-10-12  Bob Wilson  <bob.wilson@acm.org>
  302: 
  303:         * emultempl/xtensaelf.em: Use ISO C90 formatting.
  304: 
  305: 2004-10-11  Jakub Jelinek  <jakub@redhat.com>
  306: 
  307:         * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
  308:         getline for portability.
  309: 
  310:         * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
  311:         (gld${EMULATION_NAME}_parse_ld_so_conf,
  312:         gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
  313:         (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
  314: 
  315: 2004-10-11  Alan Modra  <amodra@bigpond.net.au>
  316: 
  317:         PR 423
  318:         * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
  319:         rejected when linking statically.
  320: 
  321: 2004-10-08  Daniel Jacobowitz  <dan@debian.org>
  322: 
  323:         * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
  324: 
  325: 2004-10-07  Bob Wilson  <bob.wilson@acm.org>
  326: 
  327:         * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
  328:         assembler-generated longcall sequences.  Describe new --size-opt
  329:         option.
  330:         * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
  331:         * emultempl/xtensaelf.em (remove_section,
  332:         replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
  333:         elf_xtensa_after_open): New.
  334:         (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
  335:         OPTION_NO_LITERAL_MOVEMENT): Define.
  336:         (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
  337:         (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
  338:         (PARSE_AND_LIST_OPTIONS): Add --size-opt.
  339:         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
  340:         OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
  341:         (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
  342:         * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
  343:         * Makefile.am (eelf32xtensa.c): Update dependencies.
  344:         * Makefile.in: Regenerate.
  345: 
  346: 2004-10-07  Jeff Baker  <jbaker@qnx.com>
  347: 
  348:         * lexsup.c: Handle --warn-shared-textrel option.
  349:         (ld_options): Restore alpha sorting of options.
  350:         * ldmain.c (main): Initialise warn_shared_info field to FALSE.
  351:         * ld.texinfo: Add documentation for --warn-shared-textrel.
  352:         * NEWS: Added mention of --warn-shared-textrel option.
  353: 
  354: 2004-10-05  Tomer Levi  <Tomer.Levi@nsc.com>
  355: 
  356:         * emultempl/crxelf.em (disable_relaxation): Add.
  357:         (crxelf_before_allocation): Enable --relax option by default.
  358:         (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
  359:         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
  360:         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
  361: 
  362: 2004-10-04  H.J. Lu  <hongjiu.lu@intel.com>
  363: 
  364:         * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
  365:         --sort-section name|alignment.
  366: 
  367:         * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
  368:         --sort-section name|alignment.
  369: 
  370:         * ld.h (sort_type): New enum.
  371:         (wildcard_spec): Change the type of `sorted' to sort_type.
  372: 
  373:         * ldgram.y (SORT): Removed.
  374:         (SORT_BY_NAME): Added.
  375:         (SORT_BY_ALIGNMENT): Added.
  376:         (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
  377:         SORT_BY_ALIGNMENT.
  378:         (input_section_spec_no_keep): Updated `sorted'.
  379:         (statement): Replace SORT with SORT_BY_NAME.
  380: 
  381:         * ldlang.c (compare_section): New function to compare 2
  382:         sections with different sorting schemes.
  383:         (wild_sort): Updated. Use compare_section.
  384:         (update_wild_statements): New function.
  385:         (lang_process): Call update_wild_statements before
  386:         map_input_to_output_sections.
  387: 
  388:         * ldlex.l (SORT_BY_NAME): New.
  389:         (SORT_BY_ALIGNMENT): New.
  390:         (SORT): Return SORT_BY_NAME.
  391: 
  392:         * ldmain.c (sort_section): New. Defined.
  393:         (main): Initialize it to none.
  394: 
  395:         * lexsup.c (option_values): Add OPTION_SORT_SECTION.
  396:         (ld_options): Add an entry for OPTION_SORT_SECTION.
  397:         (parse_args): Handle OPTION_SORT_SECTION.
  398: 
  399:         * mri.c (mri_draw_tree): Updated `sorted'.
  400: 
  401: 2004-10-04  Jakub Jelinek  <jakub@redhat.com>
  402: 
  403:         * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
  404:         * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
  405:         argument.
  406:         (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
  407:         and . as second argument.
  408:         (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
  409:         * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
  410:         (fold_binary): Add it here.  Insert padding to make relro_end
  411:         COMMONPAGESIZE bytes aligned.  For DATA_SEGMENT_ALIGN in
  412:         exp_dataseg_relro_adjust phase just use previously computed
  413:         exp_data_seg.base.
  414:         * ldlang.c (lang_size_sections): Set exp_data_seg.base for
  415:         relro_adjust here.  Call lang_size_sections_1 once more if there
  416:         was too big padding at DATA_SEGMENT_RELRO_END.
  417:         * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
  418: 
  419: 2004-10-01  Paul Brook  <paul@codesourcery.com>
  420: 
  421:         * emulparams/armelf.sh: Add unwinding table sections.
  422: 
  423: 2004-09-30  Filip Navara  <navaraf@reactos.com>
  424: 
  425:         * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
  426:         correct base address for position independant executables.
  427:         * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
  428:         executables as DLLs.
  429: 
  430: 2004-09-30  Paul Brook  <paul@codesourcery.com>
  431: 
  432:         * ld.texinfo: Document --target2=abs.
  433:         * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
  434: 
  435: 2004-09-29  Nick Clifton  <nickc@redhat.com>
  436: 
  437:         * scripttempl/xstormy16.sc: Only perform the assignments to the
  438:         ROM region when not performing a relocatable link.  The ROM region
  439:         does not start at address 0, but the sections will.
  440:         * Makefile.am: Fix linker script dependency for the generation of
  441:         eelf32xstormy16.c.
  442:         * Makefile.in: Regenerate.
  443: 
  444: 2004-09-18  Filip Navara  <navaraf@reactos.com>
  445: 
  446:         * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
  447:         emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
  448:         emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
  449:         TARGET_PAGE_SIZE.
  450:         * scripttempl/pe.sc: Make the virtual address and file offset synced if
  451:         the alignment is lower than the target page size.
  452: 
  453: 2004-09-27  Filip Navara  <navaraf@reactos.com>
  454: 
  455:         * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
  456:         def_file_parse to handle pe_def_file if NULL and prevent crash with
  457:         invalid .def files.
  458: 
  459: 2004-09-27  Alan Modra  <amodra@bigpond.net.au>
  460: 
  461:         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
  462:         --emit-stub-syms automatically when --emit-relocs.
  463: 
  464: 2004-09-24  Paul Brook  <paul@codeosurcery.com>
  465: 
  466:         * scripttempl/elf.sc: Keep .preinit_array, .init_array and
  467:         .fini_array sections.
  468: 
  469: 2004-09-19  Andreas Schwab  <schwab@suse.de>
  470: 
  471:         * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
  472:         base so that relro end is suitably aligned.
  473: 
  474: 2004-09-17  Paul Brook  <paul@codesourcery.com>
  475: 
  476:         * ld.texinfo: Rename arm-specific section.  Document --target*
  477:         * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
  478:         * emulparams/armelf_linux.sh: Ditto.
  479:         * emulparams/armelf_nbsd.sh: Ditto.
  480:         * emultempl/armelf.em: Set default for TARGET2_TYPE.
  481:         (target2_type): New variable.
  482:         (arm_elf_before_allocation): Don't pass target1_type.
  483:         (arm_elf_create_output_section_statements): New function.
  484:         (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
  485:         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
  486:         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
  487:         (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
  488:         * emultempl/armelf_oabi.em (_before_allocation): Remove extra
  489:         argument to bfd_elf32_arm_process_before_allocation.
  490: 
  491: 2004-09-17  Alan Modra  <amodra@bigpond.net.au>
  492: 
  493:         * ldexp.c (fold_name): Update u.undef.next refs.
  494:         * emultempl/pe.em: Likewise.
  495:         * emultempl/sunos.em: Likewise.
  496: 
  497: 2004-09-17  Alan Modra  <amodra@bigpond.net.au>
  498: 
  499:         * Makefile.am: Run "make dep-am".
  500:         * Makefile.in: Regenerate.
  501:         * config.in: Regenerate.
  502:         * configure: Regenerate.
  503:         * aclocal.m4: Regenerate.
  504:         * po/ld.pot: Regenerate.
  505: 
  506: 2004-09-16  Tomer Levi  <Tomer.Levi@nsc.com>
  507: 
  508:         * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
  509:         (.fini): Likewise.
  510:         (.jcr): Likewise.
  511: 
  512: 2004-09-16  Alan Modra  <amodra@bigpond.net.au>
  513: 
  514:         * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
  515:         to bfd_elf32_arm_process_before_allocation call.
  516: 
  517: 2004-09-13  Paul Brook  <paul@codesourcery.com>
  518: 
  519:         * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
  520:         * emultempl/armelf.em: Use TARGET1_IS_REL.  Add --target1-{rel,abs}.
  521: 
  522: 2004-09-07  H.J. Lu  <hongjiu.lu@intel.com>
  523: 
  524:         * configure: Regenerated with autconfig 2.13.
  525: 
  526: 2004-09-07  Andreas Schwab  <schwab@suse.de>
  527: 
  528:         * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
  529:         alignment before adjusting DATA_SEGMENT_RELRO_END.
  530: 
  531: 2004-09-06  Mark Mitchell  <mark@codesourcery.com>
  532: 
  533:         * emulparams/armsymbian.sh: Use armbpabi script.
  534:         * scripttempl/armbpabi.sc: New script.
  535: 
  536: 2004-09-02  Mark Mitchell  <mark@codesourcery.com>
  537: 
  538:         * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
  539:         (earmsymbian.c): New target.
  540:         * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
  541:         * Makefile.in: Regenerated.
  542:         * aclocal.m4: Likewise.
  543:         * configure: Likewise.
  544:         * emulparams/armsymbian.sh: New file.
  545: 
  546: 2004-09-03  Tomer Levi  <Tomer.Levi@nsc.com>
  547: 
  548:         * scripttempl/elf32crx.sc: Edit file with comments.
  549:         (.init): Add new section.
  550:         (.fini): Likewise.
  551:         (.ctor): Control the linkage order.
  552:         (.dtor): Likewise.
  553: 
  554: 2004-08-27  Nick Clifton  <nickc@redhat.com>
  555: 
  556:         * emultempl/pe.em (after_open): Do not assume that either bfd is
  557:         an archive.
  558: 
  559: 2004-08-26  Alan Modra  <amodra@bigpond.net.au>
  560: 
  561:         * ldlang.c (lang_init): Don't compare with TRUE.
  562: 
  563: 2004-08-25  Dmitry Diky  <diwil@spec.ru>
  564: 
  565:         * emulparams/msp430all.sh: Fix RAM sizes for all targets.
  566:         * scripttempl/elf32msp430.sc: Add .profiler section definition.
  567: 
  568: 2004-08-24  H.J. Lu  <hongjiu.lu@intel.com>
  569: 
  570:         * ldlang.c (wildcardp): Defined as a macro with strpbrk.
  571: 
  572: 2004-08-19  Mark Mitchell  <mark@codesourcery.com>
  573: 
  574:         * configure.tgt (arm*-*-symbianelf*): New target.
  575:         (arm*-*-eabi*): Likewise.
  576: 
  577: 2004-08-19  Jakub Jelinek  <jakub@redhat.com>
  578: 
  579:         * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
  580:         (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
  581:         (OPTION_NON_OVERLAPPING_OPD): Define.
  582:         (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
  583:         --non-overlapping-opd option.
  584: 
  585: 2004-08-18  Alan Modra  <amodra@bigpond.net.au>
  586: 
  587:         PR 338
  588:         * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
  589:         was already on the undefs list.
  590: 
  591: 2004-08-17  Alan Modra  <amodra@bigpond.net.au>
  592: 
  593:         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
  594:         prefix the symbol field too.
  595: 
  596: 2004-08-13  Alan Modra  <amodra@bigpond.net.au>
  597: 
  598:         * ldmain.c (link_callbacks): Remove "error_handler".
  599:         * ldmisc.c: Include elf-bfd.h.
  600:         (vfinfo): Sort comment.  Handle %A.  Use %A instead of
  601:         bfd_get_section_indent.
  602:         (error_handler): Delete.
  603:         * ldmisc.h (error_handler): Delete declaration.
  604: 
  605: 2004-08-10  Alan Modra  <amodra@bigpond.net.au>
  606: 
  607:         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
  608:         ppc64_elf_restore_symbols.
  609: 
  610: 2004-08-09  Alan Modra  <amodra@bigpond.net.au>
  611: 
  612:         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
  613:         .toc is too large on relocatable linking.
  614: 
  615: 2004-08-09  Alan Modra  <amodra@bigpond.net.au>
  616: 
  617:         * emultempl/ppc64elf.em (ppc_after_open): Delete.
  618:         (LDEMUL_AFTER_OPEN): Don't define.
  619: 
  620: 2004-08-02  Stephane Carrez  <stcarrez@nerim.fr>
  621: 
  622:         * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
  623: 
  624: 2004-08-01  Stephane Carrez  <stcarrez@nerim.fr>
  625: 
  626:         * scripttempl/elfm68hc12.sc: Align text, rodata and data section
  627:         on power of 2.
  628: 
  629: 2004-07-27  Jason Thorpe  <thorpej@wasabisystems.com>
  630: 
  631:         * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
  632: 
  633: 2004-07-26  Dmitry Diky  <diwil@spec.ru>
  634: 
  635:         * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
  636:         msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
  637:         msp430xG439.
  638:         * configure.tgt: Likewise.
  639:         * emulparams/msp430all.sh: Likewise.
  640:         * Makefile.in: Regenerate.
  641: 
  642: 2004-07-23  Nick Clifton  <nickc@redhat.com>
  643: 
  644:         * emultempl/elf32.em (_place_orphan): Use an already existing
  645:         section name if that section does not have any flags set.
  646: 
  647: 2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>
  648: 
  649:         * ldlang.c (already_linked_hash_entry): Removed.
  650:         (already_linked): Likewise.
  651:         (already_linked_table): Likewise.
  652:         (section_already_linked): Call bfd_section_already_linked.
  653:         (lang_process): Replace already_linked_table_init with
  654:         bfd_section_already_linked_table_init and check return. Replace
  655:         already_linked_table_free with bfd_section_already_linked_table_free.
  656: 
  657: 2004-07-21  Nick Clifton  <nickc@redhat.com>
  658: 
  659:         * ldlang.c (init_os): Make sure that the newly allocated userdata
  660:         structure is zeroed out.
  661: 
  662: 2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
  663: 
  664:         * NEWS: Mention the new --add-needed/--no-add-needed and
  665:         --as-needed/--no-as-needed options.
  666: 
  667: 2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
  668: 
  669:         * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
  670:         check the add_needed field.
  671:         (dt_needed): New struct.
  672:         (gld${EMULATION_NAME}_try_needed): Change the first argument
  673:         to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
  674:         bit in the file where the DT_NEEDED entry comes from.
  675:         (gld${EMULATION_NAME}_search_needed): Change the second
  676:         argument to a pointer to struct dt_needed.
  677:         (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
  678:         (gld${EMULATION_NAME}_after_open): Likewise.
  679: 
  680:         * ld.texinfo: Add --add-needed document.
  681:         * ldlang.c (new_afile): Set p->add_needed.
  682:         * ldlang.h (lang_input_statement_type): Add add_needed field.
  683:         * ldmain.h (add_needed): Declare.
  684:         * ldmain.c (add_needed): New global var.
  685:         * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
  686:         OPTION_NO_ADD_NEEDED.
  687:         (ld_options): Likewise.
  688:         (parse_args): Handle them.
  689: 
  690: 2004-07-13  Christof Petig  <christof@petig-baender.de>
  691: 
  692:         * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
  693:         for endian-ness of extracted addend.
  694: 
  695: 2004-07-13  Danny Smith  <dannysmith@usesr.sourceforge.net>
  696: 
  697:         * pe-dll.c (auto_export):  Filter on just the import prefix,
  698:         "_imp_", not "_imp__".
  699: 
  700: 2004-07-09  Nick Clifton  <nickc@redhat.com>
  701: 
  702:         * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
  703: 
  704: 2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>
  705: 
  706:         * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
  707:         (eelf32crx.c): New target.
  708:         * Makefile.in: Regenerate.
  709:         * configure.tgt: Handle crx-*-elf*.
  710:         * emulparams/elf32crx.sh: New file.
  711:         * emultempl/crxelf.em: New file.
  712:         * scripttempl/elf32crx.sc: New file.
  713:         * NEWS: Mention new target.
  714: 
  715: 2004-07-06  Nick Clifton  <nickc@redhat.com>
  716: 
  717:         * Makefile.am: Add eshlsymbian.c.
  718:         * Makefile.in: Regenerate.
  719:         * configure.tgt: Add sh*-symbian-elf target.
  720:         * emulparams/shlsymbian.sh: New file.  Configure the
  721:         sh-symbian-elf linker scripts.
  722:         * scripttemp/elf32sh-symbian.sc: New file.  Linker script
  723:         template for the sh-symbian-elf target.
  724: 
  725: 2004-07-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
  726: 
  727:         * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
  728:         * emulparams/hppalinux.sh: Likewise.
  729:         * scripttempl/elf.sc: Place .plt just before .got when .plt is in
  730:         data segment and PLT_BEFORE_GOT is defined.
  731: 
  732: 2004-07-03  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
  733: 
  734:         * ld.texinfo (WIN32): Document PE weak symbols.
  735: 
  736: 2004-07-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
  737: 
  738:         * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.