fix breakage in x32 dynamic linker due to mismatching register size
authorRich Felker <dalias@aerifal.cx>
Mon, 20 Apr 2015 22:17:48 +0000 (18:17 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 20 Apr 2015 22:17:48 +0000 (18:17 -0400)
commit4bf10ebf66e0c675c549032fc72915beb92d1312
tree1fe9b116d388acec09cadbe0ebc0901226fc0a9e
parent60ed988fd6c67b489d7cc186ecaa9db4e5c25b8c
fix breakage in x32 dynamic linker due to mismatching register size

the jmp instruction requires a 64-bit register, so cast the desired PC
address up to uint64_t, going through uintptr_t to ensure that it's
zero-extended rather than possibly sign-extended.
arch/x32/reloc.h