Message ID | 1466485631-3532-4-git-send-email-ynorov@caviumnetworks.com |
---|---|
State | New |
Headers | show |
On 21/06/16 06:06, Yury Norov wrote: > From: Andrew Pinski <apinski@cavium.com> > > * sysdeps/aarch64/sysdep.h: Add header guards. > the things listed below are not part of the patch (upstream glibc already has these fixes) > [AARCH64] Remove 64 from some relocation names as they have been renamed in later versions of the spec. > > The AARCH64 elf ABI spec renamed some relocations removing 64 from the TLS > relocation names to make them constaint with the ILP32 named ones. > > * elf/elf.h (R_AARCH64_TLS_DTPMOD64): Rename to .. > (R_AARCH64_TLS_DTPMOD): This. > (R_AARCH64_TLS_DTPREL64): Rename to ... > (R_AARCH64_TLS_DTPREL): This. > (R_AARCH64_TLS_TPREL64): Rename to ... > (R_AARCH64_TLS_TPREL): This. > * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update > R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and R_AARCH64_TLS_TPREL64. > (elf_machine_rela): Likewise. ...
diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h index 6b728ec..594ab0b 100644 --- a/sysdeps/aarch64/sysdep.h +++ b/sysdeps/aarch64/sysdep.h @@ -16,6 +16,9 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +#ifndef _AARCH64_SYSDEP_H +#define _AARCH64_SYSDEP_H + #include <sysdeps/generic/sysdep.h> #ifdef __ASSEMBLER__ @@ -96,3 +99,5 @@ #define mcount _mcount #endif /* __ASSEMBLER__ */ + +#endif /* _AARCH64_SYSDEP_H */