This patch fixes powerpc32 undef compiler warnings for _CALL_ELF,
since it is defined only for powerpc64.
+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.
__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
__END_DECLS
-#else
+# else
/* Registers for entry into PLT on PPC64 in the ELFv2 ABI. */
typedef struct La_ppc64v2_regs
__END_DECLS
+# endif
#endif