Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
	* elf/loadfail.c: Little cosmetic changes to avoid warnings.
	* elf/loadtest.c: Likewise.
	* elf/multiload.c: Likewise.
	* elf/next.c: Likewise.
	* elf/nodelete.c: Likewise.
	* elf/noload.c: Likewise.
	* elf/order.c: Likewise.
	* elf/origtest.c: Likewise.
	* elf/preloadtest.c: Likewise.
	* elf/restest1.c: Likewise.
  • Loading branch information
Ulrich Drepper committed Nov 26, 2000
1 parent 68784f8 commit a850e77
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 2 deletions.
11 changes: 11 additions & 0 deletions ChangeLog
@@ -1,5 +1,16 @@
2000-11-25 Ulrich Drepper <drepper@redhat.com>

* elf/loadfail.c: Little cosmetic changes to avoid warnings.
* elf/loadtest.c: Likewise.
* elf/multiload.c: Likewise.
* elf/next.c: Likewise.
* elf/nodelete.c: Likewise.
* elf/noload.c: Likewise.
* elf/order.c: Likewise.
* elf/origtest.c: Likewise.
* elf/preloadtest.c: Likewise.
* elf/restest1.c: Likewise.

* sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
parameter of asm must be in %ecx.

Expand Down
1 change: 1 addition & 0 deletions elf/loadfail.c
Expand Up @@ -34,6 +34,7 @@ main (void)
return h != NULL;
}

extern int foo (int a);
int
foo (int a)
{
Expand Down
3 changes: 2 additions & 1 deletion elf/loadtest.c
Expand Up @@ -146,7 +146,7 @@ main (int argc, char *argv[])
}

/* Unload all loaded modules. */
for (count = 0; count < NOBJS; ++count)
for (count = 0; count < (int) NOBJS; ++count)
if (testobjs[count].handle != NULL)
{
printf ("\nclose: %s: l_initfini = %p, l_versions = %p\n",
Expand Down Expand Up @@ -174,6 +174,7 @@ main (int argc, char *argv[])
}


extern int foo (int a);
int
foo (int a)
{
Expand Down
1 change: 1 addition & 0 deletions elf/multiload.c
Expand Up @@ -97,6 +97,7 @@ main (void)
return 0;
}

extern int foo (int a);
int
foo (int a)
{
Expand Down
2 changes: 1 addition & 1 deletion elf/next.c
Expand Up @@ -5,7 +5,7 @@ extern int successful_rtld_next_test (void);
extern void *failing_rtld_next_use (void);


int
static int
do_test (void)
{
int result;
Expand Down
1 change: 1 addition & 0 deletions elf/nodelete.c
Expand Up @@ -11,6 +11,7 @@ int fini_ran;


static void
__attribute__ ((noreturn))
handler (int sig)
{
siglongjmp (jmpbuf, 1);
Expand Down
1 change: 1 addition & 0 deletions elf/noload.c
Expand Up @@ -63,6 +63,7 @@ main (void)
}


extern int foo (int a);
int
foo (int a)
{
Expand Down
2 changes: 2 additions & 0 deletions elf/order.c
@@ -1,12 +1,14 @@
#include <unistd.h>

void init (void) __attribute__ ((constructor));
void
__attribute__ ((constructor))
init (void)
{
write (1, "4", 1);
}

void fini (void) __attribute__ ((destructor));
void
__attribute__ ((destructor))
fini (void)
Expand Down
1 change: 1 addition & 0 deletions elf/origtest.c
Expand Up @@ -31,6 +31,7 @@ main (void)
}


extern int foo (int a);
int
foo (int a)
{
Expand Down
1 change: 1 addition & 0 deletions elf/preloadtest.c
Expand Up @@ -12,6 +12,7 @@ main (void)
return res != 92;
}

extern int foo (int a);
int
foo (int a)
{
Expand Down
1 change: 1 addition & 0 deletions elf/restest1.c
Expand Up @@ -49,6 +49,7 @@ main (void)
}


extern int foo (int a);
int
foo (int a)
{
Expand Down

0 comments on commit a850e77

Please sign in to comment.