]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-elf/pr25749-2.c
Fix x86 ld testsuite fails with glibc < 2.28
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-elf / pr25749-2.c
CommitLineData
382aae06
L
1#include <stdio.h>
2#include <bfd_stdint.h>
3
4extern intptr_t size;
5
6int
7main ()
8{
84df1f9d 9 if (size == 293 /* size of this file */)
382aae06 10 printf ("PASS\n");
84df1f9d
AM
11#ifdef __GLIBC_PREREQ
12# if !__GLIBC_PREREQ (2, 28)
13 else
14 printf ("PASS (incorrect result due to glibc bug)\n");
15# endif
16#endif
382aae06
L
17 return 0;
18}