diff options
| author | Austin Foxley <austinf@cetoncorp.com> | 2009-09-22 15:13:17 -0700 |
|---|---|---|
| committer | Austin Foxley <austinf@cetoncorp.com> | 2009-09-22 15:13:17 -0700 |
| commit | b10ae3e1a7c105609771b0de911ff9e72a4cc0d1 (patch) | |
| tree | 714bff4be539f60d1467d4b2a4373fa9e7d940f8 /libpthread/nptl/sysdeps/i386/pthreaddef.h | |
| parent | 51468f1123252fbc9f1cbb244160cf7d95d01334 (diff) | |
| download | uClibc-alpine-b10ae3e1a7c105609771b0de911ff9e72a4cc0d1.tar.bz2 uClibc-alpine-b10ae3e1a7c105609771b0de911ff9e72a4cc0d1.tar.xz | |
spent this morning beating i386 nptl into shape
Got it compiling thus far, still working on getting it to run
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/i386/pthreaddef.h')
| -rw-r--r-- | libpthread/nptl/sysdeps/i386/pthreaddef.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/i386/pthreaddef.h b/libpthread/nptl/sysdeps/i386/pthreaddef.h index 43b771c6d..81456a4fc 100644 --- a/libpthread/nptl/sysdeps/i386/pthreaddef.h +++ b/libpthread/nptl/sysdeps/i386/pthreaddef.h @@ -41,8 +41,8 @@ #define __exit_thread_inline(val) \ while (1) { \ if (__builtin_constant_p (val) && (val) == 0) \ - asm volatile ("xorl %%ebx, %%ebx; int $0x80" :: "a" (__NR_exit)); \ + __asm__ volatile ("xorl %%ebx, %%ebx; int $0x80" :: "a" (__NR_exit)); \ else \ - asm volatile ("movl %1, %%ebx; int $0x80" \ + __asm__ volatile ("movl %1, %%ebx; int $0x80" \ :: "a" (__NR_exit), "r" (val)); \ } |
