bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/19019] [SPARC64] Only registers %g[2367] can be declared using


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/19019] [SPARC64] Only registers %g[2367] can be declared using STT_REGISTER when linking against libsystemd
Date: Fri, 04 Mar 2016 02:22:43 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19019

--- Comment #21 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Cary Coutant <address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dc1c8a16a38dec431c77f49cf50a9b62d6366138

commit dc1c8a16a38dec431c77f49cf50a9b62d6366138
Author: Cary Coutant <address@hidden>
Date:   Thu Feb 4 16:55:39 2016 -0800

    Add support for STT_SPARC_REGISTER symbols.

    gold/
        PR gold/19019
        * layout.h (Layout::add_target_specific_dynamic_tag): New function.
        * layout.cc (Layout::add_target_specific_dynamic_tag): New function.
        * mips.cc (Target_mips::make_symbol): Adjust function signature.
        * sparc.cc (Target_sparc::Target_sparc): Initialize register_syms_.
        (Target_sparc::do_is_defined_by_abi): Remove test for
        STT_SPARC_REGISTER.
        (Target_sparc::Register_symbol): New struct type.
        (Target_sparc::register_syms_): New data member.
        (Target_sparc<64, true>::sparc_info): Set has_make_symbol to true.
        (Target_sparc::make_symbol): New function.
        (Target_sparc::do_finalize_sections): Add register symbols and new
        dynamic table entries.
        * symtab.h (Sized_symbol::init_undefined): Add value parameter.
        (Symbol_table::add_target_global_symbol): New function.
        (Symbol_table::target_symbols_): New data member.
        * symtab.cc (Sized_symbol::init_undefined): Add value parameter.
        (Symbol_table::Symbol_table): Initialize target_symbols_.
        (Symbol_table::add_from_object): Pass additional parameters to
        Target::make_symbol.
        (Symbol_table::define_special_symbol): Likewise.
        (Symbol_table::add_undefined_symbol_from_command_line): Pass 0 for
        undefined symbol value.
        (Symbol_table::set_dynsym_indexes): Process target-specific symbols.
        (Symbol_table::sized_finalize): Likewise.
        (Symbol_table::sized_write_globals): Likewise.
        * target.h (Sized_target::make_symbol): Add name, st_type, object,
        st_shndx, and value parameters.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]