1999-01-21  Ulrich Drepper  <drepper@cygnus.com>

	* elf/Makefile: Change rule to make test module so that they are
	compiled using -fPIC.
	* elf/testobj1.c: Add missing prototype.
	* elf/testobj1_1.c: Likewise.
	* elf/testobj2.c: Likewise.
	* elf/testobj3.c: Likewise.
	* elf/testobj4.c: Likewise.
	* elf/testobj5.c: Likewise.
	* elf/testobj6.c: Likewise.
This commit is contained in:
Ulrich Drepper 1999-01-21 08:31:59 +00:00
parent 82df2969f8
commit fe60f7648c
9 changed files with 27 additions and 1 deletions

View File

@ -1,3 +1,15 @@
1999-01-21 Ulrich Drepper <drepper@cygnus.com>
* elf/Makefile: Change rule to make test module so that they are
compiled using -fPIC.
* elf/testobj1.c: Add missing prototype.
* elf/testobj1_1.c: Likewise.
* elf/testobj2.c: Likewise.
* elf/testobj3.c: Likewise.
* elf/testobj4.c: Likewise.
* elf/testobj5.c: Likewise.
* elf/testobj6.c: Likewise.
1999-01-20 Ulrich Drepper <drepper@cygnus.com>
* elf/Makefile (tests): Add loadfail.

View File

@ -218,7 +218,7 @@ LDLIBS-testobj5.so = -ldl
LDLIBS-testobj6.so = -ldl
LDLIBS-failobj.so = $(objpfx)testobj6.so
$(test-modules): $(objpfx)%.so: %.c
$(test-modules): $(objpfx)%.so: $(objpfx)%.os
$(build-module)
$(objpfx)loadtest: $(objpfx)libdl.so

View File

@ -1,6 +1,8 @@
#include <dlfcn.h>
#include <stdlib.h>
extern int foo (int);
int
obj1func1 (int a __attribute__ ((unused)))
{

View File

@ -1,3 +1,5 @@
extern int obj1func2 (int);
int
obj1func1 (int a)
{

View File

@ -1,6 +1,8 @@
#include <dlfcn.h>
#include <stdlib.h>
extern int obj1func1 (int);
int
obj2func1 (int a __attribute__ ((unused)))
{

View File

@ -1,6 +1,8 @@
#include <dlfcn.h>
#include <stdlib.h>
extern int foo (int);
int
obj3func1 (int a __attribute__ ((unused)))
{

View File

@ -1,6 +1,8 @@
#include <dlfcn.h>
#include <stdlib.h>
extern int foo (int);
int
obj4func1 (int a __attribute__ ((unused)))
{

View File

@ -1,6 +1,8 @@
#include <dlfcn.h>
#include <stdlib.h>
extern int foo (int);
int
obj5func1 (int a __attribute__ ((unused)))
{

View File

@ -1,3 +1,5 @@
extern int foo (int);
int
obj6func1 (int a __attribute__ ((unused)))
{