diff options
-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 c9f94b8..9c37620 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 e938d4a..5006063 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 3810d7f..1d9b194 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 3810d7f..1d9b194 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 46e74ee..300fa9a 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 12c5184..eb55ada 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 22b0e4c..5ad8a51 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 0fc94e2..da25329 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 e5f53d1..3ea8540 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 19f972b..56de353 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 790e0ce..b2c435f 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 c48a1a6..817c94d 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 fd0618e..a452c2d 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 26f67b3..b8ef640 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 f511755..b7edeba 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 cadda63..66a996c 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 607f52b..dcb503b 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 cd0130c..0d31951 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 eae278d..9c2ea58 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 f591552..b81e5f4 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" |