1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00
2002-12-30  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile: Add rules to build and run reldep8 test.
	* elf/reldep8.c: New file.
	* elf/reldep8mod1.c: New file.
	* elf/reldep8mod2.c: New file.
	* elf/reldep8mod3.c: New file.
	Contributed by Jakub Jelinek.
This commit is contained in:
Ulrich Drepper
2002-12-30 20:25:40 +00:00
parent 31df0ab098
commit cfaf5e56c8
6 changed files with 62 additions and 4 deletions

19
elf/reldep8mod1.c Normal file
View File

@@ -0,0 +1,19 @@
#include <stdlib.h>
void
foo (void)
{
exit (0);
}
void
__attribute__((destructor))
bar (void)
{
static int i;
foo ();
++i;
}
void
baz (void)
{
}