Line 1... |
Line 1... |
// testfile.cc -- Dummy ELF objects for testing purposes.
|
// testfile.cc -- Dummy ELF objects for testing purposes.
|
|
|
// Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
// Copyright 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc.
|
// Written by Ian Lance Taylor <iant@google.com>.
|
// Written by Ian Lance Taylor <iant@google.com>.
|
|
|
// This file is part of gold.
|
// This file is part of gold.
|
|
|
// This program is free software; you can redistribute it and/or modify
|
// This program is free software; you can redistribute it and/or modify
|
Line 92... |
Line 92... |
static_cast<elfcpp::EM>(0xffff), // machine_code
|
static_cast<elfcpp::EM>(0xffff), // machine_code
|
false, // has_make_symbol
|
false, // has_make_symbol
|
false, // has_resolve
|
false, // has_resolve
|
false, // has_code_fill
|
false, // has_code_fill
|
false, // is_default_stack_executable
|
false, // is_default_stack_executable
|
|
false, // can_icf_inline_merge_sections
|
'\0', // wrap_char
|
'\0', // wrap_char
|
"/dummy", // dynamic_linker
|
"/dummy", // dynamic_linker
|
0x08000000, // default_text_segment_address
|
0x08000000, // default_text_segment_address
|
0x1000, // abi_pagesize
|
0x1000, // abi_pagesize
|
0x1000, // common_pagesize
|
0x1000, // common_pagesize
|
Line 148... |
Line 149... |
template<int size, bool big_endian>
|
template<int size, bool big_endian>
|
class Target_selector_test : public Target_selector
|
class Target_selector_test : public Target_selector
|
{
|
{
|
public:
|
public:
|
Target_selector_test()
|
Target_selector_test()
|
: Target_selector(0xffff, size, big_endian, NULL)
|
: Target_selector(0xffff, size, big_endian, NULL, NULL)
|
{ }
|
{ }
|
|
|
Target*
|
Target*
|
do_instantiate_target()
|
do_instantiate_target()
|
{
|
{
|