Mips target in gold - revision 2 - part 1

Cary Coutant ccoutant@google.com
Mon Mar 10 20:44:00 GMT 2014


> The updated target-independent patches are attached.

I've committed these five patches:

nonvis.patch:

    Add function to set non-visibility part of st_other.

    2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>

    gold/
        * symtab.h (Symbol::set_nonvis): New function.

init-output-data.patch:

    Add explicit instantiations for Sized_symbol::init_output_data.

    2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>

    gold/
        * symtab.cc (Sized_symbol<32>::init_output_data):
        Instantiate the template.
        (Sized_symbol<64>::init_output_data): Likewise.

adjust-dynsym.patch:

    Allow target to adjust dynamic symbol value.

    2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>

    gold/
        * symtab.cc (Symbol_table::sized_write_globals): Allow a target to
        adjust dynamic symbol value.
        * target.h (Target::adjust_dyn_symbol): New function.
        (Target::do_adjust_dyn_symbol): New function.

dynamic-tag.patch:

    Allow target to add custom dynamic table entries.

    2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>

    gold/
        * output.cc (Output_data_dynamic::Dynamic_entry::write):
        Get the value of DYNAMIC_CUSTOM dynamic entry.
        * output.h (Output_data_dynamic::add_custom): New function.
        (Dynamic_entry::Dynamic_entry): New constructor for DYNAMIC_CUSTOM
        dynamic entry.
        (enum Dynamic_entry::Classification): Add DYNAMIC_CUSTOM.
        * target.h (Target::dynamic_tag_custom_value): New function.
        (Target::do_dynamic_tag_custom_value): New function.

dynsym.patch:

    Allow target to set dynsym indexes.

    2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>

    gold/
        * symtab.cc (Symbol_table::set_dynsym_indexes): Allow a target to set
        dynsym indexes.
        * target.h (Target::has_custom_set_dynsym_indexes): New function.
        (Target::do_has_custom_set_dynsym_indexes): New function.
        (Target::set_dynsym_indexes): New function.
        (Target::do_set_dynsym_indexes): New function.

-cary



More information about the Binutils mailing list