Test module for ELF tests.
authordrepper <drepper>
Sat, 16 Jan 1999 16:39:24 +0000 (16:39 +0000)
committerdrepper <drepper>
Sat, 16 Jan 1999 16:39:24 +0000 (16:39 +0000)
elf/testobj1.c [new file with mode: 0644]
elf/testobj2.c [new file with mode: 0644]
elf/testobj3.c [new file with mode: 0644]

diff --git a/elf/testobj1.c b/elf/testobj1.c
new file mode 100644 (file)
index 0000000..9f64d67
--- /dev/null
@@ -0,0 +1,11 @@
+int
+obj1func1 (int a __attribute__ ((unused)))
+{
+  return 42;
+}
+
+int
+obj1func2 (int a)
+{
+  return foo (a) + 10;
+}
diff --git a/elf/testobj2.c b/elf/testobj2.c
new file mode 100644 (file)
index 0000000..5c89d33
--- /dev/null
@@ -0,0 +1,11 @@
+int
+obj2func1 (int a __attribute__ ((unused)))
+{
+  return 43;
+}
+
+int
+obj2func2 (int a)
+{
+  return obj1func1 (a) + 10;
+}
diff --git a/elf/testobj3.c b/elf/testobj3.c
new file mode 100644 (file)
index 0000000..8e3d886
--- /dev/null
@@ -0,0 +1,11 @@
+int
+obj3func1 (int a __attribute__ ((unused)))
+{
+  return 44;
+}
+
+int
+obj3func2 (int a)
+{
+  return foo (a) + 42;
+}