wine
11 years agowinemac: Implement GetCursorPos().
Ken Thomases [Mon, 25 Feb 2013 04:53:29 +0000 (22:53 -0600)] 
winemac: Implement GetCursorPos().

11 years agowinemac: Use system cursors when possible.
Ken Thomases [Mon, 25 Feb 2013 04:53:25 +0000 (22:53 -0600)] 
winemac: Use system cursors when possible.

11 years agowinemac: Implement SetCursor() and DestroyCursorIcon().
Ken Thomases [Mon, 25 Feb 2013 04:53:21 +0000 (22:53 -0600)] 
winemac: Implement SetCursor() and DestroyCursorIcon().

11 years agogdiplus: If a device doesn't support AlphaBlend don't convert image to PARGB.
Dmitry Timoshkov [Mon, 25 Feb 2013 05:31:12 +0000 (13:31 +0800)] 
gdiplus: If a device doesn't support AlphaBlend don't convert image to PARGB.

11 years agogdiplus: Round up when converting from 32-bit ARGB to PARGB.
Dmitry Timoshkov [Mon, 25 Feb 2013 05:30:32 +0000 (13:30 +0800)] 
gdiplus: Round up when converting from 32-bit ARGB to PARGB.

11 years agogdiplus: Add some tests for ARGB conversions.
Dmitry Timoshkov [Mon, 25 Feb 2013 05:29:44 +0000 (13:29 +0800)] 
gdiplus: Add some tests for ARGB conversions.

11 years agomsvcrt: Move demangler flags to a header and use them.
Nikolay Sivov [Sun, 24 Feb 2013 11:23:29 +0000 (15:23 +0400)] 
msvcrt: Move demangler flags to a header and use them.

11 years agocomctl32/imagelist: Allow only one drag cursor.
Daniel Jelinski [Sat, 23 Feb 2013 23:33:58 +0000 (00:33 +0100)] 
comctl32/imagelist: Allow only one drag cursor.

11 years agooledb32: Avoid signed-unsigned integer comparisons.
Andrew Talbot [Sat, 23 Feb 2013 22:48:47 +0000 (22:48 +0000)] 
oledb32: Avoid signed-unsigned integer comparisons.

11 years agooledlg: Avoid signed-unsigned integer comparisons.
Andrew Talbot [Sat, 23 Feb 2013 22:49:07 +0000 (22:49 +0000)] 
oledlg: Avoid signed-unsigned integer comparisons.

11 years agoquartz: Avoid signed-unsigned integer comparisons.
Andrew Talbot [Sat, 23 Feb 2013 22:49:16 +0000 (22:49 +0000)] 
quartz: Avoid signed-unsigned integer comparisons.

11 years agooleaut32: Fixed VarBstrFromDate behavior on dates before year 1600.
Piotr Caban [Fri, 22 Feb 2013 17:46:32 +0000 (18:46 +0100)] 
oleaut32: Fixed VarBstrFromDate behavior on dates before year 1600.

11 years agooleaut32: Fixed time outputing for dates before 1899 in VarBstrFromDate.
Piotr Caban [Fri, 22 Feb 2013 17:43:26 +0000 (18:43 +0100)] 
oleaut32: Fixed time outputing for dates before 1899 in VarBstrFromDate.

11 years agourlmon: Use separated variable for InternetQueryDataAvailable to avoid races.
Jacek Caban [Fri, 22 Feb 2013 13:13:19 +0000 (14:13 +0100)] 
urlmon: Use separated variable for InternetQueryDataAvailable to avoid races.

11 years agovbscript: Added support for a few more constants.
Jacek Caban [Fri, 22 Feb 2013 11:30:07 +0000 (12:30 +0100)] 
vbscript: Added support for a few more constants.

11 years agowinmm: WAVE_OPEN_QUERY causes no WIM/WOM_OPEN notification.
Jörg Höhle [Wed, 20 Feb 2013 21:53:33 +0000 (22:53 +0100)] 
winmm: WAVE_OPEN_QUERY causes no WIM/WOM_OPEN notification.

