Re: [patch libffi]: Make sure code is position-independent for x64 targets

2013-03-22 Thread Andrew Haley
On 03/22/2013 07:42 AM, Kai Tietz wrote: > Tested for x86_64-w64-mingw32, and for upcoming x86_64-pc-cygwin > target. Ok for apply? Yes, that's fine. Andrew.

[patch libffi]: Make sure code is position-independent for x64 targets

2013-03-22 Thread Kai Tietz
Hi, this patch fixes the Win64-code so that we use only pc-relative addressing. This is of importance if code gets linked to an pe-image with an image-base above 2GB. ChangeLog 2013-03-22 Kai Tietz * src/x86/win64.S: Make use of ffi_closure_win64_inner symbol pc-relative. T