From d2a2ea814c218c701bcbc2bc902f929a14e327a4 Mon Sep 17 00:00:00 2001 From: Dongkyun Son Date: Thu, 17 Sep 2020 18:00:57 +0900 Subject: Adding default linker option to ix86 -z noseparate-code Create separate code "PT_LOAD" segment header in the object. This specifies a memory segment that should contain only instructions and must be in wholly disjoint pages from any other data. Don't create separate code "PT_LOAD" segment if noseparate-code is used. Change-Id: If23ec349bb3187b04b49c2672cc85e4d053b20fe Signed-off-by: Dongkyun Son --- Tizen:Base/_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tizen:Base/_config b/Tizen:Base/_config index a07833a..50b1c9c 100644 --- a/Tizen:Base/_config +++ b/Tizen:Base/_config @@ -202,5 +202,5 @@ Substitute: glibc-devel-32bit Optflags: armv7l %{__global_cflags} --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb Optflags: aarch64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -Optflags: i686 %{__global_cflags} -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign +Optflags: i686 %{__global_cflags} -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code Optflags: x86_64 %{__global_cflags} -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -- cgit v1.2.3