/[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.1 - (show annotations) (download)
Tue Jun 12 18:18:04 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: dietlibc-0_30-4_el5_sme_1
Import on branch sme8 of package dietlibc-0.30-4.el5.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