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

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

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


Revision 1.1 - (show annotations) (download)
Tue Jun 12 15:03:52 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: dietlibc-0_30-4_el4_sme_1, HEAD
Import on branch sme7 of package dietlibc-0.30-4.el4.sme.1.src.rpm

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