aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-01-03 00:04:21 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-01-03 00:04:21 +0000
commitc467d1396f3b7825c8925f1898f539ad491491b0 (patch)
tree449e0cefc8473f17628d8887071226f77f14f231
parentc7ceb003b2cde3262d8c629055b1d61fec7a6780 (diff)
downloadnewlib-c467d1396f3b7825c8925f1898f539ad491491b0.zip
newlib-c467d1396f3b7825c8925f1898f539ad491491b0.tar.gz
newlib-c467d1396f3b7825c8925f1898f539ad491491b0.tar.bz2
* lib/kernel32.c (GetCurrentFiber): Remove blank input field in
asm code. (GetFiberData): Likewise.
-rw-r--r--winsup/w32api/ChangeLog6
-rw-r--r--winsup/w32api/lib/kernel32.c16
2 files changed, 13 insertions, 9 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index e2356fa..6bb81c4 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,5 +1,11 @@
2003-01-02 Danny Smith <dannysmith@users.sourceforge.net>
+ * lib/kernel32.c (GetCurrentFiber): Remove blank input field in
+ asm code.
+ (GetFiberData): Likewise.
+
+2003-01-02 Danny Smith <dannysmith@users.sourceforge.net>
+
* include/winnt.h (GetCurrentFiber): Remove blank input field in
asm code.
(GetFiberData): Likewise.
diff --git a/winsup/w32api/lib/kernel32.c b/winsup/w32api/lib/kernel32.c
index 5322258..08ff86c 100644
--- a/winsup/w32api/lib/kernel32.c
+++ b/winsup/w32api/lib/kernel32.c
@@ -6,10 +6,9 @@ void* GetCurrentFiber(void)
{
void* ret;
__asm__ volatile (
- "movl %%fs:0x10,%0"
- : "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
- :
- );
+ "movl %%fs:0x10,%0"
+ : "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
+ );
return ret;
}
@@ -17,11 +16,10 @@ void* GetFiberData(void)
{
void* ret;
__asm__ volatile (
- "movl %%fs:0x10,%0\n"
- "movl (%0),%0"
- : "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
- :
- );
+ "movl %%fs:0x10,%0\n"
+ "movl (%0),%0"
+ : "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
+ );
return ret;
}