Merge "arm64: restore relro/now"
This commit is contained in:
@@ -106,10 +106,10 @@ TARGET_GLOBAL_CFLAGS += -fno-strict-volatile-bitfields
|
|||||||
#
|
#
|
||||||
TARGET_GLOBAL_CFLAGS += -Wno-psabi
|
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 += \
|
TARGET_GLOBAL_LDFLAGS += \
|
||||||
-Wl,-z,noexecstack \
|
-Wl,-z,noexecstack \
|
||||||
|
-Wl,-z,relro \
|
||||||
|
-Wl,-z,now \
|
||||||
-Wl,--warn-shared-textrel \
|
-Wl,--warn-shared-textrel \
|
||||||
-Wl,--fatal-warnings \
|
-Wl,--fatal-warnings \
|
||||||
-Wl,-maarch64linux \
|
-Wl,-maarch64linux \
|
||||||
|
Reference in New Issue
Block a user