aboutsummaryrefslogtreecommitdiff
path: root/elf/reldep7mod2.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-15 17:10:22 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-15 17:10:22 +0000
commita41d8a74ee92f66068ff1323b6de3e703306bfe2 (patch)
tree680a2abaadedcdde8afcdac7f0688866665011f5 /elf/reldep7mod2.c
parent78575a842bce4d8e8c725506da1f826d16b660eb (diff)
downloadglibc-a41d8a74ee92f66068ff1323b6de3e703306bfe2.zip
glibc-a41d8a74ee92f66068ff1323b6de3e703306bfe2.tar.gz
glibc-a41d8a74ee92f66068ff1323b6de3e703306bfe2.tar.bz2
Update.
2002-02-17 Andreas Schwab <schwab@suse.de> * reldep7.c: New file. * reldep7mod1.c: New file. * reldep7mod2.c: New file. * Makefile: Add rules to build and run reldep7.
Diffstat (limited to 'elf/reldep7mod2.c')
-rw-r--r--elf/reldep7mod2.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/elf/reldep7mod2.c b/elf/reldep7mod2.c
new file mode 100644
index 0000000..3fa3368
--- /dev/null
+++ b/elf/reldep7mod2.c
@@ -0,0 +1,12 @@
+int foo (void) __attribute__ ((weak));
+int
+foo (void)
+{
+ return 2;
+}
+
+int
+mod2_bar (void)
+{
+ return foo ();
+}