mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 04:01:10 +00:00
d8f7fcacd7
Since -fomit-frame-pointer is compatible with -pg, apply it only to .o/.os files. * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c): Renamed to ... (CFLAGS-epoll_pwait.o): This. (CFLAGS-mmap.c): Renamed to ... (CFLAGS-mmap.o): This. (CFLAGS-mmap64.c): Renamed to ... (CFLAGS-mmap64.o): This. (CFLAGS-epoll_pwait.os): New. (CFLAGS-mmap.os): Likewise. (CFLAGS-mmap64.os): Likewise. (CFLAGS-semtimedop.os): Likewise. (CFLAGS-semtimedop.c): Renamed to ... (CFLAGS-semtimedop.o): This.
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# The default ABI is 32.
|
|
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.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.o += -fomit-frame-pointer
|
|
CFLAGS-semtimedop.os += -fomit-frame-pointer
|
|
endif
|
|
|
|
ifeq ($(subdir),elf)
|
|
sysdep-others += lddlibc4
|
|
install-bin += lddlibc4
|
|
endif
|
|
|
|
# fallocate, posix_fallocate use six-argument inline syscalls.
|
|
ifeq ($(subdir),io)
|
|
sysdep_routines += libc-do-syscall
|
|
endif
|
|
|
|
# libpthread uses six-argument inline syscalls.
|
|
ifeq ($(subdir),nptl)
|
|
libpthread-sysdep_routines += libc-do-syscall
|
|
endif
|
|
|
|
ifeq ($(subdir),resource)
|
|
sysdep_routines += oldgetrlimit64
|
|
endif
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
gen-as-const-headers += ucontext_i.sym
|
|
endif
|
|
|
|
ifeq ($(subdir),csu)
|
|
sysdep-dl-routines += sysdep
|
|
endif
|
|
|
|
ifeq ($(subdir),nptl)
|
|
# pull in __syscall_error routine
|
|
libpthread-routines += sysdep
|
|
endif
|
|
|
|
ifeq ($(subdir),rt)
|
|
# pull in __syscall_error routine
|
|
librt-routines += sysdep
|
|
endif
|