aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-auditmod1.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-04-13 16:24:17 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-04-13 16:24:17 -0700
commit34a27407f49e61b1be2b2437eb7748a777f359aa (patch)
tree0d3bbcf7abc40bc94198e058e6689b3be62d4e70 /elf/tst-auditmod1.c
parent7e73e17d3f34799fe3108391197198a1cd1adb08 (diff)
downloadglibc-34a27407f49e61b1be2b2437eb7748a777f359aa.zip
glibc-34a27407f49e61b1be2b2437eb7748a777f359aa.tar.gz
glibc-34a27407f49e61b1be2b2437eb7748a777f359aa.tar.bz2
Check __ILP32__ instead of __LP64__
* elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__. * elf/tst-auditmod3b.c: Likewise. * elf/tst-auditmod4b.c: Likewise. * elf/tst-auditmod5b.c: Likewise. * elf/tst-auditmod6b.c: Likewise. * elf/tst-auditmod6c.c: Likewise. * elf/tst-auditmod7b.c: Likewise. * sysdeps/x86_64/ffsll.c (ffsl): Likewise. * sysdeps/x86_64/preconfigure.in: Likewise. * sysdeps/x86_64/preconfigure: Regenerated.
Diffstat (limited to 'elf/tst-auditmod1.c')
-rw-r--r--elf/tst-auditmod1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-auditmod1.c b/elf/tst-auditmod1.c
index 67fc758..108d6de 100644
--- a/elf/tst-auditmod1.c
+++ b/elf/tst-auditmod1.c
@@ -109,7 +109,7 @@ la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook,
# define La_retval La_i86_retval
# define int_retval lrv_eax
#elif defined __x86_64__
-# ifdef __LP64__
+# ifndef __ILP32__
# define pltenter la_x86_64_gnu_pltenter
# define pltexit la_x86_64_gnu_pltexit
# define La_regs La_x86_64_regs