mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-10-30 10:45:40 +03:00 
			
		
		
		
	2002-12-30 Ulrich Drepper <drepper@redhat.com> * elf/Makefile: Add rules to build and run reldep8 test. * elf/reldep8.c: New file. * elf/reldep8mod1.c: New file. * elf/reldep8mod2.c: New file. * elf/reldep8mod3.c: New file. Contributed by Jakub Jelinek.
		
			
				
	
	
		
			17 lines
		
	
	
		
			251 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			251 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include <stdio.h>
 | |
| #include <stdlib.h>
 | |
| #include <dlfcn.h>
 | |
| 
 | |
| int
 | |
| main (void)
 | |
| {
 | |
|   void *handle = dlopen ("reldep8mod3.so", RTLD_LAZY);
 | |
|   if (handle == NULL)
 | |
|     {
 | |
|       printf ("%s\n", dlerror ());
 | |
|       exit (1);
 | |
|     }
 | |
|   dlclose (handle);
 | |
|   abort ();
 | |
| }
 |