Репозитории ALT
5.1: | 0.30-alt3 |
4.1: | 0.30-alt3 |
4.0: | 0.30-alt3 |
3.0: | 0.28-alt1 |
Группа :: Разработка/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