summaryrefslogtreecommitdiff
path: root/scripts/gcc-x86_64-has-stack-protector.sh
diff options
context:
space:
mode:
authorLaurent Vivier <Laurent.Vivier@bull.net>2007-10-25 14:18:54 +0200
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:52:57 +0200
commitfe7935d49fbe33308c1b5f0e35137989da851010 (patch)
tree9adf908a42aafda09e1d100072bcb332611c8b85 /scripts/gcc-x86_64-has-stack-protector.sh
parent54a08c0449683f763dc69e653d17e8c120e16299 (diff)
KVM: SVM: Let gcc to choose which registers to save (i386)
This patch lets GCC to determine which registers to save when we switch to/from a VCPU in the case of AMD i386 * Original code saves following registers: ebx, ecx, edx, esi, edi, ebp * Patched code: - informs GCC that we modify following registers using the clobber description: ebx, ecx, edx, esi, edi - rbp is saved (pop/push) because GCC seems to ignore its use in the clobber description. Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'scripts/gcc-x86_64-has-stack-protector.sh')
0 files changed, 0 insertions, 0 deletions