From fe60f7648c0e524fced3b0c9aacac98e8fa8aa99 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 21 Jan 1999 08:31:59 +0000 Subject: [PATCH] Update. 1999-01-21 Ulrich Drepper * 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. --- ChangeLog | 12 ++++++++++++ elf/Makefile | 2 +- elf/testobj1.c | 2 ++ elf/testobj1_1.c | 2 ++ elf/testobj2.c | 2 ++ elf/testobj3.c | 2 ++ elf/testobj4.c | 2 ++ elf/testobj5.c | 2 ++ elf/testobj6.c | 2 ++ 9 files changed, 27 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d1899c7..8b25523 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +1999-01-21 Ulrich Drepper + + * 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 * elf/Makefile (tests): Add loadfail. diff --git a/elf/Makefile b/elf/Makefile index 05bc446..dff2c97 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -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 diff --git a/elf/testobj1.c b/elf/testobj1.c index 354e1a7..d5b485f 100644 --- a/elf/testobj1.c +++ b/elf/testobj1.c @@ -1,6 +1,8 @@ #include #include +extern int foo (int); + int obj1func1 (int a __attribute__ ((unused))) { diff --git a/elf/testobj1_1.c b/elf/testobj1_1.c index c0f2aa4..a146067 100644 --- a/elf/testobj1_1.c +++ b/elf/testobj1_1.c @@ -1,3 +1,5 @@ +extern int obj1func2 (int); + int obj1func1 (int a) { diff --git a/elf/testobj2.c b/elf/testobj2.c index dc34ecb..b9c2ca8 100644 --- a/elf/testobj2.c +++ b/elf/testobj2.c @@ -1,6 +1,8 @@ #include #include +extern int obj1func1 (int); + int obj2func1 (int a __attribute__ ((unused))) { diff --git a/elf/testobj3.c b/elf/testobj3.c index 1fb10f9..d8ede36 100644 --- a/elf/testobj3.c +++ b/elf/testobj3.c @@ -1,6 +1,8 @@ #include #include +extern int foo (int); + int obj3func1 (int a __attribute__ ((unused))) { diff --git a/elf/testobj4.c b/elf/testobj4.c index d780bef..a354f76 100644 --- a/elf/testobj4.c +++ b/elf/testobj4.c @@ -1,6 +1,8 @@ #include #include +extern int foo (int); + int obj4func1 (int a __attribute__ ((unused))) { diff --git a/elf/testobj5.c b/elf/testobj5.c index e30ca14..af36aa9 100644 --- a/elf/testobj5.c +++ b/elf/testobj5.c @@ -1,6 +1,8 @@ #include #include +extern int foo (int); + int obj5func1 (int a __attribute__ ((unused))) { diff --git a/elf/testobj6.c b/elf/testobj6.c index 42bfc8e..ab9c4b9 100644 --- a/elf/testobj6.c +++ b/elf/testobj6.c @@ -1,3 +1,5 @@ +extern int foo (int); + int obj6func1 (int a __attribute__ ((unused))) { -- 2.7.4