* init.cc (threadfunc_fe): Hack to make thread stacks always 16
byte aligned.
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
			
		||||
2004-04-30  DJ Delorie  <dj@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* init.cc (threadfunc_fe): Hack to make thread stacks always 16
 | 
			
		||||
	byte aligned.
 | 
			
		||||
 | 
			
		||||
2004-04-21  Yitzchak Scott-Thoennes  <sthoenna@efn.org>
 | 
			
		||||
 | 
			
		||||
	* syscalls.cc (lseek64): Fix debug_printf format string.
 | 
			
		||||
 
 | 
			
		||||
@@ -27,6 +27,8 @@ HANDLE sync_startup;
 | 
			
		||||
static void WINAPI
 | 
			
		||||
threadfunc_fe (VOID *arg)
 | 
			
		||||
{
 | 
			
		||||
  (void)__builtin_return_address(1);
 | 
			
		||||
  asm volatile ("andl $-16,%%esp" ::: "%esp");
 | 
			
		||||
  _cygtls::call ((DWORD (*)  (void *, void *)) (((char **) _tlsbase)[OLDFUNC_OFFSET]), arg);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user