This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 6/6] i386: Remove syscall assembly codes with 6 arguments
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 21 Oct 2015 08:17:54 -0700
- Subject: Re: [PATCH 6/6] i386: Remove syscall assembly codes with 6 arguments
- Authentication-results: sourceware.org; auth=none
- References: <20151012232041 dot GD8797 at intel dot com> <CAMe9rOq=z5ta3-K7Ljc17bbJ4B0gp50BWP34PKT0dCfZNn0h-w at mail dot gmail dot com> <mvmh9lknvvb dot fsf at hawking dot suse dot de>
On Wed, Oct 21, 2015 at 7:23 AM, Andreas Schwab <schwab@suse.de> wrote:
> gcc: error: -pg and -fomit-frame-pointer are incompatible
>
> Andreas.
>
I am testing this patch and will check it in.
--
H.J.
---
diff --git a/sysdeps/unix/sysv/linux/i386/Makefile
b/sysdeps/unix/sysv/linux/i386/Makefile
index b484217..71ba61e 100644
--- a/sysdeps/unix/sysv/linux/i386/Makefile
+++ b/sysdeps/unix/sysv/linux/i386/Makefile
@@ -4,14 +4,18 @@ 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
+CFLAGS-epoll_pwait.o += -fomit-frame-pointer
+CFLAGS-epoll_pwait.os += -fomit-frame-pointer
+CFLAGS-mmap.o += -fomit-frame-pointer
+CFLAGS-mmap.os += -fomit-frame-pointer
+CFLAGS-mmap64.o += -fomit-frame-pointer
+CFLAGS-mmap64.os += -fomit-frame-pointer
endif
ifeq ($(subdir),sysvipc)
# %ebp may be used to pass the 6th argument to syscall.
-CFLAGS-semtimedop.c += -fomit-frame-pointer
+CFLAGS-semtimedop.o += -fomit-frame-pointer
+CFLAGS-semtimedop.os += -fomit-frame-pointer
endif
ifeq ($(subdir),elf)