diff options
author | Doug Kwan <dougkwan@google.com> | 2009-10-30 18:49:59 +0000 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2009-10-30 18:49:59 +0000 |
commit | d5b40221bcfffa99532547f0b94a852d834426aa (patch) | |
tree | ca58152d05c8faaa6ac2f3fca06eaeb4810b53c6 /gold/sparc.cc | |
parent | ebabffbd89147c0f657eadb488f8a1df1c46e1a2 (diff) | |
download | gdb-d5b40221bcfffa99532547f0b94a852d834426aa.zip gdb-d5b40221bcfffa99532547f0b94a852d834426aa.tar.gz gdb-d5b40221bcfffa99532547f0b94a852d834426aa.tar.bz2 |
2009-10-30 Doug Kwan <dougkwan@google.com>
elfcpp/ChangeLog:
* arm.h (EF_ARM_BE8, EF_ARM_EABIMASK, EF_ARM_EABI_UNKNOWN,
EF_ARM_EABI_VER1, EF_ARM_EABI_VER2, EF_ARM_EABI_VER3,
EF_ARM_EABI_VER4, EF_ARM_EABI_VER5): New enums for processor-specific
flags.
(arm_eabi_version): New inline function.
* elfcpp.h: Add a comment about DT_ENCODING.
gold/ChangeLog:
* arm.cc (Arm_relobj::processor_specific_flags): New method
definition.
(Arm_relobj::do_read_symbols): New method declaration.
(Arm_relobj::processor_specific_flags_): New data member declaration.
(Arm_dynobj): New class definition.
(Target_arm::do_finalize_sections): Add input_objects parameter.
(Target_arm::do_adjust_elf_header): New method declaration.
(Target_arm::are_eabi_versions_compatible,
(Target_arm::merge_processor_specific_flags): New method declaration.
(Target_arm::do_make_elf_object): New overloaded method definitions
and declaration.
(Arm_relobj::do_read_symbols): New method definition.
(Arm_dynobj::do_read_symbols): Ditto.
(Target_arm::do_finalize_sections): Add input_objects parameters.
Merge processor-specific flags from all input objects.
(Target_arm::are_eabi_versions_compatible,
Target_arm::merge_processor_specific_flags,
Target_arm::do_adjust_elf_header, Target_arm::do_make_elf_object):
New method definitions.
* i386.cc (Target_i386::do_finalize_sections): Add unnamed
Input_objects pointer type parameter.
* layout.cc (Layout::finalize): Pass input objects to target's.
finalize_sections function.
* output.cc (Output_file_header::do_sized_write): Set ELF file
header's processor-specific flags.
* powerpc.cc (Target_powerpc::do_finalize_sections): Add unnamed
Input_objects pointer type parameter.
* sparc.cc (Target_sparc::do_finalize_sections): Same.
* target.h (Input_objects): New forward class declaration.
(Target::processor_specific_flags,
Target::are_processor_specific_flags_sect): New method definitions.
(Target::finalize_sections): Add input_objects parameter.
(Target::Target): Initialize processor_specific_flags_ and
are_processor_specific_flags_set_.
(Target::do_finalize_sections): Add unnamed Input_objects pointer type
parameter.
(Target::set_processor_specific_flags): New method definition.
(Target::processor_specific_flags_,
Target::are_processor_specific_flags_set_): New data member
declarations.
* x86_64.cc (Target_x86_64::do_finalize_sections): Add unnamed
Input_objects pointer type parameter.
Diffstat (limited to 'gold/sparc.cc')
-rw-r--r-- | gold/sparc.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gold/sparc.cc b/gold/sparc.cc index 74a91e9..dc825f7 100644 --- a/gold/sparc.cc +++ b/gold/sparc.cc @@ -94,7 +94,7 @@ class Target_sparc : public Sized_target<size, big_endian> const unsigned char* plocal_symbols); // Finalize the sections. void - do_finalize_sections(Layout*); + do_finalize_sections(Layout*, const Input_objects*); // Return the value to use for a dynamic which requires special // treatment. @@ -2317,7 +2317,9 @@ Target_sparc<size, big_endian>::scan_relocs( template<int size, bool big_endian> void -Target_sparc<size, big_endian>::do_finalize_sections(Layout* layout) +Target_sparc<size, big_endian>::do_finalize_sections( + Layout* layout, + const Input_objects*) { // Fill in some more dynamic tags. Output_data_dynamic* const odyn = layout->dynamic_data(); |