on 09/02/2012 23:55 Mike Gilbert said the following:
> On Thu, Feb 9, 2012 at 10:44 AM, Andriy Gapon <[email protected]> wrote:
>> on 09/02/2012 17:07 Marc-André Moreau said the following:
>>> Could we have a patch for this?
>>
>> It seems that the following straight-forward approach works for me on x86_64.
> 
>>From what I can tell, you can clobber %rbx all you like since it is
> not used in x86-64 PIC code.
> 
> For example, GCC's cpuid.h basically uses the following test:
> 
> #if defined(__i386__) && defined(__PIC__)
> // save/restore off %ebx
> #else
> // clobber it
> #endif

Yes, this seems to be case, so the patch could be even simpler.

-- 
Andriy Gapon

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Freerdp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to