blob: 30995a838b88a56184e6d7dc3c6009147cc61151 [file] [log] [blame]
#include "globals.h"
extern int Func1(int x);
// Verify local relocations for the function pointer happen before the
// R_ARM_COPY of this object to the main.nexe
struct OBJ g_OBJS[2] = {
{ 7, Func1 },
{ 11, Func1 },
};
extern int puts(const char *);
char* hello_string = "Hello World.\n";
void do_hello() {
puts(hello_string);
}
int Func1(int x) {
return x;
}