PowerPC: Fix nearbyintl failure for few inputs
[glibc.git] / elf / testobj4.c
blob2729ba32be8db5a41bb54c8845acb52bd545a43b
1 #include <dlfcn.h>
2 #include <stdlib.h>
4 #include "testobj.h"
6 int
7 obj4func1 (int a __attribute__ ((unused)))
9 return 55;
12 int
13 obj4func2 (int a)
15 return foo (a) + 43;
18 int
19 preload (int a)
21 int (*fp) (int) = dlsym (RTLD_NEXT, "preload");
22 if (fp != NULL)
23 return fp (a) + 10;
24 return 10;