mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
PowerPC: Guard CALL_ELF check for ppc64 only in link.h
This patch fixes powerpc32 undef compiler warnings for _CALL_ELF, since it is defined only for powerpc64.
This commit is contained in:
parent
f4c4021bc0
commit
3f17b03b09
@ -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.
|
||||
|
@ -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
|
||||
@ -152,3 +153,4 @@ extern unsigned int la_ppc64v2_gnu_pltexit (Elf64_Sym *__sym,
|
||||
__END_DECLS
|
||||
|
||||
# endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user