summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sysvi386/getgid.s
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysvi386/getgid.s')
-rw-r--r--newlib/libc/sys/sysvi386/getgid.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvi386/getgid.s b/newlib/libc/sys/sysvi386/getgid.s
new file mode 100644
index 00000000000..47a6391f8d9
--- /dev/null
+++ b/newlib/libc/sys/sysvi386/getgid.s
@@ -0,0 +1,8 @@
+ .globl _getgid
+ .globl getgid
+_getgid:
+getgid:
+ movl $0x2f, %eax
+ lcall $7,$0
+ jb _cerror
+ ret