about summary refs log tree commit diff
path: root/elf/filter.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-21 06:58:27 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-21 06:58:27 +0000
commitfcacb36a0c1a5c1175952b0f2aedad54b0fb1f10 (patch)
tree3041bb3060bb4ace63f7b1a5adb2df837adaccce /elf/filter.c
parentf53c03c20d6039d78cf1ccb43fbbbe79e0ec7e9e (diff)
downloadglibc-fcacb36a0c1a5c1175952b0f2aedad54b0fb1f10.tar.gz
glibc-fcacb36a0c1a5c1175952b0f2aedad54b0fb1f10.tar.xz
glibc-fcacb36a0c1a5c1175952b0f2aedad54b0fb1f10.zip
Update.
	* elf/Makefile (tests): Add filter.  Add rules to generate filter.
	* elf/filter.c: New file.
	* elf/filtmod1.c: New file.
	* elf/filtmod2.c: New file.
Diffstat (limited to 'elf/filter.c')
-rw-r--r--elf/filter.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/elf/filter.c b/elf/filter.c
new file mode 100644
index 0000000000..76bc91adc5
--- /dev/null
+++ b/elf/filter.c
@@ -0,0 +1,14 @@
+#include <stdio.h>
+#include <string.h>
+
+extern const char *foo (void);
+
+int
+main (void)
+{
+  const char *s = foo ();
+
+  printf ("called `foo' from `%s'\n", s);
+
+  return strcmp (s, "filtmod2.c");
+}