diff options
author | Ian Lance Taylor <iant@google.com> | 2006-11-06 22:46:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-11-06 22:46:08 +0000 |
commit | f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a (patch) | |
tree | 945ecd482d35d1c2a590645ef3d5f41fb83dcc4b /gold/target.h | |
parent | 8d9455b422d98d97f090923445aa2680e6882f20 (diff) | |
download | gdb-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.zip gdb-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.tar.gz gdb-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.tar.bz2 |
Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes.
Diffstat (limited to 'gold/target.h')
-rw-r--r-- | gold/target.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gold/target.h b/gold/target.h index b72998d..8e00a4d 100644 --- a/gold/target.h +++ b/gold/target.h @@ -16,7 +16,6 @@ #include <cassert> #include "elfcpp.h" -#include "symtab.h" namespace gold { @@ -24,9 +23,13 @@ namespace gold class General_options; class Object; template<int size, bool big_endian> -class Sized_object; +class Sized_relobj; template<int size, bool big_endian> struct Relocate_info; +class Symbol; +template<int size> +class Sized_symbol; +class Symbol_table; // The abstract class for target specific handling. @@ -150,7 +153,7 @@ class Sized_target : public Target scan_relocs(const General_options& options, Symbol_table* symtab, Layout* layout, - Sized_object<size, big_endian>* object, + Sized_relobj<size, big_endian>* object, unsigned int sh_type, const unsigned char* prelocs, size_t reloc_count, |