diff options
Diffstat (limited to 'elf/tst-auditmod1.c')
-rw-r--r-- | elf/tst-auditmod1.c | 7 |
1 files changed, 3 insertions, 4 deletions
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 |