11 years agogdiplus: Remove debug traces from GdipBitmapGetPixel and GdipBitmapSetPixel.
Dmitry Timoshkov [Fri, 22 Feb 2013 11:18:23 +0000 (19:18 +0800)] 
gdiplus: Remove debug traces from GdipBitmapGetPixel and GdipBitmapSetPixel.

11 years agoole32: Avoid signed-unsigned integer comparisons.
Andrew Talbot [Thu, 21 Feb 2013 22:30:15 +0000 (22:30 +0000)] 
ole32: Avoid signed-unsigned integer comparisons.

11 years agooleaut32: Avoid signed-unsigned integer comparisons.
Andrew Talbot [Thu, 21 Feb 2013 22:30:17 +0000 (22:30 +0000)] 
oleaut32: Avoid signed-unsigned integer comparisons.

11 years agocomctl32/listview: Implement overlay image support.
Daniel Jelinski [Thu, 21 Feb 2013 20:51:36 +0000 (21:51 +0100)] 
comctl32/listview: Implement overlay image support.

11 years agowininet: Fail in NETCON_secure_connect instead of create_netconn if OpenSSL is not...
Jacek Caban [Thu, 21 Feb 2013 17:08:46 +0000 (18:08 +0100)] 
wininet: Fail in NETCON_secure_connect instead of create_netconn if OpenSSL is not available.

11 years agowinhttp: Removed no longer used netconn_init argument.
Jacek Caban [Thu, 21 Feb 2013 17:08:25 +0000 (18:08 +0100)] 
winhttp: Removed no longer used netconn_init argument.

11 years agommdevapi/tests: Produce audible 16bit output too.
Jörg Höhle [Wed, 15 Feb 2012 21:23:34 +0000 (22:23 +0100)] 
mmdevapi/tests: Produce audible 16bit output too.

11 years agowebservices: Add new dll.
Alistair Leslie-Hughes [Thu, 21 Feb 2013 02:53:44 +0000 (13:53 +1100)] 
webservices: Add new dll.

11 years agod3d9/tests: CheckDeviceType() may also return D3DERR_NOTAVAILABLE for D3DFMT_X1R5G5B5.
Francois Gouget [Thu, 21 Feb 2013 15:22:42 +0000 (16:22 +0100)] 
d3d9/tests: CheckDeviceType() may also return D3DERR_NOTAVAILABLE for D3DFMT_X1R5G5B5.

Spice's QXL driver claims to support X1R5G5B5 but then returns
NOTAVAILABLE just like the Windows Standard VGA driver does for R5G6B5
and X8R8G8B8.

11 years agorpcrt4: Accept HTTP idle packets while waiting for the second prepare header.
Hans Leidekker [Thu, 21 Feb 2013 09:47:45 +0000 (10:47 +0100)] 
rpcrt4: Accept HTTP idle packets while waiting for the second prepare header.

11 years agowmiutils: Implement IWbemPathKeyList::RemoveAllKeys.
Hans Leidekker [Thu, 21 Feb 2013 09:46:54 +0000 (10:46 +0100)] 
wmiutils: Implement IWbemPathKeyList::RemoveAllKeys.

11 years agowmiutils: Implement IWbemPathKeyList::GetCount.
Hans Leidekker [Thu, 21 Feb 2013 09:46:19 +0000 (10:46 +0100)] 
wmiutils: Implement IWbemPathKeyList::GetCount.

11 years agowmiutils: Add a stub implementation of IWbemPathKeyList.
Hans Leidekker [Thu, 21 Feb 2013 09:45:51 +0000 (10:45 +0100)] 
wmiutils: Add a stub implementation of IWbemPathKeyList.

11 years agowmiutils: Add support for for parsing and serializing a key list.
Hans Leidekker [Thu, 21 Feb 2013 09:45:17 +0000 (10:45 +0100)] 
wmiutils: Add support for for parsing and serializing a key list.

11 years agontdll: Avoid signed-unsigned integer comparisons.
Andrew Talbot [Wed, 20 Feb 2013 21:25:56 +0000 (21:25 +0000)] 
ntdll: Avoid signed-unsigned integer comparisons.

11 years agogdiplus: Correct the GdipDrawString .spec entry.
Dmitry Timoshkov [Thu, 21 Feb 2013 05:31:44 +0000 (13:31 +0800)] 
gdiplus: Correct the GdipDrawString .spec entry.

11 years agocomctl32/tests: Mark win8 behaviour as broken.
André Hentschel [Wed, 20 Feb 2013 22:37:45 +0000 (23:37 +0100)] 
comctl32/tests: Mark win8 behaviour as broken.

11 years agocomctl32/listview: Fix incorrect message parameters.
Daniel Jelinski [Wed, 20 Feb 2013 21:36:23 +0000 (22:36 +0100)] 
comctl32/listview: Fix incorrect message parameters.

11 years agod3dx9: Avoid useless computations.
Nozomi Kodama [Sat, 16 Feb 2013 09:04:25 +0000 (23:04 -1000)] 
d3dx9: Avoid useless computations.

11 years agod3dx9: Add a missing trace.
Nozomi Kodama [Sat, 16 Feb 2013 08:52:42 +0000 (22:52 -1000)] 
d3dx9: Add a missing trace.

11 years agod3dx9: Specify arguments in trace to ease debugging.
Nozomi Kodama [Sat, 16 Feb 2013 08:43:29 +0000 (22:43 -1000)] 
d3dx9: Specify arguments in trace to ease debugging.

11 years agogdiplus: Use an off-screen DC to trace a path.
Dmitry Timoshkov [Wed, 20 Feb 2013 06:18:56 +0000 (14:18 +0800)] 
gdiplus: Use an off-screen DC to trace a path.

11 years agogdiplus: Use an off-screen DC as an image surface.
Dmitry Timoshkov [Wed, 20 Feb 2013 06:18:13 +0000 (14:18 +0800)] 
gdiplus: Use an off-screen DC as an image surface.

11 years agogdiplus: Use an off-screen DC for font enumeration.
Dmitry Timoshkov [Wed, 20 Feb 2013 06:17:36 +0000 (14:17 +0800)] 
gdiplus: Use an off-screen DC for font enumeration.

11 years agomsvcrt: Mark gmtime32 tests with negative argument as broken on win8.
Piotr Caban [Wed, 20 Feb 2013 14:53:24 +0000 (15:53 +0100)] 
msvcrt: Mark gmtime32 tests with negative argument as broken on win8.

11 years agomshtml: Added IHTMLDocument5::createAttribute tests.
Jacek Caban [Wed, 20 Feb 2013 14:21:38 +0000 (15:21 +0100)] 
mshtml: Added IHTMLDocument5::createAttribute tests.

11 years agomshtml: Added support for IHTMLDOMAttribute::get_nodeName in detached attributes.
Jacek Caban [Wed, 20 Feb 2013 14:21:27 +0000 (15:21 +0100)] 
mshtml: Added support for IHTMLDOMAttribute::get_nodeName in detached attributes.

11 years agomshtml: Addeed IHTMLDocument5::createAttribute implementation.
Jacek Caban [Wed, 20 Feb 2013 14:21:15 +0000 (15:21 +0100)] 
mshtml: Addeed IHTMLDocument5::createAttribute implementation.

11 years agomshtml: Added IHTMLWindow2::onfocus property implementation.
Jacek Caban [Wed, 20 Feb 2013 14:20:59 +0000 (15:20 +0100)] 
mshtml: Added IHTMLWindow2::onfocus property implementation.

11 years agomshtml: Forward IHTMLDocument3::get_childNodes to IHTMLDOMNode implemnentation.
Jacek Caban [Wed, 20 Feb 2013 14:20:51 +0000 (15:20 +0100)] 
mshtml: Forward IHTMLDocument3::get_childNodes to IHTMLDOMNode implemnentation.

11 years agourlmon: Added a few more forward to propsys.
Jacek Caban [Wed, 20 Feb 2013 14:17:40 +0000 (15:17 +0100)] 
urlmon: Added a few more forward to propsys.

11 years agowinhttp: Get cert store directly from cert in netconn_verify_cert.
Jacek Caban [Wed, 20 Feb 2013 10:14:18 +0000 (11:14 +0100)] 
winhttp: Get cert store directly from cert in netconn_verify_cert.

