From 45545761d20e1eab324b8ce302afceb9c440c2a3 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Fri, 30 May 2014 15:45:24 -0700 Subject: [PATCH] arm64: restore relro/now The bug which required this option has been fixed. Bug: 11434996 Change-Id: I7ab7e2e8ba7b993281902832d01b3ee3ba9e06ef --- core/combo/TARGET_linux-arm64.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/combo/TARGET_linux-arm64.mk b/core/combo/TARGET_linux-arm64.mk index e6c35a99ff..c38fb4c772 100644 --- a/core/combo/TARGET_linux-arm64.mk +++ b/core/combo/TARGET_linux-arm64.mk @@ -106,10 +106,10 @@ TARGET_GLOBAL_CFLAGS += -fno-strict-volatile-bitfields # TARGET_GLOBAL_CFLAGS += -Wno-psabi -# TODO - temporarily remove "-Wl,-z,relro -Wl,-z,now" as they cause segmentation fault on the -# v8 foundation model. TARGET_GLOBAL_LDFLAGS += \ -Wl,-z,noexecstack \ + -Wl,-z,relro \ + -Wl,-z,now \ -Wl,--warn-shared-textrel \ -Wl,--fatal-warnings \ -Wl,-maarch64linux \