commit | dcfd870fac69a2540f5f2b37c3f1d3e646ca521f | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Oct 18 14:47:12 2023 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Oct 18 14:47:12 2023 -0700 |
tree | 0c90cab6c452856e98afde9b86f71894ba837ca4 | |
parent | 363e743200121ce228909b68247be2d690a46839 [diff] |
Clarify one of the "missing" FreeBSD ELF constants. Test: treehugger Change-Id: I7173ac704e6537a4e99a976baec46aa22df751bd
diff --git a/libc/include/elf.h b/libc/include/elf.h index 1dfc008..04a73f7 100644 --- a/libc/include/elf.h +++ b/libc/include/elf.h
@@ -266,4 +266,6 @@ /* TODO: upstream these to FreeBSD? */ #define R_ARM_TLS_DESC 13 #define R_ARM_IRELATIVE 160 -#define R_X86_64_JUMP_SLOT 7 + +/* BSD spells this slightly differently to Linux. */ +#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT