From 369a06bd366fbb7874a8396f11ad8f2e0220bfe3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 6 Jan 2005 22:49:15 +0000 Subject: . --- elf/tst-auditmod1.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'elf') diff --git a/elf/tst-auditmod1.c b/elf/tst-auditmod1.c index 108b08a22f..7d39857d59 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 -- cgit 1.4.1