aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-01-06 22:49:15 +0000
committerUlrich Drepper <drepper@redhat.com>2005-01-06 22:49:15 +0000
commit369a06bd366fbb7874a8396f11ad8f2e0220bfe3 (patch)
tree71acbf8cbf16119ef1e617f41290a5e9225c6359
parent2c11e7f3bd393a28a8a9596ab29d4ed072811d54 (diff)
downloadglibc-369a06bd366fbb7874a8396f11ad8f2e0220bfe3.zip
glibc-369a06bd366fbb7874a8396f11ad8f2e0220bfe3.tar.gz
glibc-369a06bd366fbb7874a8396f11ad8f2e0220bfe3.tar.bz2
.
-rw-r--r--elf/tst-auditmod1.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/elf/tst-auditmod1.c b/elf/tst-auditmod1.c
index 108b08a..7d39857 100644
--- a/elf/tst-auditmod1.c
+++ b/elf/tst-auditmod1.c
@@ -124,10 +124,7 @@ la_i86_gnu_pltexit (Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook,
return 0;
}
-#endif
-
-
-#ifdef __x86_64__
+#elif defined __x86_64__
uintptr_t
la_x86_64_gnu_pltenter (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook,
uintptr_t *defcook, La_x86_64_regs *regs,
@@ -150,4 +147,6 @@ la_x86_64_gnu_pltexit (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook,
return 0;
}
+#else
+# error "architecture specific code needed"
#endif