mirror of git://sourceware.org/git/glibc.git
* elf/tst-tls13.c (do_test): Avoid using the library path when
looking for tst-tlsmod13a.so.
This commit is contained in:
parent
11f685f5d8
commit
285a709ace
|
@ -1,5 +1,8 @@
|
||||||
2005-12-27 Ulrich Drepper <drepper@redhat.com>
|
2005-12-27 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* elf/tst-tls13.c (do_test): Avoid using the library path when
|
||||||
|
looking for tst-tlsmod13a.so.
|
||||||
|
|
||||||
* stdio-common/tstdiomisc.c: If FLT_EVEL_METHOD is 2 use long
|
* stdio-common/tstdiomisc.c: If FLT_EVEL_METHOD is 2 use long
|
||||||
double math to generate NaN results.
|
double math to generate NaN results.
|
||||||
|
|
||||||
|
|
|
@ -2,17 +2,17 @@
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
do_test (void)
|
do_test (void)
|
||||||
{
|
{
|
||||||
int i;
|
for (int i = 0; i < 1000;)
|
||||||
for (i = 0; i < 1000;)
|
|
||||||
{
|
{
|
||||||
printf ("round %d\n",++i);
|
printf ("round %d\n",++i);
|
||||||
|
|
||||||
void *h = dlopen ("tst-tlsmod13a.so", RTLD_LAZY);
|
void *h = dlopen ("$ORIGIN/tst-tlsmod13a.so", RTLD_LAZY);
|
||||||
if (h == NULL)
|
if (h == NULL)
|
||||||
{
|
{
|
||||||
printf ("cannot load: %s\n", dlerror ());
|
printf ("cannot load: %s\n", dlerror ());
|
||||||
|
|
Loading…
Reference in New Issue