Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37803382
en ru br
Репозитории ALT
5.1: 0.30-alt3
4.1: 0.30-alt3
4.0: 0.30-alt3
3.0: 0.28-alt1
www.altlinux.org/Changes

Группа :: Разработка/C
Пакет: dietlibc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: dietlibc-0.29-scall.patch
Скачать


2005-04-24  Enrico Scholz  <enrico.scholz@informatik.tu-chemnitz.de>
	* libcompat/syscall.S: catch the case when syscall(2) is not
	  implemented for the actual arch instead of jumping to the next
	  function and executing the wrong code
--- dietlibc-0.29/libcompat/syscall.S.scall
+++ dietlibc-0.29/libcompat/syscall.S
@@ -120,6 +120,12 @@
 	nop
 
 #else
-		/* arch not implemented yet */
+#include <endian.h>
+	.section	.note
+#if (__WORDSIZE == 64)	
+	.quad		__syscall_2_not_implemented_for_this_arch
+#else	
+	.long		__syscall_2_not_implemented_for_this_arch
+#endif
 #endif
 .size	syscall, . - syscall
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin