OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [ChangeLog-2005] - Diff between revs 156 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
2005-12-28  Jie Zhang  
2005-12-28  Jie Zhang  
        * emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS.
        * emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS.
        And add a prefix '_' to ENTRY.
        And add a prefix '_' to ENTRY.
        * scripttempl/elf.sc: Add END_SYMBOLS.
        * scripttempl/elf.sc: Add END_SYMBOLS.
2005-12-27  H.J. Lu  
2005-12-27  H.J. Lu  
        * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete.
        * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete.
        (LDEMUL_PLACE_ORPHAN): Delete.
        (LDEMUL_PLACE_ORPHAN): Delete.
2005-12-27  Leif Ekblad  
2005-12-27  Leif Ekblad  
        * configure.tgt: Add support for RDOS targets.
        * configure.tgt: Add support for RDOS targets.
2005-12-27  Nick Clifton  
2005-12-27  Nick Clifton  
        * po/vi.po: New Vietnamese translation.
        * po/vi.po: New Vietnamese translation.
        * configure.in (ALL_LINGUAS): Add vi.
        * configure.in (ALL_LINGUAS): Add vi.
        * configure: Regenerate.
        * configure: Regenerate.
2005-12-27  Alan Modra  
2005-12-27  Alan Modra  
        * Makefile.am: Run "make dep-am".
        * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2005-12-24  Alan Modra  
2005-12-24  Alan Modra  
        * ldlang.h (lang_output_section_statement_type): Add prev.
        * ldlang.h (lang_output_section_statement_type): Add prev.
        * ldlang.c (output_statement_newfunc): Set os.prev.
        * ldlang.c (output_statement_newfunc): Set os.prev.
        (lang_insert_orphan): Likewise.
        (lang_insert_orphan): Likewise.
        (output_prev_sec_find): Use os.prev.
        (output_prev_sec_find): Use os.prev.
2005-12-22  Santosh Raktawan 
2005-12-22  Santosh Raktawan 
        * ld/emulparms/h8300helf.sh (TINY_READONLY_SECTION,
        * ld/emulparms/h8300helf.sh (TINY_READONLY_SECTION,
        TINY_DATA_SECTION, TINY_BSS_SECTION): Define.
        TINY_DATA_SECTION, TINY_BSS_SECTION): Define.
        * ld/emulparms/h8300self.sh: Likewise.
        * ld/emulparms/h8300self.sh: Likewise.
        * ld/emulparms/h8300sxelf.sh: Likewise.
        * ld/emulparms/h8300sxelf.sh: Likewise.
        * ld/scripttempl/elf.sc: Add TINY_READONLY_SECTION,
        * ld/scripttempl/elf.sc: Add TINY_READONLY_SECTION,
        TINY_DATA_SECTION, TINY_BSS_SECTION.
        TINY_DATA_SECTION, TINY_BSS_SECTION.
2005-12-19  H.J. Lu  
2005-12-19  H.J. Lu  
        PR ld/2065
        PR ld/2065
        * ldlang.c (output_statement_newfunc): Revert the change made on
        * ldlang.c (output_statement_newfunc): Revert the change made on
        2005-11-16.
        2005-11-16.
        (output_prev_sec_find): Likewise.
        (output_prev_sec_find): Likewise.
        * ldlang.h (lang_statement_list_type): Likewise.
        * ldlang.h (lang_statement_list_type): Likewise.
2005-12-16  Nathan Sidwell  
2005-12-16  Nathan Sidwell  
        Second part of ms1 to mt renaming.
        Second part of ms1 to mt renaming.
        * emulparams/elf32mt.sh (ARCH, OUTPUT_FORMAT): Adjust.
        * emulparams/elf32mt.sh (ARCH, OUTPUT_FORMAT): Adjust.
2005-12-14  Jakub Jelinek  
2005-12-14  Jakub Jelinek  
        * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into
        * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into
        .data.rel.ro output section.  Fix a pasto for -z nocombreloc
        .data.rel.ro output section.  Fix a pasto for -z nocombreloc
        .rela.data.rel.ro section content.
        .rela.data.rel.ro section content.
2005-12-12  Nathan Sidwell  
2005-12-12  Nathan Sidwell  
        * Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
        * Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
        (eelf32mt.c): Update target name and dependencies.
        (eelf32mt.c): Update target name and dependencies.
        * Makefile.in: Rebuilt.
        * Makefile.in: Rebuilt.
        * configure.tgt: Replace ms1 arch with mt arch.
        * configure.tgt: Replace ms1 arch with mt arch.
        * emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
        * emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
        comment.
        comment.
2005-12-11  Bernhard Fischer  
2005-12-11  Bernhard Fischer  
        * scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
        * scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
        * scripttempl/elf.sc: Ditto.
        * scripttempl/elf.sc: Ditto.
        * scripttempl/elf32sh-symbian.sc: Ditto.
        * scripttempl/elf32sh-symbian.sc: Ditto.
        * scripttempl/elf_chaos.sc: Ditto.
        * scripttempl/elf_chaos.sc: Ditto.
        * scripttempl/elfd10v.sc: Ditto.
        * scripttempl/elfd10v.sc: Ditto.
        * scripttempl/elfd30v.sc: Ditto.
        * scripttempl/elfd30v.sc: Ditto.
        * scripttempl/elfxtensa.sc: Ditto.
        * scripttempl/elfxtensa.sc: Ditto.
        * scripttempl/iq2000.sc: Ditto.
        * scripttempl/iq2000.sc: Ditto.
        * scripttempl/xstormy16.sc: Ditto.
        * scripttempl/xstormy16.sc: Ditto.
