From 0b949f43abe3e11462ed59fed79299840f404851 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Mon, 1 Sep 2003 20:45:21 +0000
Subject: kill these too.

---
 test/ldso/dltest2.c | 50 --------------------------------------------------
 test/ldso/dlttest.c | 45 ---------------------------------------------
 2 files changed, 95 deletions(-)
 delete mode 100644 test/ldso/dltest2.c
 delete mode 100644 test/ldso/dlttest.c

(limited to 'test')

diff --git a/test/ldso/dltest2.c b/test/ldso/dltest2.c
deleted file mode 100644
index 91bafa40e..000000000
--- a/test/ldso/dltest2.c
+++ /dev/null
@@ -1,50 +0,0 @@
-#include <fcntl.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <dlfcn.h>
-#include "thread_db.h"
-
-extern void _dlinfo();
-
-int main(int argc, char **argv) {
-	void *handle;
-	td_err_e (*td_init_p) (void);
-
-	fprintf(stderr, "Attempting to dlopen() libpthread.so with RTLD_NOW\n");
-	handle = dlopen ("libpthread.so", RTLD_NOW);
-	if (!handle) {
-		fputs (dlerror(), stderr);
-		exit(1);
-	}
-
-	td_init_p = dlsym (handle, "__pthread_initialize");
-	if (td_init_p == NULL) {
-	    fprintf(stderr, "yipe!  __pthread_initialize() failed!\n");
-	    return EXIT_FAILURE;
-	}
-#if 0 //def __UCLIBC__
-	_dlinfo();   /* not supported by ld.so.2 */
-#endif
-	dlclose(handle);
-
-
-	fprintf(stderr, "Attempting to dlopen() libpthread.so with RTLD_LAZY\n");
-	handle = dlopen ("libpthread.so", RTLD_LAZY);
-	if (!handle) {
-		fputs (dlerror(), stderr);
-		exit(1);
-	}
-
-	td_init_p = dlsym (handle, "__pthread_initialize");
-	if (td_init_p == NULL) {
-	    fprintf(stderr, "yipe!  __pthread_initialize() failed!");
-	    return EXIT_FAILURE;
-	}
-#if 0 //def __UCLIBC__
-	_dlinfo();   /* not supported by ld.so.2 */
-#endif
-	dlclose(handle);
-
-	fprintf(stderr, "Everything worked as expected.\n");
-	return EXIT_SUCCESS;
-}
diff --git a/test/ldso/dlttest.c b/test/ldso/dlttest.c
deleted file mode 100644
index 591f5b56f..000000000
--- a/test/ldso/dlttest.c
+++ /dev/null
@@ -1,45 +0,0 @@
-#include <pthread.h>
-#include <fcntl.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <dlfcn.h>
-
-extern void _dlinfo();
-extern int __pthread_return_0 (void);
-#undef __UCLIBC__
-
-int main(int argc, char **argv) {
-	void *handle;
-	int (*myhowdy)(const char *s);
-	char *error;
-
-#ifdef __UCLIBC__
-	_dlinfo();   /* not supported by ld.so.2 */
-#endif
-
-	handle = dlopen ("./libhowdy.so", RTLD_LAZY);
-
-	if (!handle) {
-		fputs (dlerror(), stderr);
-		exit(1);
-	}
-
-	myhowdy = dlsym(handle, "howdy");
-	if ((error = dlerror()) != NULL)  {
-		fputs(error, stderr);
-		exit(1);
-	}
-
-#ifdef FORCE
-	printf("main:   __pthread_return_0 = %p\n", __pthread_return_0);
-#endif
-	myhowdy("hello world!\n");
-
-#ifdef __UCLIBC__
-	_dlinfo();   /* not supported by ld.so.2 */
-#endif
-
-	dlclose(handle);
-
-	return EXIT_SUCCESS;
-}
-- 
cgit v1.2.3