Set OSABI field back to 0 (SysV), to avoid interoperability problems
[nacl-binutils.git] / ld / testsuite / ld-pie / weakundef-data.c
blobaf411bccbfdb37e17e228f3701a7a6e3e63f388e
1 #include <stdio.h>
3 #pragma weak undef_data
5 extern int undef_data;
6 int *ptr_to_data = &undef_data;
8 int
9 main (void)
11 if (ptr_to_data == NULL)
12 printf ("PASSED\n");
14 return 0;