1/* this is part of the test_relocs.c test, which is used to check that 2 * the relocations generated in a shared object are properly handled 3 * by the Bionic dynamic linker 4 */ 5 6struct foo { int first, second; }; 7struct foo Foo = {1, 2}; 8 9int* FooPtr[] = { &Foo.first, &Foo.second }; 10 11int func1( void ) 12{ 13 return *FooPtr[0]; 14} 15 16int func2( void ) 17{ 18 return *FooPtr[1]; 19} 20