about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-21 09:54:36 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-21 10:14:08 -0700
commit95b097779a670dca5f06fbceede31de60046ed76 (patch)
tree3bed700a7fceab2490de024e944271c212348152 /sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
parent0a90a8f2b9af6dd226558df5d3825e0e9ccd4ce3 (diff)
downloadglibc-95b097779a670dca5f06fbceede31de60046ed76.tar.gz
glibc-95b097779a670dca5f06fbceede31de60046ed76.tar.xz
glibc-95b097779a670dca5f06fbceede31de60046ed76.zip
Build i386 __libc_do_syscall when PROF is defined
Need to provide i386 __libc_do_syscall when PROF is defined.
Define OPTIMIZE_FOR_GCC_5 for .S files so that it can be used
in libc-do-syscall.S.

	* sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
	__GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
	* sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
	Moved before "#ifdef __ASSEMBLER__".
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/libc-do-syscall.S')
-rw-r--r--sysdeps/unix/sysv/linux/i386/libc-do-syscall.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S b/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
index cdef3d5de1..f748cf28f6 100644
--- a/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
+++ b/sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
@@ -18,7 +18,7 @@
 
 #include <sysdep.h>
 
-#if !__GNUC_PREREQ (5,0)
+#ifndef OPTIMIZE_FOR_GCC_5
 
 /* %eax, %ecx, %edx and %esi contain the values expected by the kernel.
    %edi points to a structure with the values of %ebx, %edi and %ebp.  */