mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
3c2476067c
* ld-empic/*: New tests to test -membedded-pic code.
27 lines
355 B
C
27 lines
355 B
C
/* Second C source file for actual execution test. */
|
|
|
|
int k;
|
|
extern int i;
|
|
extern int j;
|
|
extern char small_buf[];
|
|
extern char *small_pointer;
|
|
|
|
extern int chkstr ();
|
|
|
|
int
|
|
bar (n)
|
|
int n;
|
|
{
|
|
int r;
|
|
|
|
if (i != 1
|
|
|| j != 0
|
|
|| ! chkstr (small_buf, 4)
|
|
|| ! chkstr (small_pointer, 4))
|
|
return k + 1;
|
|
|
|
r = k;
|
|
k = n;
|
|
return r;
|
|
}
|