about summary refs log tree commit diff
path: root/elf/reldep7mod1.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/reldep7mod1.c
parent78575a842bce4d8e8c725506da1f826d16b660eb (diff)
downloadglibc-a41d8a74ee92f66068ff1323b6de3e703306bfe2.tar.gz
glibc-a41d8a74ee92f66068ff1323b6de3e703306bfe2.tar.xz
glibc-a41d8a74ee92f66068ff1323b6de3e703306bfe2.zip
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/reldep7mod1.c')
-rw-r--r--elf/reldep7mod1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/elf/reldep7mod1.c b/elf/reldep7mod1.c
new file mode 100644
index 0000000000..de1bb3a6cd
--- /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 ();
+}