1 // target.h -- target support for gold
3 // The abstract class Target is the interface for target specific
4 // support. It defines abstract methods which each target must
5 // implement. Typically there will be one target per processor, but
6 // in some cases it may be necessary to have subclasses.
8 // For speed and consistency we want to use inline functions to handle
9 // relocation processing. So besides implementations of the abstract
10 // methods, each target is expected to define a template
11 // specialization of the relocation functions.
24 extern Target* select_target(int machine, int size, bool big_endian,
25 int osabi, int abiversion);
27 } // End namespace gold.
29 #endif // !defined(GOLD_TARGET_H)