about summary refs log tree commit diff
path: root/math/s_cprojf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-21 09:07:46 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-21 09:07:46 -0700
commit23c4baa21484191be48a3335c8ab5e2f534a3799 (patch)
treee53eebca5f1f95d9baaeb672ca9a95f7cf3785b9 /math/s_cprojf.c
parentd8f7fcacd728a18a9d5cef1cc4f81432278e27c8 (diff)
downloadglibc-23c4baa21484191be48a3335c8ab5e2f534a3799.tar.gz
glibc-23c4baa21484191be48a3335c8ab5e2f534a3799.tar.xz
glibc-23c4baa21484191be48a3335c8ab5e2f534a3799.zip
Disable GCC 5 optimization when PROF is defined
Since asm ("ebp") can't be used to put the 6th argument in %ebp for
syscall when compiling for profiling, we disable GCC 5 optimization
when PROF is defined.

	* sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
	New.  Defined for GCC 5 and above when not compiling for
	profiling.
	Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
Diffstat (limited to 'math/s_cprojf.c')
0 files changed, 0 insertions, 0 deletions