diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-06-28 22:25:14 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-06-28 22:25:14 +0000 |
commit | 200b2bb9e8930d9d47fa5f378cf595328ee9c9bc (patch) | |
tree | 57dd95b99e99a1306e2503f90771d01f1e71d518 /gold/i386.cc | |
parent | b3ce541e970466431bf6abfa8ad58424a1d1a7ec (diff) | |
download | gdb-200b2bb9e8930d9d47fa5f378cf595328ee9c9bc.zip gdb-200b2bb9e8930d9d47fa5f378cf595328ee9c9bc.tar.gz gdb-200b2bb9e8930d9d47fa5f378cf595328ee9c9bc.tar.bz2 |
* target.h (class Target): Add osabi_ field.
(Target::osabi): New function.
(Target::set_osabi): New function.
(Target::Target): Initialize osabi_.
(Target::do_adjust_elf_header): Make pure virtual.
(Sized_target::do_adjust_elf_header): Declare.
* target.cc (Sized_target::do_adjust_elf_header): New function.
(class Sized_target): Instantiate all versions.
* freebsd.h (class Target_freebsd): Remove.
(Target_selector_freebsd::do_recognize): Call set_osabi on
Target.
(Target_selector_freebsd::do_recognize_by_name): Likewise.
(Target_selector_freebsd::set_osabi): Remove.
* i386.cc (class Target_i386): Inherit from Sized_target rather
than Target_freebsd.
* x86_64.cc (class Target_x86_64): Likewise.
Diffstat (limited to 'gold/i386.cc')
-rw-r--r-- | gold/i386.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/i386.cc b/gold/i386.cc index bd5eaaf..b158b1f 100644 --- a/gold/i386.cc +++ b/gold/i386.cc @@ -158,13 +158,13 @@ class Output_data_plt_i386 : public Output_section_data // http://people.redhat.com/drepper/tls.pdf // http://www.lsd.ic.unicamp.br/~oliva/writeups/TLS/RFC-TLSDESC-x86.txt -class Target_i386 : public Target_freebsd<32, false> +class Target_i386 : public Sized_target<32, false> { public: typedef Output_data_reloc<elfcpp::SHT_REL, true, 32, false> Reloc_section; Target_i386() - : Target_freebsd<32, false>(&i386_info), + : Sized_target<32, false>(&i386_info), got_(NULL), plt_(NULL), got_plt_(NULL), got_tlsdesc_(NULL), global_offset_table_(NULL), rel_dyn_(NULL), copy_relocs_(elfcpp::R_386_COPY), dynbss_(NULL), |