diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2017-10-24 20:35:55 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2017-10-24 20:35:55 +0000 |
commit | 2394b8cc83b8d7a81c7c4ffc7e4215363ae7a38e (patch) | |
tree | dbfa2790613a5386498248b6b2654daae796b3e7 /gnu/usr.bin/binutils-2.17 | |
parent | cc92a49c1d2dd362b9d0502347afdbd9836bcf9b (diff) |
R_AARCH64_NONE should be zero, not 256. The latter was a deprecated
assignment and isn't used by clang/lld.
ok jsg@
Diffstat (limited to 'gnu/usr.bin/binutils-2.17')
-rw-r--r-- | gnu/usr.bin/binutils-2.17/include/elf/aarch64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils-2.17/include/elf/aarch64.h b/gnu/usr.bin/binutils-2.17/include/elf/aarch64.h index 1b448195cfa..48933c1f4d8 100644 --- a/gnu/usr.bin/binutils-2.17/include/elf/aarch64.h +++ b/gnu/usr.bin/binutils-2.17/include/elf/aarch64.h @@ -20,8 +20,8 @@ #include "elf/reloc-macros.h" START_RELOC_NUMBERS (elf_aarch64_reloc_type ) - RELOC_NUMBER (R_AARCH64_NONE, 256) /* No reloc */ - RELOC_NUMBER (R_AARCH64_ABS64, 257) /* Direct 64 bit */ + RELOC_NUMBER (R_AARCH64_NONE, 0) /* No reloc */ + RELOC_NUMBER (R_AARCH64_ABS64, 257) /* Direct 64 bit */ RELOC_NUMBER (R_AARCH64_COPY, 1024) /* Copy symbol at runtime */ RELOC_NUMBER (R_AARCH64_GLOB_DAT, 1025) /* Create GOT entry */ RELOC_NUMBER (R_AARCH64_JUMP_SLOT, 1026) /* Create PLT entry */ |