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

binutils/2.18/ld/ChangeLog-2005

    1: 2005-12-28  Jie Zhang  <jie.zhang@analog.com>
    2: 
    3:         * emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS.
    4:         And add a prefix '_' to ENTRY.
    5:         * scripttempl/elf.sc: Add END_SYMBOLS.
    6: 
    7: 2005-12-27  H.J. Lu  <hongjiu.lu@intel.com>
    8: 
    9:         * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete.
   10:         (LDEMUL_PLACE_ORPHAN): Delete.
   11: 
   12: 2005-12-27  Leif Ekblad  <leif@rdos.net>
   13: 
   14:         * configure.tgt: Add support for RDOS targets.
   15: 
   16: 2005-12-27  Nick Clifton  <nickc@redhat.com>
   17: 
   18:         * po/vi.po: New Vietnamese translation.
   19:         * configure.in (ALL_LINGUAS): Add vi.
   20:         * configure: Regenerate.
   21: 
   22: 2005-12-27  Alan Modra  <amodra@bigpond.net.au>
   23: 
   24:         * Makefile.am: Run "make dep-am".
   25:         * Makefile.in: Regenerate.
   26: 
   27: 2005-12-24  Alan Modra  <amodra@bigpond.net.au>
   28: 
   29:         * ldlang.h (lang_output_section_statement_type): Add prev.
   30:         * ldlang.c (output_statement_newfunc): Set os.prev.
   31:         (lang_insert_orphan): Likewise.
   32:         (output_prev_sec_find): Use os.prev.
   33: 
   34: 2005-12-22  Santosh Raktawan <santoshr2@kpitcummins.com>
   35: 
   36:         * ld/emulparms/h8300helf.sh (TINY_READONLY_SECTION,
   37:         TINY_DATA_SECTION, TINY_BSS_SECTION): Define.
   38:         * ld/emulparms/h8300self.sh: Likewise.
   39:         * ld/emulparms/h8300sxelf.sh: Likewise.
   40:         * ld/scripttempl/elf.sc: Add TINY_READONLY_SECTION,
   41:         TINY_DATA_SECTION, TINY_BSS_SECTION.
   42:  
   43: 2005-12-19  H.J. Lu  <hongjiu.lu@intel.com>
   44: 
   45:         PR ld/2065
   46:         * ldlang.c (output_statement_newfunc): Revert the change made on
   47:         2005-11-16.
   48:         (output_prev_sec_find): Likewise.
   49:         * ldlang.h (lang_statement_list_type): Likewise.
   50: 
   51: 2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
   52: 
   53:         Second part of ms1 to mt renaming.
   54:         * emulparams/elf32mt.sh (ARCH, OUTPUT_FORMAT): Adjust.
   55: 
   56: 2005-12-14  Jakub Jelinek  <jakub@redhat.com>
   57: 
   58:         * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into
   59:         .data.rel.ro output section.  Fix a pasto for -z nocombreloc
   60:         .rela.data.rel.ro section content.
   61: 
   62: 2005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
   63: 
   64:         * Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
   65:         (eelf32mt.c): Update target name and dependencies.
   66:         * Makefile.in: Rebuilt.
   67:         * configure.tgt: Replace ms1 arch with mt arch.
   68:         * emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
   69:         comment.
   70: 
   71: 2005-12-11  Bernhard Fischer  <aldot@gcc.gnu.org>
   72: 
   73:         * scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
   74:         * scripttempl/elf.sc: Ditto.
   75:         * scripttempl/elf32sh-symbian.sc: Ditto.
   76:         * scripttempl/elf_chaos.sc: Ditto.
   77:         * scripttempl/elfd10v.sc: Ditto.
   78:         * scripttempl/elfd30v.sc: Ditto.
   79:         * scripttempl/elfxtensa.sc: Ditto.
   80:         * scripttempl/iq2000.sc: Ditto.
   81:         * scripttempl/xstormy16.sc: Ditto.
   82: 
   83: 2005-12-08  Alan Modra  <amodra@bigpond.net.au>
   84: 
   85:         * emultempl/ppc32elf.em (emit_stub_syms): New var.
   86:         (ppc_after_open): Pass it to ppc_elf_select_plt_layout.
   87:         (PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define.
   88:         (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
   89:         (PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms.
   90:         (PARSE_AND_LIST_OPTIONS): Handle it.
   91: 
   92: 2005-12-08  Alan Modra  <amodra@bigpond.net.au>
   93: 
   94:         * pe-dll.c (build_filler_bfd): Conform error message to standard.
   95:         (pe_dll_generate_implib): Use %E in error message.
   96:         (add_bfd_to_link): Likewise.
   97:         (pe_implied_import_dll): Likewise.
   98: 
   99: 2005-12-07  Thiemo Seufer  <ths@networkno.de>
  100:             H.J. Lu  <hongjiu.lu@intel.com>
  101: 
  102:         PR ld/1932
  103:         * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
  104:         Adjust bfd_elf_record_link_assignment call.
  105: 
  106:         * ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol.
  107: 
  108: 2005-11-25  Jan Beulich  <jbeulich@novell.com>
  109: 
  110:         * Makefile.am: Make configdoc.texi writeable before trying
  111:         to write to it.
  112:         * Makefile.in: Refresh.
  113: 
  114: 2005-11-24  Alan Modra  <amodra@bigpond.net.au>
  115: 
  116:         * ldlang.c (lang_output_section_find_by_flags): Add match_type param.
  117:         Run two passes, first using match_type, second without.
  118:         * ldlang.h (lang_match_sec_type_func): New typedef.
  119:         (lang_output_section_find_by_flags): Update prototype.
  120:         bfd_match_sections_by_type and lang_output_section_find_by_flags.
  121:         * emultempl/pe.em (place_orphan): Likewise.
  122: 
  123: 2005-11-24  Alan Modra  <amodra@bigpond.net.au>
  124: 
  125:         * ldlang.c (lang_insert_orphan): Skip first assignment to dot
  126:         in script when looking for place to insert orphan statements.
  127: 
  128: 2005-11-18  Alan Modra  <amodra@bigpond.net.au>
  129: 
  130:         * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
  131:         (.got, .toc1, .opd): Likewise.
  132: 
  133: 2005-11-18  Alan Modra  <amodra@bigpond.net.au>
  134: 
  135:         * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
  136:         changes to section alignment.
  137:         * ldmisc.c (vfinfo): Handle %ld and %lu.
  138: 
  139: 2005-11-16  Mark Mitchell  <mark@codesourcery.com>
  140: 
  141:         * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi..
  142:         * Makefile.in: Regenerated.
  143:         * ld.texinfo: Include configdoc.texi and ldver.texi in man pages.
  144:         Add @file documentation.
  145: 
  146: 2005-11-17  Alan Modra  <amodra@bigpond.net.au>
  147: 
  148:         * ldlang.h (lang_input_section_type): Remove "ifile" field.
  149:         (lang_insert_orphan, lang_add_section): Update prototypes.
  150:         * ldlang.c (lang_insert_orphan): Remove "file" param.
  151:         (lang_add_section): Likewise.  Update all callers.
  152:         (wild_sort): Get an input section's bfd via "section->owner".
  153:         (size_input_section): Access just_syms_flag via bfd usrdata.
  154:         (lang_place_orphans): Update ldemul_place_orphan call.
  155:         * ldemul.h (ldemul_place_orphan): Remove input_statement param.
  156:         (struct ld_emulation_xfer_struct <place_orphan>): Likewise.
  157:         * ldemul.c (ldemul_place_orphan): Likewise.
  158:         * ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata.
  159:         * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
  160:         * emultempl/beos.em (sort_by_file_name): Access bfd by section->owner.
  161:         (sort_sections): Likewise.
  162:         (place_orphan): Remove "file" param.  Adjust lang_add_section call.
  163:         * emultempl/elf32.em (place_orphan): Remove "file" param.  Adjust
  164:         lang_add_section and lang_insert_orphan calls.
  165:         * emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust
  166:         lang_add_section call.
  167:         (build_section_lists): Access just_syms_flag via bfd usrdata.
  168:         * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust
  169:         lang_add_section call.
  170:         * emultempl/mmo.em (mmo_place_orphan): Remove "file" param.  Adjust
  171:         lang_add_section and lang_insert_orphan calls.
  172:         * emultempl/pe.em (place_orphan): Likewise.  Access bfd via section
  173:         owner.
  174:         * emultempl/ppc64elf.em (ppc_add_stub_section): Adjust
  175:         lang_add_section call.
  176:         (build_toc_list): Access just_syms_flag via bfd usrdata.
  177:         (build_section_lists): Likewise.
  178:         * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file"
  179:         param.  Adjust place_orphan call.
  180:         (ld_build_required_section_dependence): Access bfd via section owner.
  181: 
  182: 2005-11-16  Alan Modra  <amodra@bigpond.net.au>
  183: 
  184:         * ldlang.h (lang_output_section_statement_type): Add prev.
  185:         * ldlang.c (new_afile): Always init header.type.
  186:         (output_statement_newfunc): Set os.prev.
  187:         (output_prev_sec_find): Use os.prev.
  188:         (lang_enter_output_section_statement): Formatting.
  189:         (lang_final, lang_add_target, lang_add_fill): Likewise.
  190:         (lang_add_data, lang_add_reloc): Likewise.
  191:         (lang_add_attribute): Only alloc the header.
  192: 
  193: 2005-11-16  Alan Modra  <amodra@bigpond.net.au>
  194: 
  195:         * ld.texinfo (Forced Output Alignment): Specify that this is an
  196:         alignment increase, not an override.
  197:         * ldlang.c (init_os): Set output section alignment here..
  198:         (lang_add_section): ..rather than here.
  199:         (lang_size_sections_1): Consolidate alignment code.  Warn if section
  200:         alignment affects start address when explicit address given.
  201: 
  202: 2005-11-07  Steve Ellcey  <sje@cup.hp.com>
  203: 
  204:         * configure: Regenerate after modifying bfd/warning.m4.
  205: 
  206: 2005-11-07  Olaf Hering  <olh@suse.de>
  207: 
  208:         * ldmain.c (main): Add \n to error message.
  209: 
  210: 2005-11-04  Alan Modra  <amodra@bigpond.net.au>
  211: 
  212:         * ldlang.c (struct output_statement_hash_entry): Don't indirect to os.
  213:         (output_statement_newfunc): Rewrite.
  214:         (lang_output_section_find_1): Merge into..
  215:         (lang_output_section_find): ..here.
  216:         (lang_output_section_statement_lookup_1): Rewrite to handle
  217:         multiple sections with the same name.
  218:         (output_statement_table_init): Commonise error message.
  219:         (lang_init, open_output): Likewise.
  220: 
  221: 2005-11-03  Paul Brook  <paul@codesourcery.com>
  222: 
  223:         * scripttempl/elf.sc: Add .init_array.* and .fini_array.*.
  224:         * scripttempl/armbpabi.sc: Make init/fini array consistent with
  225:         elf.sc.
  226:         * scripttempl/elf32sh-symbian.sc: Ditto.
  227:         * scripttempl/elfxtensa.sc: Ditto.
  228: 
  229: 2005-11-03  Alan Modra  <amodra@bigpond.net.au>
  230: 
  231:         * ldlang.h (lang_output_section_statement_type): Rearrange.  Remove
  232:         memspec.  Make "processed" a bitfield.
  233:         (lang_data_statement_type, lang_reloc_statement_type): Rename
  234:         output_vma to output_offset.
  235:         * ldlang.c (lang_output_section_statement_lookup_1): Init
  236:         all_input_readonly.  Don't init memspec.
  237:         (init_os): Remove incorrect comment.
  238:         (print_data_statement, print_reloc_statement): Adjust for
  239:         lang_data_statement_type and lang_reloc_statement_type change.
  240:         (lang_size_sections_1, lang_add_reloc): Likewise.
  241:         * ldwrite.c (build_link_order): Likewise.
  242: 
  243: 2005-10-30  Mark Mitchell  <mark@codesourcery.com>
  244: 
  245:         * lexsup.c (help): Document "@FILE".
  246: 
  247: 2005-10-30  H.J. Lu  <hongjiu.lu@intel.com>
  248: 
  249:         * Makefile.am: Run "make dep-am".
  250:         * Makefile.in: Regenerated.
  251: 
  252:         * dep-in.sed: Replace " ./" with " ".
  253: 
  254: 2005-10-25  Arnold Metselaar  <arnold.metselaar@planet.nl>
  255: 
  256:         * Makefile.am: Add support for Z80
  257:         * Makefile.in: Regenerated
  258:         * configure.tgt: Add z80-*-coff
  259:         * emulparams/z80.sh: New file.
  260:         * emultempl/z80.em: New file.
  261:         * scripttempl/z80.sc New file.
  262:         * NEWS: Mention this new support.
  263: 
  264: 2005-10-25  Alan Modra  <amodra@bigpond.net.au>
  265: 
  266:         * po/ld.pot: Regenerate.
  267: 
  268: 2005-10-25  Chris Metcalf <cdmetcalf@comcast.net>
  269: 
  270:         * ld.texinfo (--reduce-memory-overheads): Fix typo.
  271: 
  272: 2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>
  273: 
  274:         PR ld/1487
  275:         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
  276:         bfd_match_sections_by_type to match section types.
  277: 
  278:         * ldlang.c (init_os): Take the input section. Call
  279:         bfd_init_private_section_data if the input section isn't NULL.
  280:         (exp_init_os): Pass NULL to init_os.
  281:         (map_input_to_output_sections): Likewise.
  282:         (lang_add_section): Pass the input section to init_os.
  283: 
  284: 2005-10-19  Paul Brook  <paul@codesourcery.com>
  285: 
  286:         * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS.
  287: 
  288: 2005-10-15  H.J. Lu  <hongjiu.lu@intel.com>
  289: 
  290:         PR ld/1467
  291:         * emultempl/elf32.em: Include "elf-bfd.h".
  292:         (gld${EMULATION_NAME}_place_orphan): Check section type and
  293:         don't use section name for ELF input sections.
  294: 
  295:         * ld.texinfo: Document orphan section processing.
  296: 
  297:         * ldlang.c (lang_output_section_find_by_flags): Match section
  298:         types by calling bfd_match_sections_by_type.
  299: 
  300: 2005-10-13  Mark Mitchell  <mark@codesourcery.com>
  301: 
  302:         * ld.texino: Describe double-quoted string syntax for version
  303:         nodes.
  304:         * ldlang.h (lang_new_vers_pattern): Add literal_p parameter.
  305:         * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER.
  306:         Adjust calls to lang_new_vers_pattern to pass literal_p argument.
  307:         * ldlang.c (lang_vers_match): Fix indentation.  Do not glob-match
  308:         version nodes without a pattern.
  309:         (lang_new_vers_pattern): Add literal_p parameter.
  310:         (lang_do_version_exports_section): Pass it.
  311: 
  312: 2005-10-12  Mark Mitchell  <mark@codesourcery.com>
  313: 
  314:         * NEWS: Mention @file.
  315: 
  316: 2005-10-05  H.J. Lu  <hongjiu.lu@intel.com>
  317: 
  318:         PR ld/1396
  319:         * ldcref.c (check_refs): Accept bfd_boolean.
  320:         (check_local_sym_xref): Pass FALSE to check_refs.
  321:         (check_nocrossref): Pass TRUE to check_refs.
  322:         (check_refs_info): Add bfd_boolean.
  323:         (check_refs): Add bfd_boolean to check_refs_info.
  324:         (check_reloc_refs): Match relocations with proper symbols.
  325: 
  326:         * ldmisc.c (vfinfo): Don't add extra ":\n".
  327: 
  328: 2005-10-05  Danny Smith  <dannysmith@users.sourceforge.net>
  329: 
  330:         * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):        Set
  331:         default entry symbol to ENTRY here.
  332:         * scripttempl/pe.sc: Not here.
  333: 
  334: 2005-09-30  James E Wilson  <wilson@specifix.com>
  335: 
  336:         * ldlang.c (lang_startup): Add missing ": " to einfo call.
  337: 
  338: 2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
  339: 
  340:         * Makefile.am: Run "make dep-am".
  341:         * Makefile.in: Regenerated.
  342:         * aclocal.m4: Likewise.
  343: 
  344: 2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
  345: 
  346:         * ldlang.c (output_statement_hash_entry): New type.
  347:         (output_statement_table): New variable for hash table.
  348:         (output_statement_newfunc): New function.
  349:         (output_statement_table_init): Likewise.
  350:         (output_statement_table_free): Likewise.
  351:         (lang_init): Call output_statement_table_init.
  352:         (lang_finish): Renamed to ...
  353:         (lang_end): This.
  354:         (lang_process): Updated.
  355:         (lang_finish): New function.
  356:         (lang_output_section_find_1): Use hash table.
  357:         (lang_output_section_statement_lookup_1): Likewise.
  358: 
  359:         * ldlang.h (lang_finish): New.
  360: 
  361:         * ldmain.c (main): Call lang_finish.
  362: 
  363: 2005-09-30  Mark Mitchell  <mark@codesourcery.com>
  364: 
  365:         * ldmain.c (main): Use expandargv.
  366: 
  367: 2005-09-30  Catherine Moore  <clm@cm00re.com>
  368: 
  369:         * Makefile.am: Bfin support.
  370:         * Makefile.in: Regenerated.
  371:         * aclocal.m4: Regenerated.
  372:         * configure.tgt: Bfin support.
  373:         * emulparams/bfin.sh: New file.
  374:         * emultempl/bfin.em: New file.
  375: 
  376: 2005-09-30  Matthias Kurz  <mk@baerlap.north.de>
  377: 
  378:         * ld.h: Prevent the inclusion of <libintl.h> from the Solaris
  379:         version of <locale.h> when ENABLE_NLS is not defined.
  380: 
  381: 2005-09-27  H.J. Lu  <hongjiu.lu@intel.com>
  382: 
  383:         * ld.texinfo (ALIGN): Document it as forcing output section
  384:         alignment.
  385: 
  386:         * ldgram.y (ALIGN): Support it for forcing output section
  387:         alignment.
  388: 
  389: 2005-09-20  Alan Modra  <amodra@bigpond.net.au>
  390: 
  391:         * ldlang.h (lang_output_section_statement_struct): Change type of
  392:         "processed" to bfd_boolean.
  393:         * ldexp.c (fold_name): Update references to os->processed.
  394:         * ldlang.c (lang_output_section_statement_lookup_1): Likewise.
  395:         (lang_size_sections_1): Likewise.
  396:         (lang_reset_memory_regions): Likewise.
  397: 
  398:         PR ld/1353
  399:         * ldlang.c (lang_size_sections_1): Process addr_tree earlier,
  400:         so that unused output section statements affect dot.
  401: 
  402: 2005-09-08  Jakub Jelinek  <jakub@redhat.com>
  403: 
  404:         * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
  405:         and --eh-frame-hdr options.
  406: 
  407: 2005-09-07  Alan Modra  <amodra@bigpond.net.au>
  408: 
  409:         * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
  410:         (exp_fold_tree_1): Print assert message only in final stage of
  411:         linking.  Trigger assertion failure if expression cannot be
  412:         evaluated.
  413: 
  414: 2005-09-06  H.J. Lu  <hongjiu.lu@intel.com>
  415: 
  416:         PR ld/1263
  417:         * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
  418:         --just-symbols on DSO.
  419: 
  420: 2005-08-18  Alan Modra  <amodra@bigpond.net.au>
  421: 
  422:         * scripttempl/elf.sc: Remove commented out defines.
  423: 
  424: 2005-08-18  Alan Modra  <amodra@bigpond.net.au>
  425: 
  426:         * emulparams/a29k.sh: Delete.
  427:         * emulparams/ebmon29k.sh: Delete.
  428:         * emulparams/sa29200.sh: Delete.
  429:         * Makefile.am: Remove a29k support.
  430:         * configure.tgt: Likewise.
  431:         * ld.texinfo: Likewise.
  432:         * Makefile.in: Regenerate.
  433: 
  434: 2005-08-17  Jakub Jelinek  <jakub@redhat.com>
  435: 
  436:         * ldgram.y (vers_defns): Don't lose pattern list before
  437:         extern NAME {}.  Handle global, local and extern symbol names.
  438: 
  439: 2005-08-17  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
  440: 
  441:         * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
  442:         Don't increment rel_count of .cranges here.  Set rawsize of .cranges.
  443: 
  444: 2005-08-10  Nick Clifton  <nickc@redhat.com>
  445: 
  446:         * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions
  447:         before lang_size_sections.
  448: 
  449: 2005-08-09  Alan Modra  <amodra@bigpond.net.au>
  450: 
  451:         * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.
  452: 
  453: 2005-08-08  Eric Doenges <Eric.Doenges@betty-tv.com>
  454: 
  455:         * Makefile.am (ALL_EMULATIONS): Add msp430x21xx        variants.
  456:         Add rules to build these emulations.
  457:         * Makefile.in: Regenerate.
  458:         * configure.tgt (msp430): Add the new variants to the
  459:         targ_extra_emuls list.
  460:         * emulparams/msp430all.sh: Add entries for the msp430x21xx
  461:         variants.
  462: 
  463: 2005-08-05  H.J. Lu  <hongjiu.lu@intel.com>
  464: 
  465:         * ld.texinfo: Document PROVIDE_HIDDEN.
  466: 
  467:         * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked.
  468:         (exp_provide): Add and set hidden.
  469: 
  470:         * ldexp.h (etree_type): Add hidden to assign.
  471: 
  472:         * ldgram.y (PROVIDE_HIDDEN): New.
  473:         * ldlex.l (PROVIDE_HIDDEN): Likewise.
  474: 
  475:         * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound
  476:         symbols.
  477: 
  478: 2005-08-05  Alan Modra  <amodra@bigpond.net.au>
  479: 
  480:         * emulparams/elf_x86_64.sh: Revert last change.
  481:         * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here.
  482: 
  483: 2005-08-05  Alan Modra  <amodra@bigpond.net.au>
  484: 
  485:         * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from
  486:         OTHER_END_SYMBOLS.
  487:         * emulparams/armelf_linux.sh: Likewise.
  488:         * emulparams/armnto.sh: Likewise.
  489:         * emulparams/criself.sh: Likewise.
  490:         * emulparams/elf32mcore.sh: Likewise.
  491:         * emulparams/criself.sh (OTHER_SYMBOLS): Define.
  492:         * emulparams/crislinux.sh (OTHER_SYMBOLS): Define.
  493:         (OTHER_END_SYMBOLS): Don't define.
  494:         * emulparams/elf32fr30.sh: Likewise.
  495:         * emulparams/elf64mmix.sh: Likewise.
  496:         * emulparams/hppa64linux.sh: Likewise.
  497:         * emulparams/m32relf.sh: Likewise.
  498:         * emulparams/vxworks.sh: Likewise.
  499:         * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete.
  500:         (OTHER_BSS_END_SYMBOLS): Add.
  501:         (OTHER_END_SYMBOLS): Move before current end sym definitions.
  502:         (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script.
  503:         * scripttempl/elf.sc: Likewise.
  504:         * scripttempl/elf32sh-symbian.sc: Likewise.
  505:         * scripttempl/elf_chaos.sc: Likewise.
  506:         * scripttempl/elfxtensa.sc: Likewise.
  507:         * scripttempl/iq2000.sc: Likewise.
  508:         * scripttempl/xstormy16.sc: Likewise.
  509: 
  510:         * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete.
  511:         (REL_LDATA, REL_LBSS, REL_LRODATA): Delete.
  512:         (REL_LARGE, LARGE_SECTIONS): Add.
  513:         * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text.
  514:         (REL_LARGE): Define.
  515:         * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
  516:         (LARGE_SECTIONS): Define.
  517:         * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
  518:         (LARGE_SECTIONS): Define.
  519: 
  520: 2005-08-04  Alan Modra  <amodra@bigpond.net.au>
  521: 
  522:         * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete.
  523:         * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete.
  524:         (struct ld_emulation_xfer_struct): Remove do_assignments field.
  525:         * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments.
  526:         * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New.
  527:         (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New.
  528:         * emultempl/aix.em (ld_*_emulation): Delete do_assignments init.
  529:         * emultempl/armcoff.em: Likewise.
  530:         * emultempl/beos.em: Likewise.
  531:         * emultempl/generic.em: Likewise.
  532:         * emultempl/gld960.em: Likewise.
  533:         * emultempl/gld960c.em: Likewise.
  534:         * emultempl/linux.em: Likewise.
  535:         * emultempl/lnk960.em: Likewise.
  536:         * emultempl/m68kcoff.em: Likewise.
  537:         * emultempl/pe.em: Likewise.
  538:         * emultempl/sunos.em: Likewise.
  539:         * emultempl/ticoff.em: Likewise.
  540:         * emultempl/vanilla.em: Likewise.
  541:         * emultempl/elf32.em: Likewise.
  542:         (gld*_provide_bound_symbols): Delete.
  543:         (gld*_provide_init_fini_syms): Delete.
  544:         (gld*_before_allocation): Don't call ldemul_do_assignments.
  545:         * emultempl/ppc32elf.em (ppc_do_assignments): Delete.
  546:         (LDEMUL_DO_ASSIGNMENTS): Delete.
  547:         * scripttempl/elf.sc: Provide init/fini syms.  Add SBSS_START_SYMBOLS,
  548:         SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.
  549: 
  550: 2005-08-04  Alan Modra  <amodra@bigpond.net.au>
  551: 
  552:         * Makefile.am (eelf32m32c.c): Fix dependencies.
  553:         * Makefile.in: Regenerate.
  554: 
  555: 2005-08-04  Alan Modra  <amodra@bigpond.net.au>
  556: 
  557:         * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally.
  558:         (finish_default): New function.
  559:         * ldemul.h (finish_default): Declare.
  560:         * emultempl/aix.em (gld*_before_allocation): Call
  561:         before_allocation_default rather than strip_excluded_output_sections.
  562:         (ld_*_emulation): Init finish field to finish_default.
  563:         * emultempl/armcoff.em: Likewise.
  564:         * emultempl/beos.em: Likewise.
  565:         * emultempl/elf32.em: Likewise.
  566:         * emultempl/generic.em: Likewise.
  567:         * emultempl/gld960.em: Likewise.
  568:         * emultempl/gld960c.em: Likewise.
  569:         * emultempl/hppaelf.em: Likewise.
  570:         * emultempl/linux.em: Likewise.
  571:         * emultempl/lnk960.em: Likewise.
  572:         * emultempl/m68kcoff.em: Likewise.
  573:         * emultempl/mmo.em: Likewise.
  574:         * emultempl/pe.em: Likewise.
  575:         * emultempl/ppc64elf.em: Likewise.
  576:         * emultempl/sunos.em: Likewise.
  577:         * emultempl/ticoff.em: Likewise.
  578:         * emultempl/vanilla.em: Likewise.
  579: 
  580: 2005-08-03  Alan Modra  <amodra@bigpond.net.au>
  581: 
  582:         * ldlang.c (exp_init_os): Handle etree_provide.
  583:         * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from..
  584:         (OTHER_BSS_END_SYMBOLS): ..this.
  585:         * emulparams/armelf_linux.sh: Likewise.
  586:         * emulparams/armnto.sh: Likewise.
  587:         * emulparams/criself.sh: Likewise.
  588:         * emulparams/crislinux.sh: Likewise.
  589:         * emulparams/elf32frv.sh: Likewise.
  590:         * emulparams/elf32mcore.sh: Likewise.
  591:         * emulparams/elf32ppc.sh: Likewise.
  592:         * emulparams/elf32ppclinux.sh: Likewise.
  593:         * emulparams/hppa64linux.sh: Likewise.
  594:         * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not
  595:         $OTHER_BSS_END_SYMBOLS.
  596:         * scripttempl/elf32sh-symbian.sc: Likewise.
  597:         * scripttempl/elf_chaos.sc: Likewise.
  598:         * scripttempl/iq2000.sc: Likewise.
  599:         * scripttempl/xstormy16.sc: Likewise.
  600:         * scripttempl/elf.sc: Likewise.  Delete __bss_start comment.
  601:         * scripttempl/elfxtensa.sc: Likewise.
  602: 
  603: 2005-07-29  Nick Clifton  <nickc@redhat.com>
  604: 
  605:         * ldmain.c (main): Allow -shared and -static to be used together.
  606:         * ld.texinfo (-static): Mention that it is allowed with -shared.
  607: 
  608: 2005-07-28  DJ Delorie  <dj@redhat.com>
  609: 
  610:         * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a
  611:         unary & address operator, as that breaks GCC's strict aliasing
  612:         rules.
  613: 
  614: 2005-07-25  Jan Hubicka  <jh@suse.cz>
  615:             H.J. Lu  <hongjiu.lu@intel.com>
  616: 
  617:         * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.
  618: 
  619:         * scripttempl/elf.sc: Updated for large section support.
  620: 
  621: 2005-07-21  Ralf Corsepius  <ralf.corsepius@rtems.org>
  622: 
  623:         * configure.tgt: Remove i[3-7]86-*-rtemself*.
  624:         Remove sparc-*-rtemself*.
  625: 
  626: 2005-07-21  Ben Elliston  <bje@gnu.org>
  627: 
  628:         * ldgram.y (ldgram_want_filename): Remove unused static.
  629: 
  630: 2005-07-20  DJ Delorie  <dj@redhat.com>
  631: 
  632:         * emulparams/elf32m32c.sh (TEMPLATE_NAME): New.
  633:         (EXTRA_EM_FILE): New.
  634: 
  635: 2005-07-19  H.J. Lu  <hongjiu.lu@intel.com>
  636: 
  637:         * ldmain.c (main): Reindent.
  638: 
  639: 2005-07-19  Paul Brook  <paul@codesourcery.com>
  640: 
  641:         * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
  642:         to determine dynamic linker name.
  643: 
  644: 2005-07-18  Nick Clifton  <nickc@redhat.com>
  645: 
  646:         * configure.tgt: Restore alpha ordering to list of arches.
  647: 
  648: 2005-07-16  Alan Modra  <amodra@bigpond.net.au>
  649: 
  650:         * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype.
  651:         (gld*_before_allocation): Call ldemul_do_assignments rather than
  652:         gld*_provide_init_fini_syms directly.
  653:         * emultempl/ppc32elf.em (gld*_after_allocation): Delete.
  654:         (ppc_do_assignments): New function.
  655:         (LDEMUL_AFTER_ALLOCATION): Don't define.
  656:         (LDEMUL_DO_ASSIGNMENTS): Define.
  657: 
  658: 2005-07-16  Alan Modra  <amodra@bigpond.net.au>
  659: 
  660:         * Makefile.am: Run "make dep-am".
  661:         (emipsidt.c, emipsidtl.c): Depend on generic.em.
  662:         * Makefile.in: Regenerate.
  663: 
  664: 2005-07-15  Alan Modra  <amodra@bigpond.net.au>
  665: 
  666:         * ldemul.c (ldemul_do_assignments): New function.
  667:         (do_assignments_default): New function.
  668:         * ldemul.h (ldemul_do_assignments): Declare.
  669:         (do_assignments_default): Declare.
  670:         (struct ld_emulation_xfer_struct): Add do_assignments.
  671:         * ldlang.c (lang_do_assignments) Call ldemul_do_assignments.
  672:         * emultempl/aix.em (ld_*_emulation): Init do_assignments field.
  673:         * emultempl/armcoff.em: Likewise.
  674:         * emultempl/beos.em: Likewise.
  675:         * emultempl/generic.em: Likewise.
  676:         * emultempl/gld960.em: Likewise.
  677:         * emultempl/gld960c.em: Likewise.
  678:         * emultempl/linux.em: Likewise.
  679:         * emultempl/lnk960.em: Likewise.
  680:         * emultempl/m68kcoff.em: Likewise.
  681:         * emultempl/pe.em: Likewise.
  682:         * emultempl/sunos.em: Likewise.
  683:         * emultempl/ticoff.em: Likewise.
  684:         * emultempl/vanilla.em: Likewise.
  685:         * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms.
  686:         (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
  687: 
  688: 2005-07-14  Jim Blandy  <jimb@redhat.com>
  689: 
  690:         Add support for the Renesas M32C and M16C.
  691:         * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
  692:         (eelf32m32c.c): New target.
  693:         * Makefile.in: Regenerated.
  694:         * configure.tgt: Add case for m32c-*-elf.
  695:         * emulparams/elf32m32c.sh: New file.
  696: 
  697: 2005-07-14  Alan Modra  <amodra@bigpond.net.au>
  698: 
  699:         * ldlang.c (strip_excluded_output_sections): Don't call
  700:         bfd_gc_sections.
  701:         * emultempl/elf32.em (gld*_provide_bound_symbols): Move.
  702:         (gld*_provide_init_fini_syms): Move.
  703:         (gld*_before_allocation): Call the above from here..
  704:         (gld*_finish): ..not here.  Call _bfd_elf_fix_excluded_sec_syms.
  705:         * emultempl/hppaelf.em (hppaelf_finish): Likewise.
  706:         * emultempl/ppc64elf.em (ppc_finish): Likewise.
  707: 
  708: 2005-07-10  Ralf Corsepius <ralf.corsepius@rtems.org>
  709: 
  710:         * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*,
  711:         i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*,
  712:         powerpcle-*-rtems*.
  713: 
  714: 2005-07-09  Christopher Faylor  <cgf@timesys.com>
  715: 
  716:         * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
  717:         relocation by default.
  718:         (compute_dll_image_base): Avoid linking into cygwin dll address space.
  719: 
  720: 2005-07-08  Alan Modra  <amodra@bigpond.net.au>
  721: 
  722:         * ldlang.c (wild_sort): Formatting.
  723:         (strip_excluded_output_sections): Strip zero size sections here.
  724:         * emultempl/elf32.em (gld*_strip_empty_sections): Delete.
  725:         (gld*_finish): Don't call the above.
  726:         * emultempl/hppaelf.em (hppaelf_finish): Likewise.
  727:         * emultempl/ppc64elf.em (ppc_finish): Likewise.
  728: 
  729: 2005-07-05  Paul Brook  <paul@codesourcery.com>
  730: 
  731:         * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
  732:         (eelf32ppcvxworks.o): Add dependencies.
  733:         * Makefile.in: Regenerate.
  734:         * configure.tgt: Add entry for powerpc-vxworks.
  735:         * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
  736:         * emulparams/elf32ppcvxworks.sh: New file.
  737:         * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
  738:         (is_ppc_elf32_vec): New function.
  739:         (ppc_after_open, pp