The type is used by tools/testing/selftests/vDSO/parse_vdso.c. To be able to build the vDSO selftests without a libc dependency, add the type to the kernels own UAPI headers. As documented by elf(5).
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -11,6 +11,7 @@ typedef __u16 Elf32_Half; · 10 unmodified lines | ||
| 11 | 11 | typedef __u32 Elf32_Off; |
| 12 | 12 | typedef __s32 Elf32_Sword; |
| 13 | 13 | typedef __u32 Elf32_Word; |
| 14 | +typedef __u16 Elf32_Versym; | |
| 14 | 15 | |
| 15 | 16 | /* 64-bit ELF base types. */ |
| 16 | 17 | typedef __u64 Elf64_Addr; |
| @@ -21,6 +22,7 @@ typedef __s32 Elf64_Sword; · 4 unmodified lines | ||
| 21 | 22 | typedef __u32 Elf64_Word; |
| 22 | 23 | typedef __u64 Elf64_Xword; |
| 23 | 24 | typedef __s64 Elf64_Sxword; |
| 25 | +typedef __u16 Elf64_Versym; | |
| 24 | 26 | |
| 25 | 27 | /* These constants are for the segment types stored in the image headers */ |
| 26 | 28 | #define PT_NULL 0 |