commit | b8021fbe21d1c57f33ce512e80b6a2966ae52113 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Wed Oct 18 23:41:36 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Oct 18 23:41:36 2023 +0000 |
tree | 0c90cab6c452856e98afde9b86f71894ba837ca4 | |
parent | 363e743200121ce228909b68247be2d690a46839 [diff] | |
parent | dcfd870fac69a2540f5f2b37c3f1d3e646ca521f [diff] |
Merge "Clarify one of the "missing" FreeBSD ELF constants." into main
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