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/fileread.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/fileread.cc')
0 files changed, 0 insertions, 0 deletions