summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src/algorithm.cpp
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2019-12-01 13:10:51 +0000
committerjsg <jsg@openbsd.org>2019-12-01 13:10:51 +0000
commit29a5018d36e1893562b3c4665fd74c2724fb2b1b (patch)
tree3182f367a81a0886469d44e8b2cea1528fba83b8 /lib/libcxx/src/algorithm.cpp
parentExplain how ipcomp can be enabled. (diff)
downloadwireguard-openbsd-29a5018d36e1893562b3c4665fd74c2724fb2b1b.tar.xz
wireguard-openbsd-29a5018d36e1893562b3c4665fd74c2724fb2b1b.zip
Change Elf64 types and structs to match the System V ABI specification.
Change Elf64_Half from a uint32_t type to a uint16_t type. The size of structs do not change as the previous uses of Elf64_Half become Elf64_Word (uint32_t). Remove Elf64_Quarter as 16 bit values now use Elf64_Half. Replace Elf_Byte use with unsigned char. Change some uses of Elf64_Xword to Elf64_Addr (both uint64_t). Corrects behaviour with libelf where the file size of a symtab section came back as 26 not 24 as libelf determines this by the size of a the involved types not the size of the struct in exec_elf.h. As a result libelf's elf_getdata() returned ELF_E_SECTION due to the size of the section not being a multiple of the file size of the section type. This occurred with the new runtime linker for radeon shaders in Mesa 19.2. Sync description of Elf32 and Elf64 types in elf(5) with FreeBSD and adjust types in structs mentioned. ok guenther@ deraadt@
Diffstat (limited to 'lib/libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions