mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
fe60f7648c
1999-01-21 Ulrich Drepper <drepper@cygnus.com> * 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.
20 lines
174 B
C
20 lines
174 B
C
extern int foo (int);
|
|
|
|
int
|
|
obj6func1 (int a __attribute__ ((unused)))
|
|
{
|
|
return 77;
|
|
}
|
|
|
|
int
|
|
obj6func2 (int a)
|
|
{
|
|
return foo (a) + 46;
|
|
}
|
|
|
|
int
|
|
preload (int a)
|
|
{
|
|
return a;
|
|
}
|