2005-12-08  Alan Modra  
2005-12-08  Alan Modra  
        * emultempl/ppc32elf.em (emit_stub_syms): New var.
        * emultempl/ppc32elf.em (emit_stub_syms): New var.
        (ppc_after_open): Pass it to ppc_elf_select_plt_layout.
        (ppc_after_open): Pass it to ppc_elf_select_plt_layout.
        (PARSE_AND_LIST_PROLOGUE ): Define.
        (PARSE_AND_LIST_PROLOGUE ): Define.
        (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
        (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
        (PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms.
        (PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms.
        (PARSE_AND_LIST_OPTIONS): Handle it.
        (PARSE_AND_LIST_OPTIONS): Handle it.
2005-12-08  Alan Modra  
2005-12-08  Alan Modra  
        * pe-dll.c (build_filler_bfd): Conform error message to standard.
        * pe-dll.c (build_filler_bfd): Conform error message to standard.
        (pe_dll_generate_implib): Use %E in error message.
        (pe_dll_generate_implib): Use %E in error message.
        (add_bfd_to_link): Likewise.
        (add_bfd_to_link): Likewise.
        (pe_implied_import_dll): Likewise.
        (pe_implied_import_dll): Likewise.
2005-12-07  Thiemo Seufer  
2005-12-07  Thiemo Seufer  
            H.J. Lu  
            H.J. Lu  
        PR ld/1932
        PR ld/1932
        * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
        * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
        Adjust bfd_elf_record_link_assignment call.
        Adjust bfd_elf_record_link_assignment call.
        * ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol.
        * ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol.
2005-11-25  Jan Beulich  
2005-11-25  Jan Beulich  
        * Makefile.am: Make configdoc.texi writeable before trying
        * Makefile.am: Make configdoc.texi writeable before trying
        to write to it.
        to write to it.
        * Makefile.in: Refresh.
        * Makefile.in: Refresh.
2005-11-24  Alan Modra  
2005-11-24  Alan Modra  
        * ldlang.c (lang_output_section_find_by_flags): Add match_type param.
        * ldlang.c (lang_output_section_find_by_flags): Add match_type param.
        Run two passes, first using match_type, second without.
        Run two passes, first using match_type, second without.
        * ldlang.h (lang_match_sec_type_func): New typedef.
        * ldlang.h (lang_match_sec_type_func): New typedef.
        (lang_output_section_find_by_flags): Update prototype.
        (lang_output_section_find_by_flags): Update prototype.
        bfd_match_sections_by_type and lang_output_section_find_by_flags.
        bfd_match_sections_by_type and lang_output_section_find_by_flags.
        * emultempl/pe.em (place_orphan): Likewise.
        * emultempl/pe.em (place_orphan): Likewise.
2005-11-24  Alan Modra  
2005-11-24  Alan Modra  
        * ldlang.c (lang_insert_orphan): Skip first assignment to dot
        * ldlang.c (lang_insert_orphan): Skip first assignment to dot
        in script when looking for place to insert orphan statements.
        in script when looking for place to insert orphan statements.
2005-11-18  Alan Modra  
2005-11-18  Alan Modra  
        * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
        * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
        (.got, .toc1, .opd): Likewise.
        (.got, .toc1, .opd): Likewise.
2005-11-18  Alan Modra  
2005-11-18  Alan Modra  
        * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
        * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
        changes to section alignment.
        changes to section alignment.
        * ldmisc.c (vfinfo): Handle %ld and %lu.
        * ldmisc.c (vfinfo): Handle %ld and %lu.
2005-11-16  Mark Mitchell  
2005-11-16  Mark Mitchell  
        * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi..
        * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi..
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * ld.texinfo: Include configdoc.texi and ldver.texi in man pages.
        * ld.texinfo: Include configdoc.texi and ldver.texi in man pages.
        Add @file documentation.
        Add @file documentation.
2005-11-17  Alan Modra  
2005-11-17  Alan Modra  
        * ldlang.h (lang_input_section_type): Remove "ifile" field.
        * ldlang.h (lang_input_section_type): Remove "ifile" field.
        (lang_insert_orphan, lang_add_section): Update prototypes.
        (lang_insert_orphan, lang_add_section): Update prototypes.
        * ldlang.c (lang_insert_orphan): Remove "file" param.
        * ldlang.c (lang_insert_orphan): Remove "file" param.
        (lang_add_section): Likewise.  Update all callers.
        (lang_add_section): Likewise.  Update all callers.
        (wild_sort): Get an input section's bfd via "section->owner".
        (wild_sort): Get an input section's bfd via "section->owner".
        (size_input_section): Access just_syms_flag via bfd usrdata.
        (size_input_section): Access just_syms_flag via bfd usrdata.
        (lang_place_orphans): Update ldemul_place_orphan call.
        (lang_place_orphans): Update ldemul_place_orphan call.
        * ldemul.h (ldemul_place_orphan): Remove input_statement param.
        * ldemul.h (ldemul_place_orphan): Remove input_statement param.
        (struct ld_emulation_xfer_struct ): Likewise.
        (struct ld_emulation_xfer_struct ): Likewise.
        * ldemul.c (ldemul_place_orphan): Likewise.
        * ldemul.c (ldemul_place_orphan): Likewise.
        * ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata.
        * ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata.
        * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
        * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
        * emultempl/beos.em (sort_by_file_name): Access bfd by section->owner.
        * emultempl/beos.em (sort_by_file_name): Access bfd by section->owner.
        (sort_sections): Likewise.
        (sort_sections): Likewise.
        (place_orphan): Remove "file" param.  Adjust lang_add_section call.
        (place_orphan): Remove "file" param.  Adjust lang_add_section call.
        * emultempl/elf32.em (place_orphan): Remove "file" param.  Adjust
        * emultempl/elf32.em (place_orphan): Remove "file" param.  Adjust
        lang_add_section and lang_insert_orphan calls.
        lang_add_section and lang_insert_orphan calls.
        * emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust
        * emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust
        lang_add_section call.
        lang_add_section call.
        (build_section_lists): Access just_syms_flag via bfd usrdata.
        (build_section_lists): Access just_syms_flag via bfd usrdata.
        * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust
        * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust
        lang_add_section call.
        lang_add_section call.
        * emultempl/mmo.em (mmo_place_orphan): Remove "file" param.  Adjust
        * emultempl/mmo.em (mmo_place_orphan): Remove "file" param.  Adjust
        lang_add_section and lang_insert_orphan calls.
        lang_add_section and lang_insert_orphan calls.
        * emultempl/pe.em (place_orphan): Likewise.  Access bfd via section
        * emultempl/pe.em (place_orphan): Likewise.  Access bfd via section
        owner.
        owner.
        * emultempl/ppc64elf.em (ppc_add_stub_section): Adjust
        * emultempl/ppc64elf.em (ppc_add_stub_section): Adjust
        lang_add_section call.
        lang_add_section call.
        (build_toc_list): Access just_syms_flag via bfd usrdata.
        (build_toc_list): Access just_syms_flag via bfd usrdata.
        (build_section_lists): Likewise.
        (build_section_lists): Likewise.
        * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file"
        * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file"
        param.  Adjust place_orphan call.
        param.  Adjust place_orphan call.
        (ld_build_required_section_dependence): Access bfd via section owner.
        (ld_build_required_section_dependence): Access bfd via section owner.
2005-11-16  Alan Modra  
2005-11-16  Alan Modra  
        * ldlang.h (lang_output_section_statement_type): Add prev.
        * ldlang.h (lang_output_section_statement_type): Add prev.
        * ldlang.c (new_afile): Always init header.type.
        * ldlang.c (new_afile): Always init header.type.
        (output_statement_newfunc): Set os.prev.
        (output_statement_newfunc): Set os.prev.
        (output_prev_sec_find): Use os.prev.
        (output_prev_sec_find): Use os.prev.
        (lang_enter_output_section_statement): Formatting.
        (lang_enter_output_section_statement): Formatting.
        (lang_final, lang_add_target, lang_add_fill): Likewise.
        (lang_final, lang_add_target, lang_add_fill): Likewise.
        (lang_add_data, lang_add_reloc): Likewise.
        (lang_add_data, lang_add_reloc): Likewise.
        (lang_add_attribute): Only alloc the header.
        (lang_add_attribute): Only alloc the header.
2005-11-16  Alan Modra  
2005-11-16  Alan Modra  
        * ld.texinfo (Forced Output Alignment): Specify that this is an
        * ld.texinfo (Forced Output Alignment): Specify that this is an
        alignment increase, not an override.
        alignment increase, not an override.
        * ldlang.c (init_os): Set output section alignment here..
        * ldlang.c (init_os): Set output section alignment here..
        (lang_add_section): ..rather than here.
        (lang_add_section): ..rather than here.
        (lang_size_sections_1): Consolidate alignment code.  Warn if section
        (lang_size_sections_1): Consolidate alignment code.  Warn if section
        alignment affects start address when explicit address given.
        alignment affects start address when explicit address given.
2005-11-07  Steve Ellcey  
2005-11-07  Steve Ellcey  
        * configure: Regenerate after modifying bfd/warning.m4.
        * configure: Regenerate after modifying bfd/warning.m4.
2005-11-07  Olaf Hering  
2005-11-07  Olaf Hering  
        * ldmain.c (main): Add \n to error message.
        * ldmain.c (main): Add \n to error message.
2005-11-04  Alan Modra  
2005-11-04  Alan Modra  
        * ldlang.c (struct output_statement_hash_entry): Don't indirect to os.
        * ldlang.c (struct output_statement_hash_entry): Don't indirect to os.
        (output_statement_newfunc): Rewrite.
        (output_statement_newfunc): Rewrite.
        (lang_output_section_find_1): Merge into..
        (lang_output_section_find_1): Merge into..
        (lang_output_section_find): ..here.
        (lang_output_section_find): ..here.
        (lang_output_section_statement_lookup_1): Rewrite to handle
        (lang_output_section_statement_lookup_1): Rewrite to handle
        multiple sections with the same name.
        multiple sections with the same name.
        (output_statement_table_init): Commonise error message.
        (output_statement_table_init): Commonise error message.
        (lang_init, open_output): Likewise.
        (lang_init, open_output): Likewise.
2005-11-03  Paul Brook  
2005-11-03  Paul Brook  
        * scripttempl/elf.sc: Add .init_array.* and .fini_array.*.
        * scripttempl/elf.sc: Add .init_array.* and .fini_array.*.
        * scripttempl/armbpabi.sc: Make init/fini array consistent with
        * scripttempl/armbpabi.sc: Make init/fini array consistent with
        elf.sc.
        elf.sc.
        * scripttempl/elf32sh-symbian.sc: Ditto.
        * scripttempl/elf32sh-symbian.sc: Ditto.
        * scripttempl/elfxtensa.sc: Ditto.
        * scripttempl/elfxtensa.sc: Ditto.
2005-11-03  Alan Modra  
2005-11-03  Alan Modra  
        * ldlang.h (lang_output_section_statement_type): Rearrange.  Remove
        * ldlang.h (lang_output_section_statement_type): Rearrange.  Remove
        memspec.  Make "processed" a bitfield.
        memspec.  Make "processed" a bitfield.
        (lang_data_statement_type, lang_reloc_statement_type): Rename
        (lang_data_statement_type, lang_reloc_statement_type): Rename
        output_vma to output_offset.
        output_vma to output_offset.
        * ldlang.c (lang_output_section_statement_lookup_1): Init
        * ldlang.c (lang_output_section_statement_lookup_1): Init
        all_input_readonly.  Don't init memspec.
        all_input_readonly.  Don't init memspec.
        (init_os): Remove incorrect comment.
        (init_os): Remove incorrect comment.
        (print_data_statement, print_reloc_statement): Adjust for
        (print_data_statement, print_reloc_statement): Adjust for
        lang_data_statement_type and lang_reloc_statement_type change.
        lang_data_statement_type and lang_reloc_statement_type change.
        (lang_size_sections_1, lang_add_reloc): Likewise.
        (lang_size_sections_1, lang_add_reloc): Likewise.
        * ldwrite.c (build_link_order): Likewise.
        * ldwrite.c (build_link_order): Likewise.
2005-10-30  Mark Mitchell  
2005-10-30  Mark Mitchell  
        * lexsup.c (help): Document "@FILE".
        * lexsup.c (help): Document "@FILE".
2005-10-30  H.J. Lu  
2005-10-30  H.J. Lu  
        * Makefile.am: Run "make dep-am".
        * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * dep-in.sed: Replace " ./" with " ".
        * dep-in.sed: Replace " ./" with " ".
2005-10-25  Arnold Metselaar  
2005-10-25  Arnold Metselaar  
        * Makefile.am: Add support for Z80
        * Makefile.am: Add support for Z80
        * Makefile.in: Regenerated
        * Makefile.in: Regenerated
        * configure.tgt: Add z80-*-coff
        * configure.tgt: Add z80-*-coff
        * emulparams/z80.sh: New file.
        * emulparams/z80.sh: New file.
        * emultempl/z80.em: New file.
        * emultempl/z80.em: New file.
        * scripttempl/z80.sc New file.
        * scripttempl/z80.sc New file.
        * NEWS: Mention this new support.
        * NEWS: Mention this new support.
2005-10-25  Alan Modra  
2005-10-25  Alan Modra  
        * po/ld.pot: Regenerate.
        * po/ld.pot: Regenerate.
2005-10-25  Chris Metcalf 
2005-10-25  Chris Metcalf 
        * ld.texinfo (--reduce-memory-overheads): Fix typo.
        * ld.texinfo (--reduce-memory-overheads): Fix typo.
2005-10-23  H.J. Lu  
2005-10-23  H.J. Lu  
        PR ld/1487
        PR ld/1487
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
        bfd_match_sections_by_type to match section types.
        bfd_match_sections_by_type to match section types.
        * ldlang.c (init_os): Take the input section. Call
        * ldlang.c (init_os): Take the input section. Call
        bfd_init_private_section_data if the input section isn't NULL.
        bfd_init_private_section_data if the input section isn't NULL.
        (exp_init_os): Pass NULL to init_os.
        (exp_init_os): Pass NULL to init_os.
        (map_input_to_output_sections): Likewise.
        (map_input_to_output_sections): Likewise.
        (lang_add_section): Pass the input section to init_os.
        (lang_add_section): Pass the input section to init_os.
2005-10-19  Paul Brook  
2005-10-19  Paul Brook  
        * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS.
        * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS.
2005-10-15  H.J. Lu  
2005-10-15  H.J. Lu  
        PR ld/1467
        PR ld/1467
        * emultempl/elf32.em: Include "elf-bfd.h".
        * emultempl/elf32.em: Include "elf-bfd.h".
        (gld${EMULATION_NAME}_place_orphan): Check section type and
        (gld${EMULATION_NAME}_place_orphan): Check section type and
        don't use section name for ELF input sections.
        don't use section name for ELF input sections.
        * ld.texinfo: Document orphan section processing.
        * ld.texinfo: Document orphan section processing.
        * ldlang.c (lang_output_section_find_by_flags): Match section
        * ldlang.c (lang_output_section_find_by_flags): Match section
        types by calling bfd_match_sections_by_type.
        types by calling bfd_match_sections_by_type.
2005-10-13  Mark Mitchell  
2005-10-13  Mark Mitchell  
        * ld.texino: Describe double-quoted string syntax for version
        * ld.texino: Describe double-quoted string syntax for version
        nodes.
        nodes.
        * ldlang.h (lang_new_vers_pattern): Add literal_p parameter.
        * ldlang.h (lang_new_vers_pattern): Add literal_p parameter.
        * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER.
        * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER.
        Adjust calls to lang_new_vers_pattern to pass literal_p argument.
        Adjust calls to lang_new_vers_pattern to pass literal_p argument.
        * ldlang.c (lang_vers_match): Fix indentation.  Do not glob-match
        * ldlang.c (lang_vers_match): Fix indentation.  Do not glob-match
        version nodes without a pattern.
        version nodes without a pattern.
        (lang_new_vers_pattern): Add literal_p parameter.
        (lang_new_vers_pattern): Add literal_p parameter.
        (lang_do_version_exports_section): Pass it.
        (lang_do_version_exports_section): Pass it.
2005-10-12  Mark Mitchell  
2005-10-12  Mark Mitchell  
        * NEWS: Mention @file.
        * NEWS: Mention @file.
2005-10-05  H.J. Lu  
2005-10-05  H.J. Lu  
        PR ld/1396
        PR ld/1396
        * ldcref.c (check_refs): Accept bfd_boolean.
        * ldcref.c (check_refs): Accept bfd_boolean.
        (check_local_sym_xref): Pass FALSE to check_refs.
        (check_local_sym_xref): Pass FALSE to check_refs.
        (check_nocrossref): Pass TRUE to check_refs.
        (check_nocrossref): Pass TRUE to check_refs.
        (check_refs_info): Add bfd_boolean.
        (check_refs_info): Add bfd_boolean.
        (check_refs): Add bfd_boolean to check_refs_info.
        (check_refs): Add bfd_boolean to check_refs_info.
        (check_reloc_refs): Match relocations with proper symbols.
        (check_reloc_refs): Match relocations with proper symbols.
        * ldmisc.c (vfinfo): Don't add extra ":\n".
        * ldmisc.c (vfinfo): Don't add extra ":\n".
2005-10-05  Danny Smith  
2005-10-05  Danny Smith  
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
        default entry symbol to ENTRY here.
        default entry symbol to ENTRY here.
        * scripttempl/pe.sc: Not here.
        * scripttempl/pe.sc: Not here.
2005-09-30  James E Wilson  
2005-09-30  James E Wilson  
        * ldlang.c (lang_startup): Add missing ": " to einfo call.
        * ldlang.c (lang_startup): Add missing ": " to einfo call.
2005-09-30  H.J. Lu  
2005-09-30  H.J. Lu  
        * Makefile.am: Run "make dep-am".
        * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * aclocal.m4: Likewise.
        * aclocal.m4: Likewise.
2005-09-30  H.J. Lu  
2005-09-30  H.J. Lu  
        * ldlang.c (output_statement_hash_entry): New type.
        * ldlang.c (output_statement_hash_entry): New type.
        (output_statement_table): New variable for hash table.
        (output_statement_table): New variable for hash table.
        (output_statement_newfunc): New function.
        (output_statement_newfunc): New function.
        (output_statement_table_init): Likewise.
        (output_statement_table_init): Likewise.
        (output_statement_table_free): Likewise.
        (output_statement_table_free): Likewise.
        (lang_init): Call output_statement_table_init.
        (lang_init): Call output_statement_table_init.
        (lang_finish): Renamed to ...
        (lang_finish): Renamed to ...
        (lang_end): This.
        (lang_end): This.
        (lang_process): Updated.
        (lang_process): Updated.
        (lang_finish): New function.
        (lang_finish): New function.
        (lang_output_section_find_1): Use hash table.
        (lang_output_section_find_1): Use hash table.
        (lang_output_section_statement_lookup_1): Likewise.
        (lang_output_section_statement_lookup_1): Likewise.
        * ldlang.h (lang_finish): New.
        * ldlang.h (lang_finish): New.
        * ldmain.c (main): Call lang_finish.
        * ldmain.c (main): Call lang_finish.
2005-09-30  Mark Mitchell  
2005-09-30  Mark Mitchell  
        * ldmain.c (main): Use expandargv.
        * ldmain.c (main): Use expandargv.
2005-09-30  Catherine Moore  
2005-09-30  Catherine Moore  
        * Makefile.am: Bfin support.
        * Makefile.am: Bfin support.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * aclocal.m4: Regenerated.
        * aclocal.m4: Regenerated.
        * configure.tgt: Bfin support.
        * configure.tgt: Bfin support.
        * emulparams/bfin.sh: New file.
        * emulparams/bfin.sh: New file.
        * emultempl/bfin.em: New file.
        * emultempl/bfin.em: New file.
2005-09-30  Matthias Kurz  
2005-09-30  Matthias Kurz  
        * ld.h: Prevent the inclusion of  from the Solaris
        * ld.h: Prevent the inclusion of  from the Solaris
        version of  when ENABLE_NLS is not defined.
        version of  when ENABLE_NLS is not defined.
2005-09-27  H.J. Lu  
2005-09-27  H.J. Lu  
        * ld.texinfo (ALIGN): Document it as forcing output section
        * ld.texinfo (ALIGN): Document it as forcing output section
        alignment.
        alignment.
        * ldgram.y (ALIGN): Support it for forcing output section
        * ldgram.y (ALIGN): Support it for forcing output section
        alignment.
        alignment.
2005-09-20  Alan Modra  
2005-09-20  Alan Modra  
        * ldlang.h (lang_output_section_statement_struct): Change type of
        * ldlang.h (lang_output_section_statement_struct): Change type of
        "processed" to bfd_boolean.
        "processed" to bfd_boolean.
        * ldexp.c (fold_name): Update references to os->processed.
        * ldexp.c (fold_name): Update references to os->processed.
        * ldlang.c (lang_output_section_statement_lookup_1): Likewise.
        * ldlang.c (lang_output_section_statement_lookup_1): Likewise.
        (lang_size_sections_1): Likewise.
        (lang_size_sections_1): Likewise.
        (lang_reset_memory_regions): Likewise.
        (lang_reset_memory_regions): Likewise.
        PR ld/1353
        PR ld/1353
        * ldlang.c (lang_size_sections_1): Process addr_tree earlier,
        * ldlang.c (lang_size_sections_1): Process addr_tree earlier,
        so that unused output section statements affect dot.
        so that unused output section statements affect dot.
2005-09-08  Jakub Jelinek  
2005-09-08  Jakub Jelinek  
        * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
        * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
        and --eh-frame-hdr options.
        and --eh-frame-hdr options.
2005-09-07  Alan Modra  
2005-09-07  Alan Modra  
        * ldexp.c (fold_name ): Return 0 for non-existent section.
        * ldexp.c (fold_name ): Return 0 for non-existent section.
        (exp_fold_tree_1): Print assert message only in final stage of
        (exp_fold_tree_1): Print assert message only in final stage of
        linking.  Trigger assertion failure if expression cannot be
        linking.  Trigger assertion failure if expression cannot be
        evaluated.
        evaluated.
2005-09-06  H.J. Lu  
2005-09-06  H.J. Lu  
        PR ld/1263
        PR ld/1263
        * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
        * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
        --just-symbols on DSO.
        --just-symbols on DSO.
2005-08-18  Alan Modra  
2005-08-18  Alan Modra  
        * scripttempl/elf.sc: Remove commented out defines.
        * scripttempl/elf.sc: Remove commented out defines.
2005-08-18  Alan Modra  
2005-08-18  Alan Modra  
        * emulparams/a29k.sh: Delete.
        * emulparams/a29k.sh: Delete.
        * emulparams/ebmon29k.sh: Delete.
        * emulparams/ebmon29k.sh: Delete.
        * emulparams/sa29200.sh: Delete.
        * emulparams/sa29200.sh: Delete.
        * Makefile.am: Remove a29k support.
        * Makefile.am: Remove a29k support.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
        * ld.texinfo: Likewise.
        * ld.texinfo: Likewise.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2005-08-17  Jakub Jelinek  
2005-08-17  Jakub Jelinek  
        * ldgram.y (vers_defns): Don't lose pattern list before
        * ldgram.y (vers_defns): Don't lose pattern list before
        extern NAME {}.  Handle global, local and extern symbol names.
        extern NAME {}.  Handle global, local and extern symbol names.
2005-08-17  Kaz Kojima  
2005-08-17  Kaz Kojima  
        * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
        * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
        Don't increment rel_count of .cranges here.  Set rawsize of .cranges.
        Don't increment rel_count of .cranges here.  Set rawsize of .cranges.
2005-08-10  Nick Clifton  
2005-08-10  Nick Clifton  
        * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions
        * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions
        before lang_size_sections.
        before lang_size_sections.
2005-08-09  Alan Modra  
2005-08-09  Alan Modra  
        * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.
        * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.
2005-08-08  Eric Doenges 
2005-08-08  Eric Doenges 
        * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants.
        * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants.
        Add rules to build these emulations.
        Add rules to build these emulations.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (msp430): Add the new variants to the
        * configure.tgt (msp430): Add the new variants to the
        targ_extra_emuls list.
        targ_extra_emuls list.
        * emulparams/msp430all.sh: Add entries for the msp430x21xx
        * emulparams/msp430all.sh: Add entries for the msp430x21xx
        variants.
        variants.
2005-08-05  H.J. Lu  
2005-08-05  H.J. Lu  
        * ld.texinfo: Document PROVIDE_HIDDEN.
        * ld.texinfo: Document PROVIDE_HIDDEN.
        * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked.
        * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked.
        (exp_provide): Add and set hidden.
        (exp_provide): Add and set hidden.
        * ldexp.h (etree_type): Add hidden to assign.
        * ldexp.h (etree_type): Add hidden to assign.
        * ldgram.y (PROVIDE_HIDDEN): New.
        * ldgram.y (PROVIDE_HIDDEN): New.
        * ldlex.l (PROVIDE_HIDDEN): Likewise.
        * ldlex.l (PROVIDE_HIDDEN): Likewise.
        * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound
        * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound
        symbols.
        symbols.
2005-08-05  Alan Modra  
2005-08-05  Alan Modra  
        * emulparams/elf_x86_64.sh: Revert last change.
        * emulparams/elf_x86_64.sh: Revert last change.
        * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here.
        * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here.
2005-08-05  Alan Modra  
2005-08-05  Alan Modra  
        * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from
        * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from
        OTHER_END_SYMBOLS.
        OTHER_END_SYMBOLS.
        * emulparams/armelf_linux.sh: Likewise.
        * emulparams/armelf_linux.sh: Likewise.
        * emulparams/armnto.sh: Likewise.
        * emulparams/armnto.sh: Likewise.
        * emulparams/criself.sh: Likewise.
        * emulparams/criself.sh: Likewise.
        * emulparams/elf32mcore.sh: Likewise.
        * emulparams/elf32mcore.sh: Likewise.
        * emulparams/criself.sh (OTHER_SYMBOLS): Define.
        * emulparams/criself.sh (OTHER_SYMBOLS): Define.
        * emulparams/crislinux.sh (OTHER_SYMBOLS): Define.
        * emulparams/crislinux.sh (OTHER_SYMBOLS): Define.
        (OTHER_END_SYMBOLS): Don't define.
        (OTHER_END_SYMBOLS): Don't define.
        * emulparams/elf32fr30.sh: Likewise.
        * emulparams/elf32fr30.sh: Likewise.
        * emulparams/elf64mmix.sh: Likewise.
        * emulparams/elf64mmix.sh: Likewise.
        * emulparams/hppa64linux.sh: Likewise.
        * emulparams/hppa64linux.sh: Likewise.
        * emulparams/m32relf.sh: Likewise.
        * emulparams/m32relf.sh: Likewise.
        * emulparams/vxworks.sh: Likewise.
        * emulparams/vxworks.sh: Likewise.
        * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete.
        * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete.
        (OTHER_BSS_END_SYMBOLS): Add.
        (OTHER_BSS_END_SYMBOLS): Add.
        (OTHER_END_SYMBOLS): Move before current end sym definitions.
        (OTHER_END_SYMBOLS): Move before current end sym definitions.
        (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script.
        (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script.
        * scripttempl/elf.sc: Likewise.
        * scripttempl/elf.sc: Likewise.
        * scripttempl/elf32sh-symbian.sc: Likewise.
        * scripttempl/elf32sh-symbian.sc: Likewise.
        * scripttempl/elf_chaos.sc: Likewise.
        * scripttempl/elf_chaos.sc: Likewise.
        * scripttempl/elfxtensa.sc: Likewise.
        * scripttempl/elfxtensa.sc: Likewise.
        * scripttempl/iq2000.sc: Likewise.
        * scripttempl/iq2000.sc: Likewise.
        * scripttempl/xstormy16.sc: Likewise.
        * scripttempl/xstormy16.sc: Likewise.
        * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete.
        * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete.
        (REL_LDATA, REL_LBSS, REL_LRODATA): Delete.
        (REL_LDATA, REL_LBSS, REL_LRODATA): Delete.
        (REL_LARGE, LARGE_SECTIONS): Add.
        (REL_LARGE, LARGE_SECTIONS): Add.
        * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text.
        * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text.
        (REL_LARGE): Define.
        (REL_LARGE): Define.
        * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
        * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
        (LARGE_SECTIONS): Define.
        (LARGE_SECTIONS): Define.
        * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
        * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
        (LARGE_SECTIONS): Define.
        (LARGE_SECTIONS): Define.
2005-08-04  Alan Modra  
2005-08-04  Alan Modra  
        * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete.
        * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete.
        * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete.
        * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete.
        (struct ld_emulation_xfer_struct): Remove do_assignments field.
        (struct ld_emulation_xfer_struct): Remove do_assignments field.
        * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments.
        * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments.
        * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New.
        * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New.
        (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New.
        (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New.
        * emultempl/aix.em (ld_*_emulation): Delete do_assignments init.
        * emultempl/aix.em (ld_*_emulation): Delete do_assignments init.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armcoff.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/elf32.em: Likewise.
        (gld*_provide_bound_symbols): Delete.
        (gld*_provide_bound_symbols): Delete.
        (gld*_provide_init_fini_syms): Delete.
        (gld*_provide_init_fini_syms): Delete.
        (gld*_before_allocation): Don't call ldemul_do_assignments.
        (gld*_before_allocation): Don't call ldemul_do_assignments.
        * emultempl/ppc32elf.em (ppc_do_assignments): Delete.
        * emultempl/ppc32elf.em (ppc_do_assignments): Delete.
        (LDEMUL_DO_ASSIGNMENTS): Delete.
        (LDEMUL_DO_ASSIGNMENTS): Delete.
        * scripttempl/elf.sc: Provide init/fini syms.  Add SBSS_START_SYMBOLS,
        * scripttempl/elf.sc: Provide init/fini syms.  Add SBSS_START_SYMBOLS,
        SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.
        SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.
2005-08-04  Alan Modra  
2005-08-04  Alan Modra  
        * Makefile.am (eelf32m32c.c): Fix dependencies.
        * Makefile.am (eelf32m32c.c): Fix dependencies.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2005-08-04  Alan Modra  
2005-08-04  Alan Modra  
        * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally.
        * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally.
        (finish_default): New function.
        (finish_default): New function.
        * ldemul.h (finish_default): Declare.
        * ldemul.h (finish_default): Declare.
        * emultempl/aix.em (gld*_before_allocation): Call
        * emultempl/aix.em (gld*_before_allocation): Call
        before_allocation_default rather than strip_excluded_output_sections.
        before_allocation_default rather than strip_excluded_output_sections.
        (ld_*_emulation): Init finish field to finish_default.
        (ld_*_emulation): Init finish field to finish_default.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armcoff.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/hppaelf.em: Likewise.
        * emultempl/hppaelf.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/mmo.em: Likewise.
        * emultempl/mmo.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/ppc64elf.em: Likewise.
        * emultempl/ppc64elf.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/vanilla.em: Likewise.
2005-08-03  Alan Modra  
2005-08-03  Alan Modra  
        * ldlang.c (exp_init_os): Handle etree_provide.
        * ldlang.c (exp_init_os): Handle etree_provide.
        * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from..
        * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from..
        (OTHER_BSS_END_SYMBOLS): ..this.
        (OTHER_BSS_END_SYMBOLS): ..this.
        * emulparams/armelf_linux.sh: Likewise.
        * emulparams/armelf_linux.sh: Likewise.
        * emulparams/armnto.sh: Likewise.
        * emulparams/armnto.sh: Likewise.
        * emulparams/criself.sh: Likewise.
        * emulparams/criself.sh: Likewise.
        * emulparams/crislinux.sh: Likewise.
        * emulparams/crislinux.sh: Likewise.
        * emulparams/elf32frv.sh: Likewise.
        * emulparams/elf32frv.sh: Likewise.
        * emulparams/elf32mcore.sh: Likewise.
        * emulparams/elf32mcore.sh: Likewise.
        * emulparams/elf32ppc.sh: Likewise.
        * emulparams/elf32ppc.sh: Likewise.
        * emulparams/elf32ppclinux.sh: Likewise.
        * emulparams/elf32ppclinux.sh: Likewise.
        * emulparams/hppa64linux.sh: Likewise.
        * emulparams/hppa64linux.sh: Likewise.
        * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not
        * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not
        $OTHER_BSS_END_SYMBOLS.
        $OTHER_BSS_END_SYMBOLS.
        * scripttempl/elf32sh-symbian.sc: Likewise.
        * scripttempl/elf32sh-symbian.sc: Likewise.
        * scripttempl/elf_chaos.sc: Likewise.
        * scripttempl/elf_chaos.sc: Likewise.
        * scripttempl/iq2000.sc: Likewise.
        * scripttempl/iq2000.sc: Likewise.
        * scripttempl/xstormy16.sc: Likewise.
        * scripttempl/xstormy16.sc: Likewise.
        * scripttempl/elf.sc: Likewise.  Delete __bss_start comment.
        * scripttempl/elf.sc: Likewise.  Delete __bss_start comment.
        * scripttempl/elfxtensa.sc: Likewise.
        * scripttempl/elfxtensa.sc: Likewise.
2005-07-29  Nick Clifton  
2005-07-29  Nick Clifton  
        * ldmain.c (main): Allow -shared and -static to be used together.
        * ldmain.c (main): Allow -shared and -static to be used together.
        * ld.texinfo (-static): Mention that it is allowed with -shared.
        * ld.texinfo (-static): Mention that it is allowed with -shared.
2005-07-28  DJ Delorie  
2005-07-28  DJ Delorie  
        * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a
        * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a
        unary & address operator, as that breaks GCC's strict aliasing
        unary & address operator, as that breaks GCC's strict aliasing
        rules.
        rules.
2005-07-25  Jan Hubicka  
2005-07-25  Jan Hubicka  
            H.J. Lu  
            H.J. Lu  
        * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.
        * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.
        * scripttempl/elf.sc: Updated for large section support.
        * scripttempl/elf.sc: Updated for large section support.
2005-07-21  Ralf Corsepius  
2005-07-21  Ralf Corsepius  
        * configure.tgt: Remove i[3-7]86-*-rtemself*.
        * configure.tgt: Remove i[3-7]86-*-rtemself*.
        Remove sparc-*-rtemself*.
        Remove sparc-*-rtemself*.
2005-07-21  Ben Elliston  
2005-07-21  Ben Elliston  
        * ldgram.y (ldgram_want_filename): Remove unused static.
        * ldgram.y (ldgram_want_filename): Remove unused static.
2005-07-20  DJ Delorie  
2005-07-20  DJ Delorie  
        * emulparams/elf32m32c.sh (TEMPLATE_NAME): New.
        * emulparams/elf32m32c.sh (TEMPLATE_NAME): New.
        (EXTRA_EM_FILE): New.
        (EXTRA_EM_FILE): New.
2005-07-19  H.J. Lu  
2005-07-19  H.J. Lu  
        * ldmain.c (main): Reindent.
        * ldmain.c (main): Reindent.
2005-07-19  Paul Brook  
2005-07-19  Paul Brook  
        * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
        * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
        to determine dynamic linker name.
        to determine dynamic linker name.
2005-07-18  Nick Clifton  
2005-07-18  Nick Clifton  
        * configure.tgt: Restore alpha ordering to list of arches.
        * configure.tgt: Restore alpha ordering to list of arches.
2005-07-16  Alan Modra  
2005-07-16  Alan Modra  
        * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype.
        * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype.
        (gld*_before_allocation): Call ldemul_do_assignments rather than
        (gld*_before_allocation): Call ldemul_do_assignments rather than
        gld*_provide_init_fini_syms directly.
        gld*_provide_init_fini_syms directly.
        * emultempl/ppc32elf.em (gld*_after_allocation): Delete.
        * emultempl/ppc32elf.em (gld*_after_allocation): Delete.
        (ppc_do_assignments): New function.
        (ppc_do_assignments): New function.
        (LDEMUL_AFTER_ALLOCATION): Don't define.
        (LDEMUL_AFTER_ALLOCATION): Don't define.
        (LDEMUL_DO_ASSIGNMENTS): Define.
        (LDEMUL_DO_ASSIGNMENTS): Define.
2005-07-16  Alan Modra  
2005-07-16  Alan Modra  
        * Makefile.am: Run "make dep-am".
        * Makefile.am: Run "make dep-am".
        (emipsidt.c, emipsidtl.c): Depend on generic.em.
        (emipsidt.c, emipsidtl.c): Depend on generic.em.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2005-07-15  Alan Modra  
2005-07-15  Alan Modra  
        * ldemul.c (ldemul_do_assignments): New function.
        * ldemul.c (ldemul_do_assignments): New function.
        (do_assignments_default): New function.
        (do_assignments_default): New function.
        * ldemul.h (ldemul_do_assignments): Declare.
        * ldemul.h (ldemul_do_assignments): Declare.
        (do_assignments_default): Declare.
        (do_assignments_default): Declare.
        (struct ld_emulation_xfer_struct): Add do_assignments.
        (struct ld_emulation_xfer_struct): Add do_assignments.
        * ldlang.c (lang_do_assignments) Call ldemul_do_assignments.
        * ldlang.c (lang_do_assignments) Call ldemul_do_assignments.
        * emultempl/aix.em (ld_*_emulation): Init do_assignments field.
        * emultempl/aix.em (ld_*_emulation): Init do_assignments field.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armcoff.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms.
        * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms.
        (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
        (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
2005-07-14  Jim Blandy  
2005-07-14  Jim Blandy  
        Add support for the Renesas M32C and M16C.
        Add support for the Renesas M32C and M16C.
        * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
        * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
        (eelf32m32c.c): New target.
        (eelf32m32c.c): New target.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * configure.tgt: Add case for m32c-*-elf.
        * configure.tgt: Add case for m32c-*-elf.
        * emulparams/elf32m32c.sh: New file.
        * emulparams/elf32m32c.sh: New file.
2005-07-14  Alan Modra  
2005-07-14  Alan Modra  
        * ldlang.c (strip_excluded_output_sections): Don't call
        * ldlang.c (strip_excluded_output_sections): Don't call
        bfd_gc_sections.
        bfd_gc_sections.
        * emultempl/elf32.em (gld*_provide_bound_symbols): Move.
        * emultempl/elf32.em (gld*_provide_bound_symbols): Move.
        (gld*_provide_init_fini_syms): Move.
        (gld*_provide_init_fini_syms): Move.
        (gld*_before_allocation): Call the above from here..
        (gld*_before_allocation): Call the above from here..
        (gld*_finish): ..not here.  Call _bfd_elf_fix_excluded_sec_syms.
        (gld*_finish): ..not here.  Call _bfd_elf_fix_excluded_sec_syms.
        * emultempl/hppaelf.em (hppaelf_finish): Likewise.
        * emultempl/hppaelf.em (hppaelf_finish): Likewise.
        * emultempl/ppc64elf.em (ppc_finish): Likewise.
        * emultempl/ppc64elf.em (ppc_finish): Likewise.
2005-07-10  Ralf Corsepius 
2005-07-10  Ralf Corsepius 
        * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*,
        * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*,
        i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*,
        i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*,
        powerpcle-*-rtems*.
        powerpcle-*-rtems*.
2005-07-09  Christopher Faylor  
2005-07-09  Christopher Faylor  
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
        relocation by default.
        relocation by default.
        (compute_dll_image_base): Avoid linking into cygwin dll address space.
        (compute_dll_image_base): Avoid linking into cygwin dll address space.
2005-07-08  Alan Modra  
2005-07-08  Alan Modra  
        * ldlang.c (wild_sort): Formatting.
        * ldlang.c (wild_sort): Formatting.
        (strip_excluded_output_sections): Strip zero size sections here.
        (strip_excluded_output_sections): Strip zero size sections here.
        * emultempl/elf32.em (gld*_strip_empty_sections): Delete.
        * emultempl/elf32.em (gld*_strip_empty_sections): Delete.
        (gld*_finish): Don't call the above.
        (gld*_finish): Don't call the above.
        * emultempl/hppaelf.em (hppaelf_finish): Likewise.
        * emultempl/hppaelf.em (hppaelf_finish): Likewise.
        * emultempl/ppc64elf.em (ppc_finish): Likewise.
        * emultempl/ppc64elf.em (ppc_finish): Likewise.
2005-07-05  Paul Brook  
2005-07-05  Paul Brook  
        * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
        * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
        (eelf32ppcvxworks.o): Add dependencies.
        (eelf32ppcvxworks.o): Add dependencies.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add entry for powerpc-vxworks.
        * configure.tgt: Add entry for powerpc-vxworks.
        * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
        * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
        * emulparams/elf32ppcvxworks.sh: New file.
        * emulparams/elf32ppcvxworks.sh: New file.
        * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
        * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
        (is_ppc_elf32_vec): New function.
        (is_ppc_elf32_vec): New function.
        (ppc_after_open, ppc_before_allocation,
        (ppc_after_open, ppc_before_allocation,
        gld${EMULATION_NAME}_after_allocation): Use it.
        gld${EMULATION_NAME}_after_allocation): Use it.
2005-07-05  Peter S. Mazinger" 
2005-07-05  Peter S. Mazinger" 
        * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes".
        * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes".
        * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes".
        * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes".
2005-07-04  Mike Frysinger 
2005-07-04  Mike Frysinger 
        * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in
        * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in
        name.
        name.
2005-07-04  Kazuhiro Inaoka  
2005-07-04  Kazuhiro Inaoka  
        * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
        * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
2005-07-04  Aurelien Jarno  
2005-07-04  Aurelien Jarno  
        * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
        * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
2005-07-01  Alan Modra  
2005-07-01  Alan Modra  
        * scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
        * scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
2005-06-30  Ben Elliston  
2005-06-30  Ben Elliston  
        * Makefile.am (check-DEJAGNU): Don't search for expect.
        * Makefile.am (check-DEJAGNU): Don't search for expect.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2005-06-30  Ben Elliston  
2005-06-30  Ben Elliston  
        * Makefile.am (EXPECT): Set to expect.
        * Makefile.am (EXPECT): Set to expect.
        (RUNTEST): Likewise, set to runtest.
        (RUNTEST): Likewise, set to runtest.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2005-06-16  Alexander Klimov  
2005-06-16  Alexander Klimov  
        * emultempl/armelf.em: Add quotes to avoid a null test
        * emultempl/armelf.em: Add quotes to avoid a null test
        expression.
        expression.
2005-06-12  Daniel Jacobowitz  
2005-06-12  Daniel Jacobowitz  
        * ld.texinfo (Command Line Options): Add @item for --hash-size.
        * ld.texinfo (Command Line Options): Add @item for --hash-size.
2005-06-10  Alan Modra  
2005-06-10  Alan Modra  
        * scripttempt/elf.sc (.bss): Align tail in a way that allows
        * scripttempt/elf.sc (.bss): Align tail in a way that allows
        empty section pruning.
        empty section pruning.
2005-06-09  Steve Ellcey  
2005-06-09  Steve Ellcey  
        * configure.in (AM_BINUTILS_WARNINGS): Add.
        * configure.in (AM_BINUTILS_WARNINGS): Add.
        (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS.
        (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS.
        * config.in: Regenerate.
        * config.in: Regenerate.
        * configure: Regenerate.
        * configure: Regenerate.
        * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_*
        * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_*
        * ldmain.c: Ditto.
        * ldmain.c: Ditto.
2005-06-09  Alan Modra  
2005-06-09  Alan Modra  
        * ldexp.c (fold_unary ): Revert last change.
        * ldexp.c (fold_unary ): Revert last change.
2005-06-09  Alan Modra  
2005-06-09  Alan Modra  
        * ld.h (lang_phase_type): Move to..
        * ld.h (lang_phase_type): Move to..
        * ldexp.h: ..here.  Add lang_mark_phase_enum.
        * ldexp.h: ..here.  Add lang_mark_phase_enum.
        (node_type): Remove etree_undef and etree_unspec.
        (node_type): Remove etree_undef and etree_unspec.
        (exp_data_seg): Delete.
        (exp_data_seg): Delete.
        (struct ldexp_control, expld): New.
        (struct ldexp_control, expld): New.
        (invalid, exp_mark_used_section): Delete.
        (invalid, exp_mark_used_section): Delete.
        (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill,
        (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill,
        exp_get_abs_int): Update prototypes.
        exp_get_abs_int): Update prototypes.
        * ldexp.c (assigning_to_dot): Delete.
        * ldexp.c (assigning_to_dot): Delete.
        (expld): Define.
        (expld): Define.
        (make_abs): Operate directly on expld.result.  Update all callers.
        (make_abs): Operate directly on expld.result.  Update all callers.
        (new_abs): Likewise.  Return void.
        (new_abs): Likewise.  Return void.
        (new_rel_from_abs): Rename from new_rel_from_section.
        (new_rel_from_abs): Rename from new_rel_from_section.
        (new_rel, new_rel_from_abs): Operate on expld.result and return void.
        (new_rel, new_rel_from_abs): Operate on expld.result and return void.
        Update all callers.
        Update all callers.
        (fold_unary): Operate on expld.result and return void.  Remove
        (fold_unary): Operate on expld.result and return void.  Remove
        "current_section", "allocation_done", "dot", "dotp" and "mark_used"
        "current_section", "allocation_done", "dot", "dotp" and "mark_used"
        params.  Update all callers.
        params.  Update all callers.
        (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise.
        (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise.
        (fold_unary ): Ensure alignment is absolute.
        (fold_unary ): Ensure alignment is absolute.
        (fold_unary ): Use make_abs.
        (fold_unary ): Use make_abs.
        (fold_unary ): Evaluate mark_phase as for
        (fold_unary ): Evaluate mark_phase as for
        allocating_phase.
        allocating_phase.
        (fold_binary ): Ditto.
        (fold_binary ): Ditto.
        (fold_binary <'%','/'>): Don't error if marking.
        (fold_binary <'%','/'>): Don't error if marking.
        (fold_name ): Don't call bfd_sizeof_headers when
        (fold_name ): Don't call bfd_sizeof_headers when
        marking.
        marking.
        (fold_name ): Remove FIXME; -R is handled correctly.  Don't
        (fold_name ): Remove FIXME; -R is handled correctly.  Don't
        error when marking.
        error when marking.
        (fold_name ): Don't set SEC_KEEP.
        (fold_name ): Don't set SEC_KEEP.
        (exp_fold_tree_1): Don't error when marking.
        (exp_fold_tree_1): Don't error when marking.
        (exp_fold_tree_1 ): Evaluate in all phases except first.
        (exp_fold_tree_1 ): Evaluate in all phases except first.
        (exp_fold_tree_1 ): Don't check for NULL
        (exp_fold_tree_1 ): Don't check for NULL
        current section, instead check for NULL dotp.
        current section, instead check for NULL dotp.
        (exp_fold_tree_1 ): Don't evaluate the assignment
        (exp_fold_tree_1 ): Don't evaluate the assignment
        source unless the symbol is referenced and undefined.
        source unless the symbol is referenced and undefined.
        (exp_fold_tree): Remove "allocation_done" and "dot" params.  Save
        (exp_fold_tree): Remove "allocation_done" and "dot" params.  Save
        params to expld.
        params to expld.
        (exp_fold_tree_no_dot): Remove "current_section", "allocation_done
        (exp_fold_tree_no_dot): Remove "current_section", "allocation_done
        and "mark_used" params.  Save params to expld.  Update all callers.
        and "mark_used" params.  Save params to expld.  Update all callers.
        (exp_assop): Do without temp var.
        (exp_assop): Do without temp var.
        (exp_print_tree ): Delete code.
        (exp_print_tree ): Delete code.
        (exp_get_vma): Remove "allocation_done" param.  Correct error return.
        (exp_get_vma): Remove "allocation_done" param.  Correct error return.
        (exp_get_fill, exp_get_abs_int): Likewise.
        (exp_get_fill, exp_get_abs_int): Likewise.
        (exp_get_value_int): Remove "allocation_done" param.
        (exp_get_value_int): Remove "allocation_done" param.
        (exp_mark_used_section): Delete.
        (exp_mark_used_section): Delete.
        * ldgram.y (fill_exp): Update exp_get_fill call.
        * ldgram.y (fill_exp): Update exp_get_fill call.
        (origin_spec, length_spec): Update exp_get_vma call.
        (origin_spec, length_spec): Update exp_get_vma call.
        * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration.
        * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration.
        (lang_mark_used_section_1, lang_mark_used_section): Delete.
        (lang_mark_used_section_1, lang_mark_used_section): Delete.
        (strip_excluded_output_sections): Call one_lang_size_sections_pass in
        (strip_excluded_output_sections): Call one_lang_size_sections_pass in
        marking mode.  Merge old lang_mark_used_section code.  Correct handling
        marking mode.  Merge old lang_mark_used_section code.  Correct handling
        of output sections with excluded input sections and data statements.
        of output sections with excluded input sections and data statements.
        Don't drop non-zero sized sections.  Don't zap os->bfd_section.
        Don't drop non-zero sized sections.  Don't zap os->bfd_section.
        Do set SEC_EXCLUDE when appropriate.
        Do set SEC_EXCLUDE when appropriate.
        (print_output_section_statement): Update for changed ldexp.c
        (print_output_section_statement): Update for changed ldexp.c
        interface.
        interface.
        (print_assignment, lang_size_sections_1): Likewise.
        (print_assignment, lang_size_sections_1): Likewise.
        (lang_do_assignments_1, lang_enter_output_section_statement): Likewise.
        (lang_do_assignments_1, lang_enter_output_section_statement): Likewise.
        (lang_new_phdr, lang_record_phdrs): Likewise.
        (lang_new_phdr, lang_record_phdrs): Likewise.
        (lang_size_sections): Likewise.
        (lang_size_sections): Likewise.
        (insert_pad): Use following statement if it is a pad, rather than
        (insert_pad): Use following statement if it is a pad, rather than
        creating a new one.
        creating a new one.
        (lang_size_sections_1 ): Do
        (lang_size_sections_1 ): Do
        process ignored output section to set vma and lma, but don't
        process ignored output section to set vma and lma, but don't
        update dot for these sections.  Don't error if marking.
        update dot for these sections.  Don't error if marking.
        (lang_size_sections_1 ): Don't
        (lang_size_sections_1 ): Don't
        update dot for ignored sections.
        update dot for ignored sections.
        (lang_size_sections_1 ): Don't mark absolute
        (lang_size_sections_1 ): Don't mark absolute
        section with SEC_ALLOC.
        section with SEC_ALLOC.
        (one_lang_size_sections_pass): New function.
        (one_lang_size_sections_pass): New function.
        (lang_size_sections): Remove first five params.  Set expld.phase on
        (lang_size_sections): Remove first five params.  Set expld.phase on
        entry and exit.   Use one_lang_size_sections_pass.
        entry and exit.   Use one_lang_size_sections_pass.
        (lang_do_assignments): Remove all params.  Update all callers.
        (lang_do_assignments): Remove all params.  Update all callers.
        (lang_reset_memory_regions): Clear os->processed for all output
        (lang_reset_memory_regions): Clear os->processed for all output
        section statements.
        section statements.
        * ldlang.h (lang_do_assignments): Update prototype.
        * ldlang.h (lang_do_assignments): Update prototype.
        (lang_size_sections): Likewise.
        (lang_size_sections): Likewise.
        (one_lang_size_sections_pass): Declare.
        (one_lang_size_sections_pass): Declare.
        * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
        * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
        lang_size_sections and lang_do_assignments calls.
        lang_size_sections and lang_do_assignments calls.
        * emultempl/elf32.em (layout_sections_again): Likewise.
        * emultempl/elf32.em (layout_sections_again): Likewise.
        * emultempl/ppc64elf.em (ppc_before_allocation): Use
        * emultempl/ppc64elf.em (ppc_before_allocation): Use
        one_lang_size_sections_pass.
        one_lang_size_sections_pass.
2005-06-08  Aldy Hernandez  
2005-06-08  Aldy Hernandez  
        * emulparams/elf32ms1.sh: New.
        * emulparams/elf32ms1.sh: New.
2005-06-07  Eric Christopher  
2005-06-07  Eric Christopher  
        * Makefile.am (eelf32ms1.c): Use tab.
        * Makefile.am (eelf32ms1.c): Use tab.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2005-06-07  Aldy Hernandez  
2005-06-07  Aldy Hernandez  
            Michael Snyder  
            Michael Snyder  
            Stan Cox  
            Stan Cox  
        * configure.tgt: Same.
        * configure.tgt: Same.
        * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o.
        * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o.
        (eelf32ms1.c): Add eelf32ms1.c rule.
        (eelf32ms1.c): Add eelf32ms1.c rule.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2005-06-06  Alan Modra  
2005-06-06  Alan Modra  
        * emultempl/ppc64elf.em (ppc_before_allocation): Always run
        * emultempl/ppc64elf.em (ppc_before_allocation): Always run
        ppc64_elf_edit_opd.
        ppc64_elf_edit_opd.
2005-06-05  H.J. Lu  
2005-06-05  H.J. Lu  
        * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
        * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
        section only if the symbol will be defined.
        section only if the symbol will be defined.
2005-06-04  H.J. Lu  
2005-06-04  H.J. Lu  
        PR 992
        PR 992
        * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
        * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
        section for etree_assign, etree_provide and etree_provided.
        section for etree_assign, etree_provide and etree_provided.
        Call fold_binary on etree_binary.
        Call fold_binary on etree_binary.
        * ldlang.c (lang_mark_used_section_1): Handle load base.
        * ldlang.c (lang_mark_used_section_1): Handle load base.
2005-06-03  Alan Modra  
2005-06-03  Alan Modra  
        * ldmain.c (link_callbacks): Add einfo.
        * ldmain.c (link_callbacks): Add einfo.
        (add_archive_element): Use passed info, not link_info.
        (add_archive_element): Use passed info, not link_info.
        (constructor_callback): Likewise.
        (constructor_callback): Likewise.
        (reloc_overflow): Don't handle null bfd specially.
        (reloc_overflow): Don't handle null bfd specially.
        (reloc_dangerous, unattached_reloc): Likewise.
        (reloc_dangerous, unattached_reloc): Likewise.
        * ldmisc.c (vfinfo ): Print "ld generated" for null bfd.
        * ldmisc.c (vfinfo ): Print "ld generated" for null bfd.
        (vfinfo ): Handle null bfd.  Wrap comments.
        (vfinfo ): Handle null bfd.  Wrap comments.
2005-06-02  Alan Modra  
2005-06-02  Alan Modra  
        * ldexp.h (etree_value_type): Use "asection *" in place of
        * ldexp.h (etree_value_type): Use "asection *" in place of
        "struct lang_output_section_statement_struct *" for "section".
        "struct lang_output_section_statement_struct *" for "section".
        (exp_fold_tree): Likewise.
        (exp_fold_tree): Likewise.
        (exp_mark_used_section): Likewise.
        (exp_mark_used_section): Likewise.
        * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary,
        * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary,
        fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree,
        fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree,
        exp_mark_used_section): Likewise for "current_section" param.
        exp_mark_used_section): Likewise for "current_section" param.
        (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill,
        (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill,
        exp_get_abs_int): Adjust for above changes.
        exp_get_abs_int): Adjust for above changes.
        * ldlang.c (lang_mark_used_section_1, print_assignment,
        * ldlang.c (lang_mark_used_section_1, print_assignment,
        lang_size_sections_1, lang_do_assignments_1): Likewise.
        lang_size_sections_1, lang_do_assignments_1): Likewise.
        * ldexp.c (fold_name): Init entire result struct.
        * ldexp.c (fold_name): Init entire result struct.
2005-06-01  Maciej W. Rozycki  
2005-06-01  Maciej W. Rozycki  
        * emulparams/elf32btsmip.sh: Unset DATA_ADDR.
        * emulparams/elf32btsmip.sh: Unset DATA_ADDR.
2005-05-31  Zack Weinberg  
2005-05-31  Zack Weinberg  
        * ldlang.c (entry_symbol_default): New file-scope global.
        * ldlang.c (entry_symbol_default): New file-scope global.
        (lang_finish): Use it, not a hardwired "start".
        (lang_finish): Use it, not a hardwired "start".
        (lang_default_entry): Set it.
        (lang_default_entry): Set it.
        * ldlang.h: Declare lang_default_entry.
        * ldlang.h: Declare lang_default_entry.
        * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
        * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
        not lang_add_entry, to override default entry point symbol.
        not lang_add_entry, to override default entry point symbol.
2005-05-29  Richard Henderson  
2005-05-29  Richard Henderson  
        * emulparams/elf64alpha.sh (PLT): New.
        * emulparams/elf64alpha.sh (PLT): New.
        (TEXT_PLT): New.
        (TEXT_PLT): New.
        * emultempl/alphaelf.em (disable_relaxation): New.
        * emultempl/alphaelf.em (disable_relaxation): New.
        (limit_32bit): Rename from elf64alpha_32bit; update all users.
        (limit_32bit): Rename from elf64alpha_32bit; update all users.
        (elf64_alpha_use_secureplt): Declare.
        (elf64_alpha_use_secureplt): Declare.
        (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
        (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
        (alpha_after_open): New.
        (alpha_after_open): New.
        (alpha_before_allocation): New.
        (alpha_before_allocation): New.
        (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
        (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
        (PARSE_AND_LIST_LONGOPTS): Include them.
        (PARSE_AND_LIST_LONGOPTS): Include them.
        (PARSE_AND_LIST_OPTIONS): Likewise.
        (PARSE_AND_LIST_OPTIONS): Likewise.
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
        (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
        (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
        * scripttempl/elf.sc (TEXT_PLT): New.
        * scripttempl/elf.sc (TEXT_PLT): New.
        (PLT): Use it.
        (PLT): Use it.
2005-05-27  Andreas Schwab  
2005-05-27  Andreas Schwab  
        * configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
        * configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
2005-05-24  Alan Modra  
2005-05-24  Alan Modra  
        * emultempl/ppc32elf.em (after_allocation): Don't call
        * emultempl/ppc32elf.em (after_allocation): Don't call
        ppc_elf_set_sdata_syms when relocatable.
        ppc_elf_set_sdata_syms when relocatable.
2005-05-21  H.J. Lu  
2005-05-21  H.J. Lu  
        * Makefile.am (ld.1): Revert the last 2 changes.
        * Makefile.am (ld.1): Revert the last 2 changes.
        (info-recursive): Depend on ld.1.
        (info-recursive): Depend on ld.1.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
2005-05-21  H.J. Lu  
2005-05-21  H.J. Lu  
        * Makefile.am (ld.1): Depend on "info" instead of
        * Makefile.am (ld.1): Depend on "info" instead of
        "configdoc.texi ldver.texi".
        "configdoc.texi ldver.texi".
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
2005-05-21  H.J. Lu  
2005-05-21  H.J. Lu  
        * Makefile.am (ld.1): Depend on "info".
        * Makefile.am (ld.1): Depend on "info".
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
2005-05-19  Zack Weinberg  
2005-05-19  Zack Weinberg  
        * Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
        * Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2005-05-17  Zack Weinberg  
2005-05-17  Zack Weinberg  
        * ld-arm/mixed-app.d: Adjust expected disassembly a little.
        * ld-arm/mixed-app.d: Adjust expected disassembly a little.
2005-05-17  Daniel Jacobowitz  
2005-05-17  Daniel Jacobowitz  
        * Makefile.am (ldver.texi): Don't use $<.
        * Makefile.am (ldver.texi): Don't use $<.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
2005-05-17  Daniel Jacobowitz  
2005-05-17  Daniel Jacobowitz  
        * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include
        * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include
        $(srcdir) before $(BFDDIR)/doc.
        $(srcdir) before $(BFDDIR)/doc.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
2005-05-17  H.J. Lu  
2005-05-17  H.J. Lu  
        PR 797
        PR 797
        * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
        * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
        take take a bfd_boolean, mark_used. Ignore assert failure if
        take take a bfd_boolean, mark_used. Ignore assert failure if
        mark_used is TRUE.
        mark_used is TRUE.
        (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
        (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
        (exp_fold_tree_no_dot): Updated to take a bfd_boolean,
        (exp_fold_tree_no_dot): Updated to take a bfd_boolean,
        mark_used and pass down.
        mark_used and pass down.
        (fold_unary): Likewise.
        (fold_unary): Likewise.
        (fold_binary): Likewise.
        (fold_binary): Likewise.
        (fold_trinary): Likewise.
        (fold_trinary): Likewise.
        (exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
        (exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
        (exp_trinop): Likewise.
        (exp_trinop): Likewise.
        (exp_unop): Likewise.
        (exp_unop): Likewise.
        (exp_nameop): Likewise.
        (exp_nameop): Likewise.
        (exp_get_vma): Likewise.
        (exp_get_vma): Likewise.
        (exp_get_fill): Likewise.
        (exp_get_fill): Likewise.
        (exp_get_abs_int): Likewise.
        (exp_get_abs_int): Likewise.
        (fold_name): Likewise. Set SEC_KEEP in output section flags.
        (fold_name): Likewise. Set SEC_KEEP in output section flags.
        (exp_mark_used_section): New.
        (exp_mark_used_section): New.
        * ldexp.h (exp_mark_used_section): New.
        * ldexp.h (exp_mark_used_section): New.
        * ldlang.c (lang_output_section_statement_lookup_1): Set the
        * ldlang.c (lang_output_section_statement_lookup_1): Set the
        ignored field to FALSE.
        ignored field to FALSE.
        (lang_mark_used_section_1): New.
        (lang_mark_used_section_1): New.
        (lang_mark_used_section): Call lang_mark_used_section_1.
        (lang_mark_used_section): Call lang_mark_used_section_1.
        (strip_excluded_output_sections): Call lang_mark_used_section
        (strip_excluded_output_sections): Call lang_mark_used_section
        and check for unused sections.
        and check for unused sections.
        (lang_size_sections_1): Skip an output section if it should
        (lang_size_sections_1): Skip an output section if it should
        be ignored.
        be ignored.
        (lang_do_assignments_1): Likewise.
        (lang_do_assignments_1): Likewise.
        (lang_process): Don't call lang_mark_used_section here.
        (lang_process): Don't call lang_mark_used_section here.
        * ldlang.h (lang_output_section_statement_type): Change
        * ldlang.h (lang_output_section_statement_type): Change
        all_input_readonly to bitfield. Add ignored.
        all_input_readonly to bitfield. Add ignored.
2005-05-17  Lennert Buytenhek  
2005-05-17  Lennert Buytenhek  
            Peter S. Mazinger" 
            Peter S. Mazinger" 
        * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
        * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
        * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
        * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
2005-05-17  Julian Brown 
2005-05-17  Julian Brown 
        * ldlang.c (print_assignment): Do not rely upon a valid result
        * ldlang.c (print_assignment): Do not rely upon a valid result
        having a section associated with it.
        having a section associated with it.
2005-05-17  Nick Clifton  
2005-05-17  Nick Clifton  
        * ldlang.c (Scan_for_self_assignment): Check an assignment tree to
        * ldlang.c (Scan_for_self_assignment): Check an assignment tree to
        see if the same value is being used on the rhs as on the lhs.
        see if the same value is being used on the rhs as on the lhs.
        (print_assignment): Call scan_for_self_assignment and if it
        (print_assignment): Call scan_for_self_assignment and if it
        returns true, do no display the result of the computation but
        returns true, do no display the result of the computation but
        instead just the final value of the symbol on the lhs.
        instead just the final value of the symbol on the lhs.
        * ld.texinfo: Document this behaviour and provide an example of
        * ld.texinfo: Document this behaviour and provide an example of
        when it will happen.
        when it will happen.
2005-05-15  Daniel Jacobowitz  
2005-05-15  Daniel Jacobowitz  
        * Makefile.am (AM_MAKEINFOFLAGS): Define.
        * Makefile.am (AM_MAKEINFOFLAGS): Define.
        (TEXI2DVI): Define.
        (TEXI2DVI): Define.
        (ldver.texi): Depend on distributed files instead of built files.
        (ldver.texi): Depend on distributed files instead of built files.
        (ld.info): Include $(srcdir) in the rule target.  Remove actions.
        (ld.info): Include $(srcdir) in the rule target.  Remove actions.
        (ld.dvi): Remove actions.
        (ld.dvi): Remove actions.
        (MAINTAINERCLEANFILES): Add configdoc.texi.
        (MAINTAINERCLEANFILES): Add configdoc.texi.
        (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
        (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
        (install-data-local): Renamed from install.
        (install-data-local): Renamed from install.
        (Makefile): Remove explicit dependency.
        (Makefile): Remove explicit dependency.
        * acinclude.m4: Remove obsolete code.
        * acinclude.m4: Remove obsolete code.
        * configure.in: Update AC_PREREQ.  Remove extra $CONFIG_SHELL.
        * configure.in: Update AC_PREREQ.  Remove extra $CONFIG_SHELL.
        * Makefile.in, aclocal.m4, config.in, configure: Regenerated.
        * Makefile.in, aclocal.m4, config.in, configure: Regenerated.
2005-05-11  Bob Wilson  
2005-05-11  Bob Wilson  
        * scripttempl/elfxtensa.sc: Sync up with elf.sc.
        * scripttempl/elfxtensa.sc: Sync up with elf.sc.
        * emulparams/elf32xtensa.sh (PLT, GOT): Define.
        * emulparams/elf32xtensa.sh (PLT, GOT): Define.
2005-05-11  Alan Modra  
2005-05-11  Alan Modra  
        * ldgram.y: Add SPECIAL token.
        * ldgram.y: Add SPECIAL token.
        (sect_constraint): Handle SPECIAL.
        (sect_constraint): Handle SPECIAL.
        * ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
        * ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
        (map_input_to_output_sections): Likewise.
        (map_input_to_output_sections): Likewise.
        * ldlex.l (SPECIAL): Define.
        * ldlex.l (SPECIAL): Define.
        * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
        * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
        GOT, PLT, GOTPLT): Define.
        GOT, PLT, GOTPLT): Define.
        * emultempl/ppc32elf.em (old_plt, old_got): New static vars.
        * emultempl/ppc32elf.em (old_plt, old_got): New static vars.
        (ppc_after_open): New function.
        (ppc_after_open): New function.
        (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
        (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
        (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
        (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
        (PARSE_AND_LIST_OPTIONS): Document them.
        (PARSE_AND_LIST_OPTIONS): Document them.
        (PARSE_AND_LIST_ARGS_CASES): Handle them.
        (PARSE_AND_LIST_ARGS_CASES): Handle them.
        (LDEMUL_AFTER_OPEN): Define.
        (LDEMUL_AFTER_OPEN): Define.
        * scripttempl/elf.sc (PLT): Don't override existing define.
        * scripttempl/elf.sc (PLT): Don't override existing define.
        (DATA_GOT, SDATA_GOT): Define and use to enable alternate got
        (DATA_GOT, SDATA_GOT): Define and use to enable alternate got
        placement rather than using NO_SMALL_DATA.  Emit GOTPLT for RELRO_NOW.
        placement rather than using NO_SMALL_DATA.  Emit GOTPLT for RELRO_NOW.
2005-05-10  Alan Modra  
2005-05-10  Alan Modra  
        * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
        * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
        (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
        (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
        (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END.  Place after
        (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END.  Place after
        DATA_SEGMENT_RELRO_END in script.
        DATA_SEGMENT_RELRO_END in script.
2005-05-09  H.J. Lu  
2005-05-09  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
        Don't use a removed section.
        Don't use a removed section.
2005-05-09  H.J. Lu  
2005-05-09  H.J. Lu  
        * ldmain.c (reloc_overflow): Use output_bfd if the symbol
        * ldmain.c (reloc_overflow): Use output_bfd if the symbol
        is defined in the ABS section.
        is defined in the ABS section.
2005-05-06  H.J. Lu  
2005-05-06  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
        Put back !link_info.relocatable.
        Put back !link_info.relocatable.
2005-05-06  H.J. Lu  
2005-05-06  H.J. Lu  
        PR 878
        PR 878
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
        Just check link_info.executable.
        Just check link_info.executable.
2005-05-06  Nick Clifton  
2005-05-06  Nick Clifton  
        * Update the address and phone number of the FSF organization in
        * Update the address and phone number of the FSF organization in
        the GPL notices in the following files:
        the GPL notices in the following files:
        aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c,
        aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c,
        ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c,
        ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c,
        ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h,
        ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h,
        ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h,
        ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h,
        ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h,
        ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h,
        sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
        sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
        emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em,
        emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em,
        emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em,
        emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em,
        emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em,
        emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em,
        emultempl/ia64elf.em, emultempl/irix.em,  emultempl/linux.em,
        emultempl/ia64elf.em, emultempl/irix.em,  emultempl/linux.em,
        emultempl/lnk960.em, emultempl/m68hc1xelf.em,
        emultempl/lnk960.em, emultempl/m68hc1xelf.em,
        emultempl/m68kcoff.em, emultempl/m68kelf.em,
        emultempl/m68kcoff.em, emultempl/m68kelf.em,
        emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em,
        emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em,
        emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em,
        emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em,
        emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em,
        emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em,
        emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em,
        emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em,
        emultempl/vanilla.em, emultempl/xtensaelf.em
        emultempl/vanilla.em, emultempl/xtensaelf.em
2005-05-05  H.J. Lu  
2005-05-05  H.J. Lu  
        * scripttempl/elf.sc: Document the usage of __bss_start.
        * scripttempl/elf.sc: Document the usage of __bss_start.
2005-05-05  Paul Brook  
2005-05-05  Paul Brook  
        * Makefile.am: Add eelf_i386_vxworks.
        * Makefile.am: Add eelf_i386_vxworks.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
        * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
        * emulparams/elf_i386_vxworks.sh: New file.
        * emulparams/elf_i386_vxworks.sh: New file.
        * emulparams/vxworks.sh: New file.
        * emulparams/vxworks.sh: New file.
        * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
        * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
2005-05-04  H.J. Lu  
2005-05-04  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
        Call _bfd_elf_provide_section_bound_symbols.
        Call _bfd_elf_provide_section_bound_symbols.
2005-05-04  Alan Modra  
2005-05-04  Alan Modra  
        * ldemul.c: Include bfdlink.h.
        * ldemul.c: Include bfdlink.h.
        (ldemul_before_allocation): Assume before_allocation is non-zero.
        (ldemul_before_allocation): Assume before_allocation is non-zero.
        (before_allocation_default): Call strip_excluded_output_sections.
        (before_allocation_default): Call strip_excluded_output_sections.
        * ldlang.c (stripped_excluded_sections): New variable.
        * ldlang.c (stripped_excluded_sections): New variable.
        (lang_add_section): Build input section list for each output
        (lang_add_section): Build input section list for each output
        section, attached via map_head and map_tail pointers.
        section, attached via map_head and map_tail pointers.
        (strip_excluded_output_sections): Make global.  Traverse the
        (strip_excluded_output_sections): Make global.  Traverse the
        input section lists to find which output sections can go.  Clear
        input section lists to find which output sections can go.  Clear
        link_order pointers and set stripped_excluded_sections.
        link_order pointers and set stripped_excluded_sections.
        (lang_process): Call strip_excluded_output_sections.
        (lang_process): Call strip_excluded_output_sections.
        * ldlang.h (strip_excluded_output_sections): Declare.
        * ldlang.h (strip_excluded_output_sections): Declare.
        * ldwrite.c: Update throuhout for link_order_head -> map_head change.
        * ldwrite.c: Update throuhout for link_order_head -> map_head change.
        * emultempl/aix.em (before_allocation): Call
        * emultempl/aix.em (before_allocation): Call
        strip_excluded_output_sections.
        strip_excluded_output_sections.
        * emultempl/armcoff.em (before_allocation): Likewise.
        * emultempl/armcoff.em (before_allocation): Likewise.
        * emultempl/beos.em (before_allocation): Likewise.
        * emultempl/beos.em (before_allocation): Likewise.
        * emultempl/linux.em (before_allocation): Likewise.
        * emultempl/linux.em (before_allocation): Likewise.
        * emultempl/pe.em (before_allocation): Likewise.
        * emultempl/pe.em (before_allocation): Likewise.
        * emultempl/sunos.em (before_allocation): Likewise.
        * emultempl/sunos.em (before_allocation): Likewise.
        * emultempl/elf32.em (before_allocation): Likewise.  Call
        * emultempl/elf32.em (before_allocation): Likewise.  Call
        bfd_elf_size_dynsym_hash_dynstr too.
        bfd_elf_size_dynsym_hash_dynstr too.
        * emultempl/lnk960.em (lnk960_before_allocation): Delete.
        * emultempl/lnk960.em (lnk960_before_allocation): Delete.
        (ld_lnk960): Use before_allocation_default.
        (ld_lnk960): Use before_allocation_default.
2005-05-02  H.J. Lu  
2005-05-02  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
        * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
        Updated for bfd_section_list_remove change.
        Updated for bfd_section_list_remove change.
        * ldlang.c (lang_insert_orphan): Likewise.
        * ldlang.c (lang_insert_orphan): Likewise.
        (strip_excluded_output_sections): Likewise.
        (strip_excluded_output_sections): Likewise.
        (sort_sections_by_lma): New.
        (sort_sections_by_lma): New.
        (lang_check_section_addresses): Sort the sections before
        (lang_check_section_addresses): Sort the sections before
        checking addresses.
        checking addresses.
2005-04-29  Ralf Corsepius 
2005-04-29  Ralf Corsepius 
        * configure.tgt: Add h8300*-*-rtemscoff.
        * configure.tgt: Add h8300*-*-rtemscoff.
        Switch h8300*-*-rtems* to elf.
        Switch h8300*-*-rtems* to elf.
2005-04-29  Ben Elliston  
2005-04-29  Ben Elliston  
        * ldgram.y (lang_memory_region_type): Make static.
        * ldgram.y (lang_memory_region_type): Make static.
        (ldgram_want_filename): Likewise.
        (ldgram_want_filename): Likewise.
        * ldemul.c (ld_emulation): Make static.
        * ldemul.c (ld_emulation): Make static.
        * ldfile.h (ldfile_find_command_file): Remove extern.
        * ldfile.h (ldfile_find_command_file): Remove extern.
        * ldfile.c (ldfile_find_command_file): Make static.
        * ldfile.c (ldfile_find_command_file): Make static.
        * ldlang.h (unique_section_list): Remove extern declaration.
        * ldlang.h (unique_section_list): Remove extern declaration.
        * ldlang.c (unique_section_list): Make static.
        * ldlang.c (unique_section_list): Make static.
        * mri.h (symbol_truncate): Remove extern declaration.
        * mri.h (symbol_truncate): Remove extern declaration.
        * mri.c (symbol_truncate): Make static.
        * mri.c (symbol_truncate): Make static.
        (order, only_load, address, alias): Likewise.
        (order, only_load, address, alias): Likewise.
        (alignment, subalignment): Likewise.
        (alignment, subalignment): Likewise.
2005-04-27  H.J. Lu  
2005-04-27  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
        Use the first SEC_ALLOC section which isn't SEC_READONLY or the
        Use the first SEC_ALLOC section which isn't SEC_READONLY or the
        last SEC_ALLOC section if such a section doesn't exist.
        last SEC_ALLOC section if such a section doesn't exist.
2005-04-24  Mark Kettenis  
2005-04-24  Mark Kettenis  
        * configure.host: Add *-*-openbsd support.
        * configure.host: Add *-*-openbsd support.
2005-04-15  Julian Brown  
2005-04-15  Julian Brown  
        * ld.texinfo: Document --use-blx.
        * ld.texinfo: Document --use-blx.
        * emultempl/armelf.em (use_blx): New variable.
        * emultempl/armelf.em (use_blx): New variable.
        (arm_elf_create_output_section_statements): Communicate value of
        (arm_elf_create_output_section_statements): Communicate value of
        use_blx to bfd.
        use_blx to bfd.
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
        (PARSE_AND_LIST_OPTIONS): Add --use-blx option.
        (PARSE_AND_LIST_OPTIONS): Add --use-blx option.
        (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
        (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
2005-04-14  Alan Modra  
2005-04-14  Alan Modra  
        * Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
        * Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
        * configure.in: Include ../bfd/warning.m4 contents.
        * configure.in: Include ../bfd/warning.m4 contents.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure: Regenerate.
        * configure: Regenerate.
2005-04-12  Alan Modra  
2005-04-12  Alan Modra  
        * Makefile.am: Run "make dep-am".
        * Makefile.am: Run "make dep-am".
        (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
        (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * config.in: Regenerate.
        * config.in: Regenerate.
2005-04-11  Alan Modra  
2005-04-11  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
        * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
        as_needed libs that were not needed.
        as_needed libs that were not needed.
        (gld${EMULATION_NAME}_check_needed): Likewise.
        (gld${EMULATION_NAME}_check_needed): Likewise.
2005-04-07  Nick Clifton  
2005-04-07  Nick Clifton  
        * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
        * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
        ldfile.h can use the lang_input_statement type.
        ldfile.h can use the lang_input_statement type.
2005-04-06  Jakub Jelinek  
2005-04-06  Jakub Jelinek  
        * ldlang.c: Formatting.
        * ldlang.c: Formatting.
        (walk_wild_consider_section): Remember return value from wildcardp.
        (walk_wild_consider_section): Remember return value from wildcardp.
        (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
        (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
        (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
        (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
2005-04-06  Robert O'Callahan  
2005-04-06  Robert O'Callahan  
        * ld.h (lean_section_userdata_type): Remove.
        * ld.h (lean_section_userdata_type): Remove.
        (fat_section_userdata_type): Remove file field.
        (fat_section_userdata_type): Remove file field.
        (SECTION_USERDATA_SIZE): Remove.
        (SECTION_USERDATA_SIZE): Remove.
        * ldlang.c (init_os): Eliminate initialization of unused
        * ldlang.c (init_os): Eliminate initialization of unused
        lean_section_userdata_type.
        lean_section_userdata_type.
        * ldlang.h (callback_t, walk_wild_section_handler_t): New
        * ldlang.h (callback_t, walk_wild_section_handler_t): New
        typedefs.
        typedefs.
        (struct lang_wild_statement_struct): Add walk_wild_section_handler
        (struct lang_wild_statement_struct): Add walk_wild_section_handler
        and handler_data fields.
        and handler_data fields.
        * ldlang.c (callback_t): Removed.
        * ldlang.c (callback_t): Removed.
        (walk_wild_consider_section, walk_wild_section_general,
        (walk_wild_consider_section, walk_wild_section_general,
        section_iterator_callback, find_section, is_simple_wild,
        section_iterator_callback, find_section, is_simple_wild,
        match_simple_wild, walk_wild_section_specs1_wild0,
        match_simple_wild, walk_wild_section_specs1_wild0,
        walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
        walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
        walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
        walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
        wild_spec_can_overlap, analyze_walk_wild_section_handler): New
        wild_spec_can_overlap, analyze_walk_wild_section_handler): New
        functions.
        functions.
        (lang_add_wild): Call analyze_walk_wild_section_handler.
        (lang_add_wild): Call analyze_walk_wild_section_handler.
        (walk_wild_section): Renamed to walk_wild_section_general and
        (walk_wild_section): Renamed to walk_wild_section_general and
        created a wrapper function.
        created a wrapper function.
        (section_iterator_callback_data): New typedef.
        (section_iterator_callback_data): New typedef.
2005-04-04  Nick Clifton  
2005-04-04  Nick Clifton  
        * configure.in: Add a check for  providing a prototype
        * configure.in: Add a check for  providing a prototype
        for getopt() which is compatible with the one in
        for getopt() which is compatible with the one in
        include/getopt.h.  If so then define HAVE_DECL_GETOPT.
        include/getopt.h.  If so then define HAVE_DECL_GETOPT.
        * configure: Regenerate.
        * configure: Regenerate.
        * config.in (HAVE_DECL_GETOPT): Add.
        * config.in (HAVE_DECL_GETOPT): Add.
        * ldemul.c: Include config.h
        * ldemul.c: Include config.h
        * lexsup.c: Likewise.
        * lexsup.c: Likewise.
        * emultempl/elf32.sc: Likewise.
        * emultempl/elf32.sc: Likewise.
2005-03-29  Alan Modra  
2005-03-29  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
        * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
        New function, extracted from static void gld${EMULATION_NAME}_finish.
        New function, extracted from static void gld${EMULATION_NAME}_finish.
        (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
        (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
        (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
        (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
        * emultempl/ppc64elf.em: Revert last change.
        * emultempl/ppc64elf.em: Revert last change.
        (ppc_layout_sections_again): Use
        (ppc_layout_sections_again): Use
        gld${EMULATION_NAME}_layout_sections_again.
        gld${EMULATION_NAME}_layout_sections_again.
        (ppc_finish): Don't call gld${EMULATION_NAME}_finish.  Instead call
        (ppc_finish): Don't call gld${EMULATION_NAME}_finish.  Instead call
        gld${EMULATION_NAME}_strip_empty_sections and
        gld${EMULATION_NAME}_strip_empty_sections and
        gld${EMULATION_NAME}_provide_init_fini_syms.
        gld${EMULATION_NAME}_provide_init_fini_syms.
        * emultempl/hppaelf.em: Similarly.
        * emultempl/hppaelf.em: Similarly.
2005-03-29  Alan Modra  
2005-03-29  Alan Modra  
        * emultempl/ppc64elf.em (need_laying_out): Delete.  Remove all refs.
        * emultempl/ppc64elf.em (need_laying_out): Delete.  Remove all refs.
        (ppc_finish): Don't call bfd_elf_discard_info.
        (ppc_finish): Don't call bfd_elf_discard_info.
        * emultempl/hppaelf.em: Similarly.
        * emultempl/hppaelf.em: Similarly.
2005-03-24  Nick Clifton  
2005-03-24  Nick Clifton  
        * po/fr.po: Updated French translation.
        * po/fr.po: Updated French translation.
2005-03-23  Mike Frysinger  
2005-03-23  Mike Frysinger  
            Nick Clifton  
            Nick Clifton  
        * configure.host: Accept any C library to accompany a GNU Linux
        * configure.host: Accept any C library to accompany a GNU Linux
        implementation, not just the GNU C library.
        implementation, not just the GNU C library.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/elf32.em: Likewise.
2005-03-22  H.J. Lu  
2005-03-22  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
        (gld${EMULATION_NAME}_finish): Call
        (gld${EMULATION_NAME}_finish): Call
        gld${EMULATION_NAME}_provide_bound_symbols to provide
        gld${EMULATION_NAME}_provide_bound_symbols to provide
        __preinit_array_start, __preinit_array_end, __init_array_start,
        __preinit_array_start, __preinit_array_end, __init_array_start,
        __init_array_end, __fini_array_start and __fini_array_end.
        __init_array_end, __fini_array_start and __fini_array_end.
        * scripttempl/elf.sc: Don't provide __preinit_array_start,
        * scripttempl/elf.sc: Don't provide __preinit_array_start,
        __preinit_array_end, __init_array_start, __init_array_end,
        __preinit_array_end, __init_array_start, __init_array_end,
        __fini_array_start nor __fini_array_end.
        __fini_array_start nor __fini_array_end.
2005-03-23  Alan Modra  
2005-03-23  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
        SEC_EXCLUDE on .gnu.warning sections.
        SEC_EXCLUDE on .gnu.warning sections.
2005-03-22  Alan Modra  
2005-03-22  Alan Modra  
        * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
        * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
2005-03-21  Alan Modra  
2005-03-21  Alan Modra  
        * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
        * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
        function.
        function.
        (LDEMUL_AFTER_ALLOCATION): Define.
        (LDEMUL_AFTER_ALLOCATION): Define.
2005-03-21  Alan Modra  
2005-03-21  Alan Modra  
        * emultempl/ppc64elf.em (ppc_finish): Rename from
        * emultempl/ppc64elf.em (ppc_finish): Rename from
        gld${EMULATION_NAME}_finish.  Call gld${EMULATION_NAME}_finish.
        gld${EMULATION_NAME}_finish.  Call gld${EMULATION_NAME}_finish.
        (LDEMUL_FINISH): Update.
        (LDEMUL_FINISH): Update.
        * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
        * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
        * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
        * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
2005-03-18  Julian Brown  
2005-03-18  Julian Brown  
        * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
        * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
        .rel.fini_array.
        .rel.fini_array.
        (.rela.dyn): Add .rela.init_array, .rela.fini_array.
        (.rela.dyn): Add .rela.init_array, .rela.fini_array.
        (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
        (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
2005-03-18  H.J. Lu  
2005-03-18  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
        bfd_section when removing unused empty output sections for
        bfd_section when removing unused empty output sections for
        non-relocatable link.
        non-relocatable link.
2005-03-19  Alan Modra  
2005-03-19  Alan Modra  
        * ldlang.c (lang_insert_orphan): Use old section_tail rather than
        * ldlang.c (lang_insert_orphan): Use old section_tail rather than
        traversing the bfd section list to find pointer to new section.
        traversing the bfd section list to find pointer to new section.
2005-03-18  Alan Modra  
2005-03-18  Alan Modra  
        * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
        * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
        input sections into .sdata and .sbss output respectively.
        input sections into .sdata and .sbss output respectively.
2005-03-16  David Heine  
2005-03-16  David Heine  
            Bob Wilson  
            Bob Wilson  
        * ldlang.c (IGNORE_SECTION): Remove check for zero size.
        * ldlang.c (IGNORE_SECTION): Remove check for zero size.
        (lang_check_section_addresses): Ignore zero size sections here.
        (lang_check_section_addresses): Ignore zero size sections here.
2005-03-16  H.J. Lu  
2005-03-16  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
        unused empty output sections for non-relocatable link.
        unused empty output sections for non-relocatable link.
        * ld.h (args_type): Remove gc_sections.
        * ld.h (args_type): Remove gc_sections.
        * ldlang.c (lang_mark_used_section): New.
        * ldlang.c (lang_mark_used_section): New.
        (lang_gc_sections): Use link_info.gc_sections instead of
        (lang_gc_sections): Use link_info.gc_sections instead of
        command_line.gc_sections.
        command_line.gc_sections.
        * ldmain.c (main): Likewise.
        * ldmain.c (main): Likewise.
        * lexsup.c (parse_args): Likewise.
        * lexsup.c (parse_args): Likewise.
        * ldlang.c (lang_process): Call lang_mark_used_section.
        * ldlang.c (lang_process): Call lang_mark_used_section.
        * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
        * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
2005-03-16  Nick Clifton  
2005-03-16  Nick Clifton  
            Ben Elliston  
            Ben Elliston  
        * configure.in (werror): New switch: Add -Werror to the
        * configure.in (werror): New switch: Add -Werror to the
        compiler command line.  Enabled by default.  Disable via
        compiler command line.  Enabled by default.  Disable via
        --disable-werror.
        --disable-werror.
        * configure: Regenerate.
        * configure: Regenerate.
2005-03-16  Alan Modra  
2005-03-16  Alan Modra  
        * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
        * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
        (OTHER_RELRO_SECTIONS): Set this instead.
        (OTHER_RELRO_SECTIONS): Set this instead.
2005-03-15  Nick Clifton  
2005-03-15  Nick Clifton  
        * NEWS: Add cutoff for changes in 2.16 release.
        * NEWS: Add cutoff for changes in 2.16 release.
2005-03-15  Mikkel Krautz  
2005-03-15  Mikkel Krautz  
        * configure.tgt (x86_64-elf): Add target.
        * configure.tgt (x86_64-elf): Add target.
2005-03-15  Alan Modra  
2005-03-15  Alan Modra  
        * po/es.po: Commit new Spanish translation.
        * po/es.po: Commit new Spanish translation.
2005-03-14  Alan Modra  
2005-03-14  Alan Modra  
        * ldexp.c (exp_fold_tree): Ensure return value is initialized.
        * ldexp.c (exp_fold_tree): Ensure return value is initialized.
        Tidy etree_assert case.
        Tidy etree_assert case.
2005-03-14  Alan Modra  
2005-03-14  Alan Modra  
        * po/tr.po: Commit new Turkish translation.
        * po/tr.po: Commit new Turkish translation.
2005-03-11  Daniel Jacobowitz  
2005-03-11  Daniel Jacobowitz  
        * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
        * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
        * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
2005-03-07  Nick Clifton  
2005-03-07  Nick Clifton  
        * po/fr.po: Updated translation.
        * po/fr.po: Updated translation.
2005-03-05  Alan Modra  
2005-03-05  Alan Modra  
        * po/ld.pot: Regenerate.
        * po/ld.pot: Regenerate.
2005-03-02  Jan Beulich  
2005-03-02  Jan Beulich  
        * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
        * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
        * pe-dll.c (pe_dll_generate_implib): Likewise.
        * pe-dll.c (pe_dll_generate_implib): Likewise.
2005-02-24  Ben Elliston  
2005-02-24  Ben Elliston  
        * ldfile.c: Remove GNU960 conditional code.
        * ldfile.c: Remove GNU960 conditional code.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/lnk960.em: Likewise.
2005-02-24  Nick Clifton  
2005-02-24  Nick Clifton  
        * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
        * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
        empty string from calls to concat.
        empty string from calls to concat.
2005-02-23  Nick Clifton  
2005-02-23  Nick Clifton  
        * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
        * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
        arguments passed to concat() with a NULL.
        arguments passed to concat() with a NULL.
        * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
        * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
        define types needed by ldfile.h
        define types needed by ldfile.h
2005-02-23  Alan Modra  
2005-02-23  Alan Modra  
        * pe-dll.c: Warning fixes.
        * pe-dll.c: Warning fixes.
        * emultempl/sunos.em: Likewise.
        * emultempl/sunos.em: Likewise.
2005-02-22  Daniel Jacobowitz  
2005-02-22  Daniel Jacobowitz  
        * ldlang.c (section_already_linked): Don't call
        * ldlang.c (section_already_linked): Don't call
        bfd_section_already_linked for dynamic objects.
        bfd_section_already_linked for dynamic objects.
2005-02-22  Alan Modra  
2005-02-22  Alan Modra  
        * ldexp.c: Warning fixes.
        * ldexp.c: Warning fixes.
        * ldwrite.c: Likewise.
        * ldwrite.c: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/elf32.em: Likewise.
2005-02-21  H.J. Lu  
2005-02-21  H.J. Lu  
        * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
        * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
        tic54x input only.
        tic54x input only.
        (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
        (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
        and ECOFF output only.
        and ECOFF output only.
2005-02-21  Alan Modra  
2005-02-21  Alan Modra  
        * config.in: Regenerate.
        * config.in: Regenerate.
        * configure: Regenerate.
        * configure: Regenerate.
2005-02-17  Zack Weinberg  
2005-02-17  Zack Weinberg  
        * ldexp.c (assigning_to_dot): New global flag.
        * ldexp.c (assigning_to_dot): New global flag.
        (fold_name): If assigning_to_dot is true, object immediately to
        (fold_name): If assigning_to_dot is true, object immediately to
        an undefined symbol.
        an undefined symbol.
        (exp_fold_tree): Set and clear assigning_to_dot around the
        (exp_fold_tree): Set and clear assigning_to_dot around the
        recursive call to exp_fold_tree to process the right-hand side
        recursive call to exp_fold_tree to process the right-hand side
        of an assignment to the location counter.
        of an assignment to the location counter.
2005-02-17  Paul Brook  
2005-02-17  Paul Brook  
        * scripttempl/armbpabi.sc: Add dummy name to version block.
        * scripttempl/armbpabi.sc: Add dummy name to version block.
2005-02-17  Alan Modra  
2005-02-17  Alan Modra  
        * ldexp.c (new_abs): Init new.str.
        * ldexp.c (new_abs): Init new.str.
2005-02-15  Mark Mitchell  
2005-02-15  Mark Mitchell  
        * configure.in (AC_CHECK_FUNCS): Add glob.
        * configure.in (AC_CHECK_FUNCS): Add glob.
        * configure: Regenerated.
        * configure: Regenerated.
        * emultempl/elf32.em (): Do not include if HAVE_GLOB is
        * emultempl/elf32.em (): Do not include if HAVE_GLOB is
        not defined.
        not defined.
        (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
        (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
        if HAVE_GLOB is not defined.
        if HAVE_GLOB is not defined.
2005-02-16  Kaz Kojima  
2005-02-16  Kaz Kojima  
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
        lib_path if NATIVE is yes.
        lib_path if NATIVE is yes.
2005-02-16  Alan Modra  
2005-02-16  Alan Modra  
        * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
        * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
        an error creating fake bfd fatal.
        an error creating fake bfd fatal.
        (ppc_before_allocation): Continue on after errors.
        (ppc_before_allocation): Continue on after errors.
        (gld${EMULATION_NAME}_finish): Likewise.
        (gld${EMULATION_NAME}_finish): Likewise.
2005-02-15  Nick Clifton  
2005-02-15  Nick Clifton  
        * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
        * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
        not declared.  It is not used and its presence causes a compile
        not declared.  It is not used and its presence causes a compile
        time warning.
        time warning.
2005-02-11  Zack Weinberg  
2005-02-11  Zack Weinberg  
        * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
        * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
        If st.st_ino is zero, do not treat the library as a duplicate.
        If st.st_ino is zero, do not treat the library as a duplicate.
2005-02-10  Jakub Jelinek  
2005-02-10  Jakub Jelinek  
        * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
        * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
        Set BFD_LINKER_CREATED on the stubs bfd.
        Set BFD_LINKER_CREATED on the stubs bfd.
        * emultempl/ppc64elf.em (ppc_create_output_section_statements):
        * emultempl/ppc64elf.em (ppc_create_output_section_statements):
        Likewise.
        Likewise.
2005-02-08  Mark Mitchell  
2005-02-08  Mark Mitchell  
        * scripttempl/armbpabi.sc (VERSION): Make special section symbols
        * scripttempl/armbpabi.sc (VERSION): Make special section symbols
        local.
        local.
        (Image$$ER_RO$$Base): Define whenever RELOCATING.
        (Image$$ER_RO$$Base): Define whenever RELOCATING.
        (Image$$ER_RO$$Limit): Likewise.
        (Image$$ER_RO$$Limit): Likewise.
        (SHT$$INIT_ARRAY$$Base): Likewise.
        (SHT$$INIT_ARRAY$$Base): Likewise.
        (SHT$$INIT_ARRAY$$Limit): Likeise.
        (SHT$$INIT_ARRAY$$Limit): Likeise.
2005-02-10  Ben Elliston  
2005-02-10  Ben Elliston  
        * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
        * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
2005-02-08  Richard Sandiford  
2005-02-08  Richard Sandiford  
        * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
        * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
        to include o32 and n64 emulations.
        to include o32 and n64 emulations.
        (mips64*-*-linux-gnu*): Likewise.
        (mips64*-*-linux-gnu*): Likewise.
2005-02-08  Hans-Peter Nilsson  
2005-02-08  Hans-Peter Nilsson  
        * ldmain.c (warning_callback, warning_find_reloc): Prepend
        * ldmain.c (warning_callback, warning_find_reloc): Prepend
        "warning: " to warning messages.
        "warning: " to warning messages.
2005-02-04  Alan Modra  
2005-02-04  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
        * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
        look up symbol for etree_provide here.
        look up symbol for etree_provide here.
2005-02-02  Daniel Jacobowitz  
2005-02-02  Daniel Jacobowitz  
        * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
        * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
2005-02-01  Edward Welbourne  
2005-02-01  Edward Welbourne  
            Nick Clifton  
            Nick Clifton  
        * ld.texinfo (Source Code Reference): New node describing how to
        * ld.texinfo (Source Code Reference): New node describing how to
        access linker script defined variables from source code.
        access linker script defined variables from source code.
2005-02-01  Alan Modra  
2005-02-01  Alan Modra  
        * ld.texinfo: Clarify --as-needed operation.
        * ld.texinfo: Clarify --as-needed operation.
2005-01-31  Andrew Cagney  
2005-01-31  Andrew Cagney  
        * configure: Regenerate to track ../gettext.m4.
        * configure: Regenerate to track ../gettext.m4.
2005-01-31  Nick Clifton  
2005-01-31  Nick Clifton  
        * ldver.c (ldversion): Bump reported copyright date to 2005.
        * ldver.c (ldversion): Bump reported copyright date to 2005.
2005-01-31  Nick Clifton  
2005-01-31  Nick Clifton  
        * configure.tgt: Remove obsolete targets m68k-lynxos and
        * configure.tgt: Remove obsolete targets m68k-lynxos and
        sparc-lynxos.
        sparc-lynxos.
2005-01-28  Julian Brown  
2005-01-28  Julian Brown  
        * emultempl/armelf.em (fix_v4bx): New variable.
        * emultempl/armelf.em (fix_v4bx): New variable.
        (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
        (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
        value to bfd.
        value to bfd.
        (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
        (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
        (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
        (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
        (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
        (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
        (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
        (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
        * NEWS: Mention --fix-v4bx.
        * NEWS: Mention --fix-v4bx.
        * ld.texinfo: Document --fix-v4bx.
        * ld.texinfo: Document --fix-v4bx.
2005-01-25  Mark Mitchell  
2005-01-25  Mark Mitchell  
        * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
        * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
        as to include .ARM.exidx$${Base,Limit}.
        as to include .ARM.exidx$${Base,Limit}.
        * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
        * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
        Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
        Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
        Put .init_array, .fini_array, etc. into the read-only data
        Put .init_array, .fini_array, etc. into the read-only data
        segment.
        segment.
2005-01-25  Alan Modra  
2005-01-25  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
        * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
        (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
        (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
        only needed by an as-needed lib that didn't get linked.
        only needed by an as-needed lib that didn't get linked.
2005-01-23  Alan Modra  
2005-01-23  Alan Modra  
        * ld.texinfo (Output Section Keywords ): Correct
        * ld.texinfo (Output Section Keywords ): Correct
        __DTOR_LIST__ description.
        __DTOR_LIST__ description.
2005-01-23  Alan Modra  
2005-01-23  Alan Modra  
        * ld.texinfo (Location Counter ): Document
        * ld.texinfo (Location Counter ): Document
        effects of orphan section placement, and ". = ." workaround.
        effects of orphan section placement, and ". = ." workaround.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2005-01-22  Richard Sandiford  
2005-01-22  Richard Sandiford  
        * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
        * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
        * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
        * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
2005-01-21  Jakub Jelinek  
2005-01-21  Jakub Jelinek  
        * ldgram.y (AS_NEEDED): New token.
        * ldgram.y (AS_NEEDED): New token.
        (input_list): Handle AS_NEEDED ( input_list ).
        (input_list): Handle AS_NEEDED ( input_list ).
        * ldlex.l (AS_NEEDED): Add.
        * ldlex.l (AS_NEEDED): Add.
        * ld.texinfo: Document AS_NEEDED ().
        * ld.texinfo: Document AS_NEEDED ().
        * NEWS: Mention AS_NEEDED ().
        * NEWS: Mention AS_NEEDED ().
2005-01-21  Ben Elliston  
2005-01-21  Ben Elliston  
        * ldlang.c (lang_reasonable_defaults): Remove.
        * ldlang.c (lang_reasonable_defaults): Remove.
        (lang_process): Don't call lang_reasonable_defaults.
        (lang_process): Don't call lang_reasonable_defaults.
        * ldexp.c (exp_assop): Remove #if 0'd code.
        * ldexp.c (exp_assop): Remove #if 0'd code.
        (exp_print_tree): Likewise.
        (exp_print_tree): Likewise.
        * ldlang.c (lang_memory_region_lookup): Likewise.
        * ldlang.c (lang_memory_region_lookup): Likewise.
        (open_output): Likewise.
        (open_output): Likewise.
        (lang_do_assignments_1): Likewise.
        (lang_do_assignments_1): Likewise.
        (lang_place_orphans): Likewise.
        (lang_place_orphans): Likewise.
        (lang_enter_output_section_statement): Likewise.
        (lang_enter_output_section_statement): Likewise.
        (lang_reasonable_defaults): Likewise.
        (lang_reasonable_defaults): Likewise.
        * ldlang.h (struct lang_input_statement_struct): Likewise.
        * ldlang.h (struct lang_input_statement_struct): Likewise.
        * mri.c (mri_draw_tree): Likewise.
        * mri.c (mri_draw_tree): Likewise.
        (mri_load): Likewise.
        (mri_load): Likewise.
        * pe-dll.c (generate_reloc): Likewise.
        * pe-dll.c (generate_reloc): Likewise.
        (make_import_fixup_entry): Likewise.
        (make_import_fixup_entry): Likewise.
        (pe_as16): Likewise.
        (pe_as16): Likewise.
        * emultempl/beos.em (set_pe_subsystem): Likewise.
        * emultempl/beos.em (set_pe_subsystem): Likewise.
        * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
        * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
        * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
2005-01-20  Daniel Jacobowitz  
2005-01-20  Daniel Jacobowitz  
        * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
        * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
        (earmelfb_linux_eabi.c): New target.
        (earmelfb_linux_eabi.c): New target.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * configure.tgt (arm*b-*-linux-gnueabi): New target.
        * configure.tgt (arm*b-*-linux-gnueabi): New target.
        * emulparams/armelfb_linux_eabi.sh: New file.
        * emulparams/armelfb_linux_eabi.sh: New file.
2005-01-20  Nick Hudson  
2005-01-20  Nick Hudson  
        PR ld/676
        PR ld/676
        * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
        * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
        Handle bfd_elf32_hppa_nbsd_vec.
        Handle bfd_elf32_hppa_nbsd_vec.
2005-01-19  Richard Sandiford  
2005-01-19  Richard Sandiford  
        * ldmain.h (ld_sysroot): Change type to a constant string.
        * ldmain.h (ld_sysroot): Change type to a constant string.
        * ldmain.c (ld_sysroot): Likewise.
        * ldmain.c (ld_sysroot): Likewise.
        (get_relative_sysroot, get_sysroot): New functions, adding command-line
        (get_relative_sysroot, get_sysroot): New functions, adding command-line
        support for changing the sysroot.
        support for changing the sysroot.
        (main): Call the new functions.
        (main): Call the new functions.
        * lexsup.c (OPTION_SYSROOT): New.
        * lexsup.c (OPTION_SYSROOT): New.
        (ld_options): Add --sysroot.
        (ld_options): Add --sysroot.
        (parse_args): Add a dummy handler for it.
        (parse_args): Add a dummy handler for it.
        * ld.texinfo (--sysroot): Document.
        * ld.texinfo (--sysroot): Document.
        * NEWS: Mention the new --sysroot option.
        * NEWS: Mention the new --sysroot option.
2005-01-18  Alan Modra  
2005-01-18  Alan Modra  
        * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
        * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
        (lang_place_orphans): Don't abort on just_syms_flag, instead call
        (lang_place_orphans): Don't abort on just_syms_flag, instead call
        bfd_link_just_syms.
        bfd_link_just_syms.
2005-01-16  Danny Smith  
2005-01-16  Danny Smith  
        * defilep.y (def_name, def_library): Combine into...
        * defilep.y (def_name, def_library): Combine into...
        (def_image_name): New function.  Strip name to basename,
        (def_image_name): New function.  Strip name to basename,
        with warning.
        with warning.
2005-01-12  Mark Kettenis  
2005-01-12  Mark Kettenis  
        * configure.in: Be sure to invoke config.sub using the shell.
        * configure.in: Be sure to invoke config.sub using the shell.
        * configure: Regenerate.
        * configure: Regenerate.
2005-01-11  Alan Modra  
2005-01-11  Alan Modra  
        * configure.host: Correct sed patterns for last change.
        * configure.host: Correct sed patterns for last change.
2005-01-10  Nick Clifton  
2005-01-10  Nick Clifton  
        PR binutils/609
        PR binutils/609
        * ldmisc.c (vfinfo): Add an extra argument: is_warning.  Use this
        * ldmisc.c (vfinfo): Add an extra argument: is_warning.  Use this
        to determine whether config.make_executable should be set to FALSE in
        to determine whether config.make_executable should be set to FALSE in
        conjunction with config.fatal_warnings.
        conjunction with config.fatal_warnings.
        (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
        (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
        (einfo): Pass TRUE as the extra argument.
        (einfo): Pass TRUE as the extra argument.
2005-01-10  Greg Schaffer  
2005-01-10  Greg Schaffer  
        * configure.host (linux targets): Use "${CC} -dumpspecs" instead
        * configure.host (linux targets): Use "${CC} -dumpspecs" instead
        of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
        of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
        (ia64-*-aix): Delete - this target is obsolete, and would be
        (ia64-*-aix): Delete - this target is obsolete, and would be
        broken by this patch.
        broken by this patch.
2005-01-06  Eric Botcazou  
2005-01-06  Eric Botcazou  
        * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
        * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
        (sparc64-sun-solaris2*): New host.
        (sparc64-sun-solaris2*): New host.
2005-01-06  Paul Brook  
2005-01-06  Paul Brook  
        * Makefie.am: Add earmelf_vxworks.
        * Makefie.am: Add earmelf_vxworks.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Make arm-*-vxworks a separate case.
        * configure.tgt: Make arm-*-vxworks a separate case.
        * emulparams/armelf_vxworks.sh: New function.
        * emulparams/armelf_vxworks.sh: New function.
2005-01-06  Alan Modra  
2005-01-06  Alan Modra  
        * emultempl/ppc64elf.em (no_multi_toc): New var.
        * emultempl/ppc64elf.em (no_multi_toc): New var.
        (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
        (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
        (OPTION_NO_MULTI_TOC): Define.
        (OPTION_NO_MULTI_TOC): Define.
        (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
        (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
        (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
        (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
2005-01-05  Nick Clifton  
2005-01-05  Nick Clifton  
        PR binutils/614
        PR binutils/614
        * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
        * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
        Standard's specification for parsable error messages.
        Standard's specification for parsable error messages.
2005-01-04  Paul Brook  
2005-01-04  Paul Brook  
        * Makefile.am: Correct dependency for earmsymbian.c.
        * Makefile.am: Correct dependency for earmsymbian.c.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
For older changes see ChangeLog-2004
For older changes see ChangeLog-2004


Local Variables:
Local Variables:
mode: change-log
mode: change-log
left-margin: 8
left-margin: 8
fill-column: 74
fill-column: 74
version-control: never
version-control: never
End:
End:
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.