From a41d8a74ee92f66068ff1323b6de3e703306bfe2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 15 Apr 2002 17:10:22 +0000 Subject: Update. 2002-02-17 Andreas Schwab * reldep7.c: New file. * reldep7mod1.c: New file. * reldep7mod2.c: New file. * Makefile: Add rules to build and run reldep7. --- elf/reldep7mod1.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 elf/reldep7mod1.c (limited to 'elf/reldep7mod1.c') diff --git a/elf/reldep7mod1.c b/elf/reldep7mod1.c new file mode 100644 index 0000000..de1bb3a --- /dev/null +++ b/elf/reldep7mod1.c @@ -0,0 +1,12 @@ +int foo (void) __attribute__ ((weak)); +int +foo (void) +{ + return 1; +} + +int +mod1_bar (void) +{ + return foo (); +} -- cgit v1.1