⛏️ index : buildtools.git

author Alex Smith <alex@alex-smith.me.uk> 2013-07-27 16:06:05.0 +01:00:00
committer Alex Smith <alex@alex-smith.me.uk> 2013-07-27 16:06:05.0 +01:00:00
commit
6e7ceb81be0897475e261e3ecaf820b45dc79c24 [patch]
tree
fdad9dc3587a1c28e11632d0772ab9b0080b95f1
parent
0b4c64c23c980702a3e0aa9b3026808ed79d15a0
download
6e7ceb81be0897475e261e3ecaf820b45dc79c24.tar.gz

gcc: Don't default to -fomit-frame-pointer on x86_64.

This is already done on x86 using the --enable-frame-pointer option
to GCC's configure script, but that option only works for 32-bit x86.
Added an option to haiku64.h that forces it off by default for 64-bit.

Diff

 gcc/gcc/config/i386/haiku64.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/gcc/config/i386/haiku64.h b/gcc/gcc/config/i386/haiku64.h
index 868a929..55550ab 100644
--- a/gcc/gcc/config/i386/haiku64.h
+++ b/gcc/gcc/config/i386/haiku64.h
@@ -131,3 +131,5 @@

#undef TARGET_ASM_UNIQUE_SECTION
#define TARGET_ASM_UNIQUE_SECTION  x86_64_elf_unique_section

#define USE_X86_64_FRAME_POINTER 1