aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-15 06:26:38 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-15 06:26:50 -0700
commitb994fd793799590f70ceb9a96f135bc2390bb4f3 (patch)
tree188a15c91ce08307d33801b0d9debb9ad45a43a6 /sysdeps/unix/sysv/linux/i386/Makefile
parent98ad631cd0a77205734abf4f2bb368a8560a08cf (diff)
downloadglibc-b994fd793799590f70ceb9a96f135bc2390bb4f3.tar
glibc-b994fd793799590f70ceb9a96f135bc2390bb4f3.tar.gz
glibc-b994fd793799590f70ceb9a96f135bc2390bb4f3.tar.bz2
glibc-b994fd793799590f70ceb9a96f135bc2390bb4f3.zip
Remove i386/epoll_pwait.S
Only i386 implements epoll_pwait in assembly code withot cancellation support. All other architectures implement epoll_pwait in epoll_pwait.c with int epoll_pwait (int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *set) { return SYSCALL_CANCEL (epoll_pwait, epfd, events, maxevents, timeout, set, _NSIG / 8); } Although there is no test for epoll_pwait in glibc, since SYSCALL_CANCEL works on i386 and epoll_pwait.c works for other architectures, it is safe to assume that epoll_pwait.c with SYSCALL_CANCEL also works on i386. [BZ #19137] * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c): Add -fomit-frame-pointer. * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/i386/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/Makefile b/sysdeps/unix/sysv/linux/i386/Makefile
index 49ccf3e2e9..b4842173e9 100644
--- a/sysdeps/unix/sysv/linux/i386/Makefile
+++ b/sysdeps/unix/sysv/linux/i386/Makefile
@@ -4,6 +4,7 @@ default-abi := 32
ifeq ($(subdir),misc)
sysdep_routines += ioperm iopl vm86
# %ebp may be used to pass the 6th argument to syscall.
+CFLAGS-epoll_pwait.c += -fomit-frame-pointer
CFLAGS-mmap.c += -fomit-frame-pointer
CFLAGS-mmap64.c += -fomit-frame-pointer
endif