about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/sysdep.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/sysdep.S')
-rw-r--r--sysdeps/unix/sysv/linux/i386/sysdep.S17
1 files changed, 0 insertions, 17 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.S b/sysdeps/unix/sysv/linux/i386/sysdep.S
index d676004084..4b86d1dfe7 100644
--- a/sysdeps/unix/sysv/linux/i386/sysdep.S
+++ b/sysdeps/unix/sysv/linux/i386/sysdep.S
@@ -52,20 +52,3 @@ ENTRY (__syscall_error)
 #include <sysdeps/unix/i386/sysdep.S>
 
 #endif	/* !PIC */
-
-
-	.weak __errno_location
-	.type __errno_location,@function
-	.align 16
-__errno_location:
-	CALL_MCOUNT
-#ifdef PIC
-	call .L2
-.L2:	popl %ecx
-	addl $_GLOBAL_OFFSET_TABLE_+[.-.L2], %ecx
-	movl errno@GOT(%ecx), %eax
-#else
-	movl $errno, %eax
-#endif
-	ret
-END (__errno_location)