From: Andreas Jaeger Date: Sun, 17 Dec 2000 17:50:56 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.20~16984 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c80f57cfcbe5b3aee94cffde108a22d3e38f7e4;p=platform%2Fupstream%2Flinaro-glibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index a150c7b..274b465 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 +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 #include +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 #include +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 #include /* 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"