Title: [125322] trunk
Revision
125322
Author
[email protected]
Date
2012-08-10 13:21:57 -0700 (Fri, 10 Aug 2012)

Log Message

[BlackBerry] Enable relro link option for JSC executable
https://bugs.webkit.org/show_bug.cgi?id=93726

Reviewed by Yong Li.

Enable relro link option for JSC executable.

* Source/cmake/OptionsBlackBerry.cmake:

Modified Paths

Diff

Modified: trunk/ChangeLog (125321 => 125322)


--- trunk/ChangeLog	2012-08-10 20:20:54 UTC (rev 125321)
+++ trunk/ChangeLog	2012-08-10 20:21:57 UTC (rev 125322)
@@ -1,3 +1,14 @@
+2012-08-10  Rob Buis  <[email protected]>
+
+        [BlackBerry] Enable relro link option for JSC executable
+        https://bugs.webkit.org/show_bug.cgi?id=93726
+
+        Reviewed by Yong Li.
+
+        Enable relro link option for JSC executable.
+
+        * Source/cmake/OptionsBlackBerry.cmake:
+
 2012-08-09  Raphael Kubo da Costa  <[email protected]>
 
         [CMake] Bump minimum required version to 2.8.3.

Modified: trunk/Source/cmake/OptionsBlackBerry.cmake (125321 => 125322)


--- trunk/Source/cmake/OptionsBlackBerry.cmake	2012-08-10 20:20:54 UTC (rev 125321)
+++ trunk/Source/cmake/OptionsBlackBerry.cmake	2012-08-10 20:21:57 UTC (rev 125322)
@@ -103,16 +103,16 @@
 
 # Show unresolved symbols when doing the final shared object link
 IF (PROFILING)
-    SET(BLACKBERRY_LINK_FLAGS "-Wl,-z,defs -Wl,-zrelro -Wl,-E")
+    SET(BLACKBERRY_LINK_FLAGS "-Wl,-z,defs -Wl,-z,relro -Wl,-E")
 ELSE (PROFILING)
-    SET(BLACKBERRY_LINK_FLAGS "-Wl,-z,defs -Wl,-zrelro")
+    SET(BLACKBERRY_LINK_FLAGS "-Wl,-z,defs -Wl,-z,relro")
 ENDIF ()
 
 # Set custom CFLAGS for our port
 IF (CMAKE_COMPILER_IS_GNUCC)
     SET(CMAKE_CXX_FLAGS "-fstack-protector -fno-rtti -Wformat -Wformat-security -Werror=format-security ${CMAKE_CXX_FLAGS}")
     SET(CMAKE_C_FLAGS "-fstack-protector -fno-rtti -Wformat -Wformat-security -Werror=format-security ${CMAKE_C_FLAGS}")
-    SET(JSC_LINK_FLAGS "-N1024K")
+    SET(JSC_LINK_FLAGS "-Wl,-z,defs -Wl,-z,relro -N1024K")
 ENDIF ()
 
 IF (PROFILING)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to