diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-10-21 09:07:46 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-10-21 09:07:46 -0700 |
commit | 23c4baa21484191be48a3335c8ab5e2f534a3799 (patch) | |
tree | e53eebca5f1f95d9baaeb672ca9a95f7cf3785b9 /pwd | |
parent | d8f7fcacd728a18a9d5cef1cc4f81432278e27c8 (diff) | |
download | glibc-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 'pwd')
0 files changed, 0 insertions, 0 deletions