11 years agousp10: Clusters are represented by glyph indices not character positions.
Huw Davies [Wed, 20 Feb 2013 09:51:10 +0000 (09:51 +0000)] 
usp10: Clusters are represented by glyph indices not character positions.

11 years agopsapi/tests: Define the required Windows version before including anything.
Alexandre Julliard [Wed, 20 Feb 2013 12:17:12 +0000 (13:17 +0100)] 
psapi/tests: Define the required Windows version before including anything.

11 years agoddraw/tests: Fix the refresh rate test when running with the Windows 'Standard VGA...
Francois Gouget [Tue, 19 Feb 2013 23:14:40 +0000 (00:14 +0100)] 
ddraw/tests: Fix the refresh rate test when running with the Windows 'Standard VGA' driver.

11 years agoshell32: COM clean up for the inner IUnknown of ShellFSFolder.
Michael Stefaniuc [Tue, 19 Feb 2013 23:13:49 +0000 (00:13 +0100)] 
shell32: COM clean up for the inner IUnknown of ShellFSFolder.

11 years agoddraw/tests: Simplify some equality comparisons between bools.
Michael Stefaniuc [Tue, 19 Feb 2013 23:11:36 +0000 (00:11 +0100)] 
ddraw/tests: Simplify some equality comparisons between bools.

11 years agomsvcrt: Avoid signed-unsigned integer comparisons.
Andrew Talbot [Tue, 19 Feb 2013 22:24:42 +0000 (22:24 +0000)] 
msvcrt: Avoid signed-unsigned integer comparisons.

11 years agomsxml3: Avoid signed-unsigned integer comparisons.
Andrew Talbot [Tue, 19 Feb 2013 22:24:44 +0000 (22:24 +0000)] 
msxml3: Avoid signed-unsigned integer comparisons.

11 years agokernel32: Add stub for GetCurrentPackageId.
André Hentschel [Tue, 19 Feb 2013 22:19:34 +0000 (23:19 +0100)] 
kernel32: Add stub for GetCurrentPackageId.

11 years agomshtml: Don't crash if fire_event_obj is called on detached document.
Jacek Caban [Tue, 19 Feb 2013 16:05:11 +0000 (17:05 +0100)] 
mshtml: Don't crash if fire_event_obj is called on detached document.

11 years agomshtml: Fix copy and paste error.
Michael Stefaniuc [Tue, 19 Feb 2013 14:17:08 +0000 (15:17 +0100)] 
mshtml: Fix copy and paste error.

11 years agontdll: Stabilize CreateTimerQueueTimer callbacks over time.
Jörg Höhle [Sun, 4 Mar 2012 06:30:18 +0000 (07:30 +0100)] 
ntdll: Stabilize CreateTimerQueueTimer callbacks over time.

11 years agojscript: Fixed BSTR leak.
Jacek Caban [Tue, 19 Feb 2013 11:45:56 +0000 (12:45 +0100)] 
jscript: Fixed BSTR leak.

11 years agojscript: Use to_int32 in to_uint32 implementation.
Jacek Caban [Tue, 19 Feb 2013 11:45:42 +0000 (12:45 +0100)] 
jscript: Use to_int32 in to_uint32 implementation.

11 years agovbscript: Added IMatchCollection2::__NewEnum test.
Piotr Caban [Tue, 19 Feb 2013 11:42:56 +0000 (12:42 +0100)] 
vbscript: Added IMatchCollection2::__NewEnum test.

11 years agovbscript: Added tests for invalid parameters in regular expression functions.
Piotr Caban [Tue, 19 Feb 2013 11:42:41 +0000 (12:42 +0100)] 
vbscript: Added tests for invalid parameters in regular expression functions.

11 years agovbscript: Added IMatchCollection2::_NewEnum implementation.
Piotr Caban [Tue, 19 Feb 2013 11:42:27 +0000 (12:42 +0100)] 
vbscript: Added IMatchCollection2::_NewEnum implementation.

11 years agovbscript: Added RegExp.Execute tests.
Piotr Caban [Tue, 19 Feb 2013 11:42:13 +0000 (12:42 +0100)] 
vbscript: Added RegExp.Execute tests.

