diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/bits/link.h | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for + __ELF_NATIVE_CLASS equal to 64. + 2014-07-07 Roland McGrath <roland@hack.frob.com> * sysdeps/nptl/lowlevellock.h: File removed. diff --git a/sysdeps/powerpc/bits/link.h b/sysdeps/powerpc/bits/link.h index c8f876b510..373b6d5bfc 100644 --- a/sysdeps/powerpc/bits/link.h +++ b/sysdeps/powerpc/bits/link.h @@ -63,7 +63,8 @@ extern unsigned int la_ppc32_gnu_pltexit (Elf32_Sym *__sym, __END_DECLS -#elif _CALL_ELF != 2 +#elif __ELF_NATIVE_CLASS == 64 +# if _CALL_ELF != 2 /* Registers for entry into PLT on PPC64. */ typedef struct La_ppc64_regs @@ -107,7 +108,7 @@ extern unsigned int la_ppc64_gnu_pltexit (Elf64_Sym *__sym, __END_DECLS -#else +# else /* Registers for entry into PLT on PPC64 in the ELFv2 ABI. */ typedef struct La_ppc64v2_regs @@ -151,4 +152,5 @@ extern unsigned int la_ppc64v2_gnu_pltexit (Elf64_Sym *__sym, __END_DECLS +# endif #endif |