view loader/stubs.S @ 21339:4556f7c82535

support Intel Core 2 and AMD Geode in the processor detection routines patch from Zuxy Meng, zuxy.meng gmail com
author diego
date Tue, 28 Nov 2006 12:04:59 +0000
parents fe547c3298eb
children bfe76e41e80c
line wrap: on
line source

#if defined(__APPLE__) || defined(__OpenBSD__)
# define SYM(x) _ ## x
#else
# define SYM(x) x
#endif
	.data
.globl SYM(exp_EH_prolog)
SYM(exp_EH_prolog):
	pushl $0xff
	pushl %eax
	pushl %fs:0
	movl  %esp, %fs:0
	movl  12(%esp), %eax
	movl  %ebp, 12(%esp)
	leal  12(%esp), %ebp
	pushl %eax
	ret