bcb27c9f96
* gdb.base/relocate.c (dummy): New padding array.
21 lines
355 B
C
21 lines
355 B
C
static int static_foo = 1;
|
|
static int static_bar = 2;
|
|
|
|
/* This padding is just for the benefit of the test harness. It
|
|
causes the globals to have different addresses than the functions. */
|
|
int dummy[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
|
|
|
int global_foo = 3;
|
|
int global_bar = 4;
|
|
|
|
int
|
|
function_foo ()
|
|
{
|
|
return 5;
|
|
}
|
|
|
|
int
|
|
function_bar ()
|
|
{
|
|
return 6;
|
|
}
|