diff options
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/Makefile b/sysdeps/unix/sysv/linux/i386/Makefile index 71ba61e..7014829 100644 --- a/sysdeps/unix/sysv/linux/i386/Makefile +++ b/sysdeps/unix/sysv/linux/i386/Makefile @@ -10,6 +10,10 @@ CFLAGS-mmap.o += -fomit-frame-pointer CFLAGS-mmap.os += -fomit-frame-pointer CFLAGS-mmap64.o += -fomit-frame-pointer CFLAGS-mmap64.os += -fomit-frame-pointer +CFLAGS-pselect.o += -fomit-frame-pointer +CFLAGS-pselect.os += -fomit-frame-pointer +CFLAGS-rtld-mmap.o += -fomit-frame-pointer +CFLAGS-rtld-mmap.os += -fomit-frame-pointer endif ifeq ($(subdir),sysvipc) @@ -26,11 +30,31 @@ endif # fallocate, posix_fallocate use six-argument inline syscalls. ifeq ($(subdir),io) sysdep_routines += libc-do-syscall +# %ebp may be used to pass the 6th argument to syscall. +CFLAGS-fallocate.o += -fomit-frame-pointer +CFLAGS-fallocate.os += -fomit-frame-pointer +CFLAGS-fallocate64.o += -fomit-frame-pointer +CFLAGS-fallocate64.os += -fomit-frame-pointer +CFLAGS-posix_fallocate.o += -fomit-frame-pointer +CFLAGS-posix_fallocate.os += -fomit-frame-pointer +CFLAGS-posix_fallocate64.o += -fomit-frame-pointer +CFLAGS-posix_fallocate64.os += -fomit-frame-pointer +CFLAGS-sync_file_range.o += -fomit-frame-pointer +CFLAGS-sync_file_range.os += -fomit-frame-pointer endif # libpthread uses six-argument inline syscalls. ifeq ($(subdir),nptl) libpthread-sysdep_routines += libc-do-syscall +# %ebp may be used to pass the 6th argument to syscall. +CFLAGS-pthread_rwlock_timedrdlock.o += -fomit-frame-pointer +CFLAGS-pthread_rwlock_timedrdlock.os += -fomit-frame-pointer +CFLAGS-pthread_rwlock_timedwrlock.o += -fomit-frame-pointer +CFLAGS-pthread_rwlock_timedwrlock.os += -fomit-frame-pointer +CFLAGS-sem_timedwait.o += -fomit-frame-pointer +CFLAGS-sem_timedwait.os += -fomit-frame-pointer +CFLAGS-sem_wait.o += -fomit-frame-pointer +CFLAGS-sem_wait.os += -fomit-frame-pointer endif ifeq ($(subdir),resource) |