diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-17 17:50:56 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-17 17:50:56 +0000 |
commit | 5c80f57cfcbe5b3aee94cffde108a22d3e38f7e4 (patch) | |
tree | 6f4108cfa2c9e69db7af38a210453dbaf53d150c | |
parent | 715ed1e9a557ae8d06d532ddeb42c11b79327d9a (diff) | |
download | glibc-5c80f57cfcbe5b3aee94cffde108a22d3e38f7e4.tar.gz |
Update.
* elf/neededobj1.c: Likewise.
* elf/neededobj2.c: Likewise.
* elf/neededobj3.c: Likewise.
* elf/neededobj4.c: Likewise.
* elf/nextmod1.c: Likewise.
* elf/nextmod2.c: Likewise.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | elf/constload3.c | 1 | ||||
-rw-r--r-- | elf/failobj.c | 2 | ||||
-rw-r--r-- | elf/filtmod1.c | 2 | ||||
-rw-r--r-- | elf/filtmod2.c | 2 | ||||
-rw-r--r-- | elf/ltglobmod1.c | 2 | ||||
-rw-r--r-- | elf/neededobj1.c | 2 | ||||
-rw-r--r-- | elf/neededobj2.c | 1 | ||||
-rw-r--r-- | elf/neededobj3.c | 1 | ||||
-rw-r--r-- | elf/neededobj4.c | 1 | ||||
-rw-r--r-- | elf/nextmod1.c | 3 | ||||
-rw-r--r-- | elf/nextmod2.c | 4 | ||||
-rw-r--r-- | elf/nodelmod3.c | 1 | ||||
-rw-r--r-- | elf/pathoptobj.c | 3 | ||||
-rw-r--r-- | elf/reldepmod1.c | 3 | ||||
-rw-r--r-- | elf/reldepmod2.c | 1 | ||||
-rw-r--r-- | elf/reldepmod3.c | 2 | ||||
-rw-r--r-- | elf/reldepmod4.c | 2 | ||||
-rw-r--r-- | elf/unload2dep.c | 2 | ||||
-rw-r--r-- | elf/unload2mod.c | 1 | ||||
-rw-r--r-- | linuxthreads/internals.h | 3 |
21 files changed, 45 insertions, 0 deletions
@@ -21,6 +21,12 @@ * elf/unload2mod.c: Likewise. * elf/ltglobmod1.c: Likewise. * elf/pathoptobj.c: Likewise. + * elf/neededobj1.c: Likewise. + * elf/neededobj2.c: Likewise. + * elf/neededobj3.c: Likewise. + * elf/neededobj4.c: Likewise. + * elf/nextmod1.c: Likewise. + * elf/nextmod2.c: Likewise. * locale/programs/ld-collate.c (collate_finish): Don't use labels at end of compound statement. diff --git a/elf/constload3.c b/elf/constload3.c index c9f94b86ee..9c37620bba 100644 --- a/elf/constload3.c +++ b/elf/constload3.c @@ -1,4 +1,5 @@ extern int baz (void); +extern int bar (void); int bar (void) diff --git a/elf/failobj.c b/elf/failobj.c index e938d4a803..500606382e 100644 --- a/elf/failobj.c +++ b/elf/failobj.c @@ -1,6 +1,8 @@ /* This function is supposed to not exist. */ extern int xyzzy (int); +extern int foo (int); + int foo (int a) { diff --git a/elf/filtmod1.c b/elf/filtmod1.c index 3810d7fa84..1d9b19481d 100644 --- a/elf/filtmod1.c +++ b/elf/filtmod1.c @@ -1,3 +1,5 @@ +extern const char *foo (void); + const char * foo (void) { diff --git a/elf/filtmod2.c b/elf/filtmod2.c index 3810d7fa84..1d9b19481d 100644 --- a/elf/filtmod2.c +++ b/elf/filtmod2.c @@ -1,3 +1,5 @@ +extern const char *foo (void); + const char * foo (void) { diff --git a/elf/ltglobmod1.c b/elf/ltglobmod1.c index 46e74ee2fb..300fa9a89f 100644 --- a/elf/ltglobmod1.c +++ b/elf/ltglobmod1.c @@ -1,3 +1,5 @@ +extern int bar (void); + int bar (void) { diff --git a/elf/neededobj1.c b/elf/neededobj1.c index 12c5184cc8..eb55adab39 100644 --- a/elf/neededobj1.c +++ b/elf/neededobj1.c @@ -1,3 +1,5 @@ +extern void c_function (void); + void c_function (void) { diff --git a/elf/neededobj2.c b/elf/neededobj2.c index 22b0e4c794..5ad8a51d62 100644 --- a/elf/neededobj2.c +++ b/elf/neededobj2.c @@ -1,3 +1,4 @@ +extern void b_function (void); extern void c_function (void); void diff --git a/elf/neededobj3.c b/elf/neededobj3.c index 0fc94e2112..da25329aa7 100644 --- a/elf/neededobj3.c +++ b/elf/neededobj3.c @@ -1,3 +1,4 @@ +extern void a_function (void); extern void b_function (void); extern void c_function (void); diff --git a/elf/neededobj4.c b/elf/neededobj4.c index e5f53d16e6..3ea8540047 100644 --- a/elf/neededobj4.c +++ b/elf/neededobj4.c @@ -1,6 +1,7 @@ extern void a_function (void); extern void b_function (void); extern void c_function (void); +extern void d_function (void); void d_function (void) diff --git a/elf/nextmod1.c b/elf/nextmod1.c index 19f972b9e0..56de3536a0 100644 --- a/elf/nextmod1.c +++ b/elf/nextmod1.c @@ -1,5 +1,8 @@ #include <dlfcn.h> +extern int successful_rtld_next_test (void); +extern void *failing_rtld_next_use (void); + int nextmod1_dummy_var; int diff --git a/elf/nextmod2.c b/elf/nextmod2.c index 790e0ce9fe..b2c435f341 100644 --- a/elf/nextmod2.c +++ b/elf/nextmod2.c @@ -1,4 +1,8 @@ /* Very elaborated function. */ + +extern int successful_rtld_next_test (void); + + int successful_rtld_next_test (void) { diff --git a/elf/nodelmod3.c b/elf/nodelmod3.c index c48a1a696c..817c94db6e 100644 --- a/elf/nodelmod3.c +++ b/elf/nodelmod3.c @@ -1,4 +1,5 @@ extern int var_in_mod4; +extern int *addr (void); int * addr (void) diff --git a/elf/pathoptobj.c b/elf/pathoptobj.c index fd0618e642..a452c2d7d4 100644 --- a/elf/pathoptobj.c +++ b/elf/pathoptobj.c @@ -1,3 +1,6 @@ +extern int in_renamed (int); + + int in_renamed (int a) { diff --git a/elf/reldepmod1.c b/elf/reldepmod1.c index 26f67b3d0d..b8ef6401e1 100644 --- a/elf/reldepmod1.c +++ b/elf/reldepmod1.c @@ -1,5 +1,8 @@ +extern int foo (void); + int some_var; + int foo (void) { diff --git a/elf/reldepmod2.c b/elf/reldepmod2.c index f511755444..b7edebae80 100644 --- a/elf/reldepmod2.c +++ b/elf/reldepmod2.c @@ -1,4 +1,5 @@ extern int foo (void); +extern int call_me (void); int call_me (void) diff --git a/elf/reldepmod3.c b/elf/reldepmod3.c index cadda630d9..66a996cd90 100644 --- a/elf/reldepmod3.c +++ b/elf/reldepmod3.c @@ -2,6 +2,8 @@ #include <stdio.h> #include <stdlib.h> +extern int call_me (void); + int call_me (void) { diff --git a/elf/reldepmod4.c b/elf/reldepmod4.c index 607f52baba..dcb503bba7 100644 --- a/elf/reldepmod4.c +++ b/elf/reldepmod4.c @@ -2,6 +2,8 @@ #include <stdio.h> #include <stdlib.h> +extern int call_me (void); + int call_me (void) { diff --git a/elf/unload2dep.c b/elf/unload2dep.c index cd0130cacd..0d319515d5 100644 --- a/elf/unload2dep.c +++ b/elf/unload2dep.c @@ -1,3 +1,5 @@ +extern void foo (void); + void foo (void) { diff --git a/elf/unload2mod.c b/elf/unload2mod.c index eae278df96..9c2ea586bc 100644 --- a/elf/unload2mod.c +++ b/elf/unload2mod.c @@ -1,4 +1,5 @@ extern void foo (void); +extern void bar (void); void bar (void) diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h index f5915529b2..b81e5f4a63 100644 --- a/linuxthreads/internals.h +++ b/linuxthreads/internals.h @@ -27,6 +27,9 @@ #include <sys/types.h> #include <bits/libc-tsd.h> /* for _LIBC_TSD_KEY_N */ +extern long int testandset (int *spinlock); +extern int __compare_and_swap (long int *p, long int oldval, long int newval); + #include "pt-machine.h" #include "semaphore.h" #include "../linuxthreads_db/thread_dbP.h" |