Forbidding use of rbp for register allocation on x86-64 platform.

It is necessary because of bug in gcc / g++:
 Pointers allocated on rbp can be (are?) supposed to be aligned indepedently of what they actually contain.

Turning off allocation on rbp is not critical for now, because, currently, x86-64 is just development platform.
This commit is contained in:
Ruben Ayrapetyan
2015-01-28 17:43:04 +03:00
parent 0f487a0bb7
commit 8b31156b5a
+1
View File
@@ -356,6 +356,7 @@ endif
ifeq ($(OPTION_MCU),disable)
MACHINE_TYPE=$(shell uname -m)
ifeq ($(MACHINE_TYPE),x86_64)
CFLAGS_COMMON += -ffixed-rbp
DEFINES_JERRY += -D__TARGET_HOST_x64
else
ifeq ($(MACHINE_TYPE),armv7l)