]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-gcc34.patch
- gcc 3.4 patch removed.
[packages/glibc.git] / glibc-gcc34.patch
1 --- libc/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h.orig  2004-03-24 07:35:18.000000000 +0100
2 +++ libc/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h       2004-04-22 23:46:16.506145704 +0200
3 @@ -223,8 +223,8 @@
4  #define LLL_LOCK_INITIALIZER_LOCKED    (1)
5  
6  
7 -extern int __lll_lock_wait (int val, int *__futex)
8 -     __attribute ((regparm (2))) attribute_hidden;
9 +extern int __lll_lock_wait (int *__futex)
10 +     __attribute ((regparm (1))) attribute_hidden;
11  extern int __lll_unlock_wake (int *__futex)
12       __attribute ((regparm (1))) attribute_hidden;
13  extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
14 --- libc/nptl/sysdeps/unix/sysv/linux/lowlevellock.c.orig       2003-09-22 23:25:15.000000000 +0200
15 +++ libc/nptl/sysdeps/unix/sysv/linux/lowlevellock.c    2004-04-23 00:49:58.295145464 +0200
16 @@ -25,7 +25,7 @@
17  
18  
19  void
20 -__lll_lock_wait (int *futex)
21 +__lll_lock_wait (int *futex) __attribute ((regparm(1))) attribute_hidden;
22  {
23    do
24      {
25 @@ -79,7 +79,7 @@
26  /* These don't get included in libc.so  */
27  #ifdef IS_IN_libpthread
28  int
29 -lll_unlock_wake_cb (int *futex)
30 +lll_unlock_wake_cb (int *futex) __attribute ((regparm(1))) attribute_hidden;
31  {
32    int val = atomic_exchange_rel (futex, 0);
33  
This page took 0.030736 seconds and 3 git commands to generate.