/[smeserver]/rpms/dietlibc/sme8/dietlibc-0.29-scall.patch
ViewVC logotype

Contents of /rpms/dietlibc/sme8/dietlibc-0.29-scall.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sun Mar 30 20:55:52 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
Changes since 1.1: +0 -0 lines
FILE REMOVED
Packages maintained upstream

1 2005-04-24 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
2 * libcompat/syscall.S: catch the case when syscall(2) is not
3 implemented for the actual arch instead of jumping to the next
4 function and executing the wrong code
5
6 --- dietlibc-0.29/libcompat/syscall.S.scall
7 +++ dietlibc-0.29/libcompat/syscall.S
8 @@ -120,6 +120,12 @@
9 nop
10
11 #else
12 - /* arch not implemented yet */
13 +#include <endian.h>
14 + .section .note
15 +#if (__WORDSIZE == 64)
16 + .quad __syscall_2_not_implemented_for_this_arch
17 +#else
18 + .long __syscall_2_not_implemented_for_this_arch
19 +#endif
20 #endif
21 .size syscall, . - syscall

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed