diff options
Diffstat (limited to 'meta/packages/glibc/glibc-2.4/arm_eabi_ipc_fix.patch')
-rw-r--r-- | meta/packages/glibc/glibc-2.4/arm_eabi_ipc_fix.patch | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/meta/packages/glibc/glibc-2.4/arm_eabi_ipc_fix.patch b/meta/packages/glibc/glibc-2.4/arm_eabi_ipc_fix.patch new file mode 100644 index 0000000000..8b36960b04 --- /dev/null +++ b/meta/packages/glibc/glibc-2.4/arm_eabi_ipc_fix.patch | |||
@@ -0,0 +1,94 @@ | |||
1 | From libc-ports-return-430-listarch-libc-ports=sources dot redhat dot com at sourceware dot org Mon Aug 21 20:08:57 2006 | ||
2 | Return-Path: <libc-ports-return-430-listarch-libc-ports=sources dot redhat dot com at sourceware dot org> | ||
3 | Delivered-To: listarch-libc-ports at sources dot redhat dot com | ||
4 | Received: (qmail 9913 invoked by alias); 21 Aug 2006 20:08:56 -0000 | ||
5 | Received: (qmail 9893 invoked by uid 22791); 21 Aug 2006 20:08:53 -0000 | ||
6 | X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,TW_HM,TW_SG,TW_SN | ||
7 | X-Spam-Check-By: sourceware.org | ||
8 | Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 21 Aug 2006 20:08:44 +0000 | ||
9 | Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GFG4f-0007gO-TW for libc-ports@sourceware.org; Mon, 21 Aug 2006 16:08:42 -0400 | ||
10 | Date: Mon, 21 Aug 2006 16:08:41 -0400 | ||
11 | From: Daniel Jacobowitz <drow at false dot org> | ||
12 | To: libc-ports at sourceware dot org | ||
13 | Subject: ARM IPC fix | ||
14 | Message-ID: <20060821200841.GA29502@nevyn.them.org> | ||
15 | MIME-Version: 1.0 | ||
16 | Content-Type: text/plain; charset=us-ascii | ||
17 | Content-Disposition: inline | ||
18 | User-Agent: Mutt/1.5.11+cvs20060403 | ||
19 | X-IsSubscribed: yes | ||
20 | Mailing-List: contact libc-ports-help at sourceware dot org; run by ezmlm | ||
21 | Precedence: bulk | ||
22 | List-Subscribe: <mailto:libc-ports-subscribe at sourceware dot org> | ||
23 | List-Post: <mailto:libc-ports at sourceware dot org> | ||
24 | List-Help: <mailto:libc-ports-help at sourceware dot org>, <http://sourceware dot org/lists dot html#faqs> | ||
25 | Sender: libc-ports-owner at sourceware dot org | ||
26 | Delivered-To: mailing list libc-ports at sourceware dot org | ||
27 | |||
28 | We can't treat msgctl as a real syscall; if we don't add __IPC_64, we'll get | ||
29 | a mismatched type for ipc_perm. Fixed by using the Alpha implementation, | ||
30 | which is similar to the standard i386 implementation but doesn't use | ||
31 | the multiplexer syscall. | ||
32 | |||
33 | -- | ||
34 | Daniel Jacobowitz | ||
35 | CodeSourcery | ||
36 | |||
37 | 2006-08-21 Daniel Jacobowitz <dan@codesourcery.com> | ||
38 | |||
39 | * sysdeps/unix/sysv/linux/arm/eabi/syscalls.list: Remove msgctl, | ||
40 | shmctl, and semctl. | ||
41 | * sysdeps/unix/sysv/linux/arm/eabi/semctl.c, | ||
42 | sysdeps/unix/sysv/linux/arm/eabi/shmctl.c, | ||
43 | sysdeps/unix/sysv/linux/arm/eabi/msgctl.c: New files. | ||
44 | |||
45 | Index: a/ports/sysdeps/unix/sysv/linux/arm/eabi/syscalls.list | ||
46 | =================================================================== | ||
47 | --- a/ports/sysdeps/unix/sysv/linux/arm/eabi/syscalls.list (revision 147209) | ||
48 | +++ b/ports/sysdeps/unix/sysv/linux/arm/eabi/syscalls.list (working copy) | ||
49 | @@ -1,18 +1,16 @@ | ||
50 | # File name Caller Syscall name # args Strong name Weak names | ||
51 | |||
52 | -# semaphore and shm system calls | ||
53 | -msgctl - msgctl i:iip __msgctl msgctl | ||
54 | +# Semaphore and shm system calls. msgctl, shmctl, and semctl have C | ||
55 | +# wrappers (to set __IPC_64). | ||
56 | msgget - msgget i:ii __msgget msgget | ||
57 | msgrcv - msgrcv Ci:ibnii __msgrcv msgrcv | ||
58 | msgsnd - msgsnd Ci:ibni __msgsnd msgsnd | ||
59 | shmat - shmat i:ipi __shmat shmat | ||
60 | -shmctl - shmctl i:iip __shmctl shmctl | ||
61 | shmdt - shmdt i:s __shmdt shmdt | ||
62 | shmget - shmget i:iii __shmget shmget | ||
63 | semop - semop i:ipi __semop semop | ||
64 | semtimedop - semtimedop i:ipip semtimedop | ||
65 | semget - semget i:iii __semget semget | ||
66 | -semctl - semctl i:iiii __semctl semctl | ||
67 | |||
68 | # proper socket implementations: | ||
69 | accept - accept Ci:iBN __libc_accept __accept accept | ||
70 | |||
71 | Property changes on: sysdeps/unix/sysv/linux/arm/eabi/syscalls.list | ||
72 | ___________________________________________________________________ | ||
73 | Name: svn:mime-type | ||
74 | - application/octet-stream | ||
75 | |||
76 | Index: a/ports/sysdeps/unix/sysv/linux/arm/eabi/semctl.c | ||
77 | =================================================================== | ||
78 | --- a/ports/sysdeps/unix/sysv/linux/arm/eabi/semctl.c (revision 0) | ||
79 | +++ b/ports/sysdeps/unix/sysv/linux/arm/eabi/semctl.c (revision 0) | ||
80 | @@ -0,0 +1 @@ | ||
81 | +#include <sysdeps/unix/sysv/linux/alpha/semctl.c> | ||
82 | Index: a/ports/sysdeps/unix/sysv/linux/arm/eabi/msgctl.c | ||
83 | =================================================================== | ||
84 | --- a/ports/sysdeps/unix/sysv/linux/arm/eabi/msgctl.c (revision 0) | ||
85 | +++ b/ports/sysdeps/unix/sysv/linux/arm/eabi/msgctl.c (revision 0) | ||
86 | @@ -0,0 +1 @@ | ||
87 | +#include <sysdeps/unix/sysv/linux/alpha/msgctl.c> | ||
88 | Index: a/ports/sysdeps/unix/sysv/linux/arm/eabi/shmctl.c | ||
89 | =================================================================== | ||
90 | --- a/ports/sysdeps/unix/sysv/linux/arm/eabi/shmctl.c (revision 0) | ||
91 | +++ b/ports/sysdeps/unix/sysv/linux/arm/eabi/shmctl.c (revision 0) | ||
92 | @@ -0,0 +1 @@ | ||
93 | +#include <sysdeps/unix/sysv/linux/alpha/shmctl.c> | ||
94 | |||