aboutsummaryrefslogtreecommitdiff
path: root/gold/target-select.h
AgeCommit message (Collapse)AuthorFilesLines
2008-03-25 * options.cc (options::help): Print list of supported targets.Ian Lance Taylor1-14/+96
* target-select.h: Include <vector>. (class Target_selector): Make machine_, size_, and is_big_endian_ fields const. Add bfd_name_ and instantiated_target_ fields. (Target_selector::Target_selector): Add bfd_name parameter. (Target_selector::recognize): Make non-virtual, call do_recognize. (Target_selector::recognize_by_name): Make non-virtual, call do_recognize_by_name. (Target_selector::supported_names): New function. (Target_selector::bfd_name): New function. (Target_selector::do_instantiate_target): New pure virtual function. (Target_selector::do_recognize): New virtual function. (Target_selector::do_recognize_by_name): New virtual function. (Target_selector::instantiate_target): New private function. (supported_target_names): Declare. * target-select.cc (Target_selector::Target_selector): Update for new parameter and fields. (select_target_by_name): Check that the name matches before calling recognize_by_name. (supported_target_names): New function. * i386.cc (class Target_selector_i386): Update Target_selector constructor call. Remove recognize and recognize_by_name. Add do_instantiate_target. * x86_64.cc (class Target_selector_x86_64): Likewise. * testsuite/testfile.cc (class Target_selector_test): Update for changes to Target_selector.
2008-03-13Update copyright years. Update language files.Ian Lance Taylor1-1/+1
2008-02-13Support selecting target by name.Ian Lance Taylor1-1/+11
2007-10-03Parameterize object_unittest to work for whatever target types areIan Lance Taylor1-5/+5
supported.
2007-09-22Add licensing text to every source file.Ian Lance Taylor1-0/+20
2006-11-03Can now do a full static link of hello, world in C or C++Ian Lance Taylor1-1/+1
2006-08-18Another snapshot of the current state of the sources. Gets to theIan Lance Taylor1-0/+69
point of symbol resolution and can now issue a multiple definition error. Also added target selection infrastructure.