11 years agovbscript: Silence IDispatchEx queries on RegExp objects.
Piotr Caban [Tue, 19 Feb 2013 11:41:45 +0000 (12:41 +0100)] 
vbscript: Silence IDispatchEx queries on RegExp objects.

11 years agovbscript: Added RegExp2::Execute implementation.
Piotr Caban [Tue, 19 Feb 2013 11:41:30 +0000 (12:41 +0100)] 
vbscript: Added RegExp2::Execute implementation.

11 years agovbscript: Added RegExp2 flags getters and setters implementation.
Piotr Caban [Tue, 19 Feb 2013 11:40:12 +0000 (12:40 +0100)] 
vbscript: Added RegExp2 flags getters and setters implementation.

11 years agovbscript: Added RegExp2::Test implementation.
Piotr Caban [Tue, 19 Feb 2013 11:39:47 +0000 (12:39 +0100)] 
vbscript: Added RegExp2::Test implementation.

11 years agooleaut32: Fixed copy&paste mistake in SysFreeString.
Jacek Caban [Tue, 19 Feb 2013 11:13:08 +0000 (12:13 +0100)] 
oleaut32: Fixed copy&paste mistake in SysFreeString.

Spotted by Piotr.

11 years agomshtml: Fixed tests on some broken Vista versions.
Jacek Caban [Tue, 19 Feb 2013 10:30:32 +0000 (11:30 +0100)] 
mshtml: Fixed tests on some broken Vista versions.

11 years agojscript: Avoid copying regular expression results.
Piotr Caban [Tue, 19 Feb 2013 09:12:27 +0000 (10:12 +0100)] 
jscript: Avoid copying regular expression results.

11 years agojscript: Cleanup regular expressions engine API.
Piotr Caban [Tue, 19 Feb 2013 09:12:12 +0000 (10:12 +0100)] 
jscript: Cleanup regular expressions engine API.

11 years agojscript: Rename JSREG_* defines to REG_*.
Piotr Caban [Tue, 19 Feb 2013 09:11:51 +0000 (10:11 +0100)] 
jscript: Rename JSREG_* defines to REG_*.

11 years agogdiplus: Reimplement GdipFillRectangles using GdipFillPath.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:45:50 +0000 (11:45 +0800)] 
gdiplus: Reimplement GdipFillRectangles using GdipFillPath.

11 years agogdiplus: Slightly simplify GdipFillClosedCurve2 implementation.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:45:45 +0000 (11:45 +0800)] 
gdiplus: Slightly simplify GdipFillClosedCurve2 implementation.

11 years agogdiplus: Reimplement GdipDrawRectangles using GdipDrawPath.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:45:39 +0000 (11:45 +0800)] 
gdiplus: Reimplement GdipDrawRectangles using GdipDrawPath.

11 years agogdiplus: Reimplement GdipDrawRectangle using GdipDrawPath.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:45:33 +0000 (11:45 +0800)] 
gdiplus: Reimplement GdipDrawRectangle using GdipDrawPath.

11 years agogdiplus: Reimplement GdipDrawPie using GdipDrawPath.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:45:28 +0000 (11:45 +0800)] 
gdiplus: Reimplement GdipDrawPie using GdipDrawPath.

11 years agogdiplus: Reimplement GdipDrawEllipse using GdipDrawPath.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:45:23 +0000 (11:45 +0800)] 
gdiplus: Reimplement GdipDrawEllipse using GdipDrawPath.

11 years agogdiplus: Forward GdipDrawBezier to GdipDrawBeziers.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:45:18 +0000 (11:45 +0800)] 
gdiplus: Forward GdipDrawBezier to GdipDrawBeziers.

11 years agogdiplus: Reimplement GdipDrawBeziers using GdipDrawPath.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:45:12 +0000 (11:45 +0800)] 
gdiplus: Reimplement GdipDrawBeziers using GdipDrawPath.

11 years agogdiplus: Reimplement GdipDrawArc using GdipDrawPath.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:45:08 +0000 (11:45 +0800)] 
gdiplus: Reimplement GdipDrawArc using GdipDrawPath.

11 years agogdiplus: Reimplement GdipDrawLines using GdipDrawPath.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:45:02 +0000 (11:45 +0800)] 
gdiplus: Reimplement GdipDrawLines using GdipDrawPath.

