• Alan Modra's avatar
    [GOLD] PowerPC .gnu.attributes support · 1cbba2d2
    Alan Modra authored
    elfcpp/
    	* powerpc.h (Tag_GNU_Power_ABI_FP): Define.
    	(Tag_GNU_Power_ABI_Vector, Tag_GNU_Power_ABI_Struct_Return): Define.
    gold/
    	* powerpc.cc: Include attributes.h.
    	(Powerpc_relobj::attributes_section_data_): New variable, with
    	accessor and associated constructor and destructor support.
    	(Powerpc_dynobj::attributes_section_data_): Likewise.
    	(Powerpc_relobj::do_read_symbols): Stash SHT_GNU_ATTRIBUTES section
    	contents in attributes_section_data_.
    	(Powerpc_dynobj::do_read_symbols): Likewise.
    	(Target_powerpc): Add attributes_section_data_, last_fp_, last_ld_,
    	last_vec_, and last_struct_ vars.
    	(Target_powerpc::merge_object_attributes): New function.
    	(Target_powerpc::do_finalize_sections): Iterate over input objects
    	merging attributes.  Create output attributes section.
    
    (cherry picked from commit 724436fccb68156ff53b7b03cb7f41547a65c30c)
    1cbba2d2
Name
Last commit
Last update
..
ChangeLog Loading commit data...
ChangeLog-0815 Loading commit data...
ChangeLog-2016 Loading commit data...
ChangeLog-2017 Loading commit data...
README Loading commit data...
aarch64.h Loading commit data...
arm.h Loading commit data...
dwarf.h Loading commit data...
elfcpp.h Loading commit data...
elfcpp_file.h Loading commit data...
elfcpp_internal.h Loading commit data...
elfcpp_swap.h Loading commit data...
i386.h Loading commit data...
mips.h Loading commit data...
powerpc.h Loading commit data...
s390.h Loading commit data...
sparc.h Loading commit data...
tilegx.h Loading commit data...
x86_64.h Loading commit data...