11 years agogdiplus: Reimplement GdipDrawCurve2 using GdipDrawPath.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:44:57 +0000 (11:44 +0800)] 
gdiplus: Reimplement GdipDrawCurve2 using GdipDrawPath.

11 years agogdiplus: Slightly simplify GdipDrawClosedCurve2 implementation.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:44:35 +0000 (11:44 +0800)] 
gdiplus: Slightly simplify GdipDrawClosedCurve2 implementation.

11 years agogdiplus: Forward GdipDrawBezierI to GdipDrawBezier.
Dmitry Timoshkov [Tue, 19 Feb 2013 03:44:11 +0000 (11:44 +0800)] 
gdiplus: Forward GdipDrawBezierI to GdipDrawBezier.

11 years agowinemac: Don't bring a window onto the screen in SetFocus().
Ken Thomases [Tue, 19 Feb 2013 03:50:24 +0000 (21:50 -0600)] 
winemac: Don't bring a window onto the screen in SetFocus().

11 years agowinemac: Call sync_window_position() before show_window() since window frame affects...
Ken Thomases [Tue, 19 Feb 2013 03:50:22 +0000 (21:50 -0600)] 
winemac: Call sync_window_position() before show_window() since window frame affects whether it shows.

11 years agowinemac: Always use proper z-order when putting a window on screen.
Ken Thomases [Tue, 19 Feb 2013 03:50:19 +0000 (21:50 -0600)] 
winemac: Always use proper z-order when putting a window on screen.

11 years agowined3d: Add RESZ support.
Matteo Bruni [Mon, 18 Feb 2013 12:56:23 +0000 (13:56 +0100)] 
wined3d: Add RESZ support.

11 years agowined3d: Make (wined3d_)surface_depth_blt_fbo handle locations other than SFLAG_INTEX...
Matteo Bruni [Mon, 18 Feb 2013 12:56:22 +0000 (13:56 +0100)] 
wined3d: Make (wined3d_)surface_depth_blt_fbo handle locations other than SFLAG_INTEXTURE.

11 years agoriched20: Make sure to load dll below 2GB address space.
Austin English [Mon, 18 Feb 2013 19:48:14 +0000 (13:48 -0600)] 
riched20: Make sure to load dll below 2GB address space.

11 years agoRevert "dsound/tests: Primary and secondary buffers use the same IDirectSoundBuffer...
Michael Stefaniuc [Mon, 18 Feb 2013 21:55:08 +0000 (22:55 +0100)] 
Revert "dsound/tests: Primary and secondary buffers use the same IDirectSoundBuffer vtbl.".

This reverts commit 7959778d3f84680fcee2e0d43cfcd0e613d68242.
This is not always the case on Windows.

11 years agontdll: Correctly align the stack for odd numbers of arguments in relay traces on...
André Hentschel [Mon, 18 Feb 2013 22:24:15 +0000 (23:24 +0100)] 
ntdll: Correctly align the stack for odd numbers of arguments in relay traces on ARM.

11 years agodwrite: Added more dwrite interfaces.
Nikolay Sivov [Mon, 18 Feb 2013 14:23:29 +0000 (18:23 +0400)] 
dwrite: Added more dwrite interfaces.

11 years agowininet: Removed broken cache tests.
Jacek Caban [Mon, 18 Feb 2013 14:45:43 +0000 (15:45 +0100)] 
wininet: Removed broken cache tests.

11 years agowininet: Address string should never be converted to UNICODE in status notifications.
Jacek Caban [Mon, 18 Feb 2013 14:45:30 +0000 (15:45 +0100)] 
wininet: Address string should never be converted to UNICODE in status notifications.

11 years agourlmon: Skip https tests on IE6.
Jacek Caban [Mon, 18 Feb 2013 14:05:04 +0000 (15:05 +0100)] 
urlmon: Skip https tests on IE6.

11 years agowinegcc: Don't use prelink when cross-compiling.
Alexandre Julliard [Mon, 18 Feb 2013 15:36:03 +0000 (16:36 +0100)] 
winegcc: Don't use prelink when cross-compiling.