aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <jim.wilson@linaro.org>2017-09-22 07:58:28 -0700
committerJim Wilson <jim.wilson@linaro.org>2017-09-22 07:58:28 -0700
commit0cf44ec826eab1f149285b8919aa9dc4140d8d78 (patch)
tree6904401a33185ae4e84df00e904c876137c2cb93
parentcc4d742f4ce05bf933397a513b953c0feeae0663 (diff)
downloadgdb-0cf44ec826eab1f149285b8919aa9dc4140d8d78.zip
gdb-0cf44ec826eab1f149285b8919aa9dc4140d8d78.tar.gz
gdb-0cf44ec826eab1f149285b8919aa9dc4140d8d78.tar.bz2
[GOLD] Set non-exec stack for aarch64
GNU-stack notes added in 2004, aarch64 port added in 2012, so no old object files with missing GNU-stack notes that we need to worry about. gold/ * aarch64.cc (Target_aarch64::aarch64_info): Set is_default_stack_executable to false.
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/aarch64.cc8
2 files changed, 9 insertions, 4 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 216bb27..0ac7e9e 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2017-09-22 Jim Wilson <jim.wilson@linaro.org>
+
+ * aarch64.cc (Target_aarch64::aarch64_info): Set
+ is_default_stack_executable to false.
+
2017-09-22 Alan Modra <amodra@gmail.com>
* resolve.cc (clone): Fix got_offset_list test.
diff --git a/gold/aarch64.cc b/gold/aarch64.cc
index a72e2c3..4c6e920 100644
--- a/gold/aarch64.cc
+++ b/gold/aarch64.cc
@@ -3523,7 +3523,7 @@ const Target::Target_info Target_aarch64<64, false>::aarch64_info =
false, // has_make_symbol
false, // has_resolve
false, // has_code_fill
- true, // is_default_stack_executable
+ false, // is_default_stack_executable
true, // can_icf_inline_merge_sections
'\0', // wrap_char
"/lib/ld.so.1", // program interpreter
@@ -3551,7 +3551,7 @@ const Target::Target_info Target_aarch64<32, false>::aarch64_info =
false, // has_make_symbol
false, // has_resolve
false, // has_code_fill
- true, // is_default_stack_executable
+ false, // is_default_stack_executable
false, // can_icf_inline_merge_sections
'\0', // wrap_char
"/lib/ld.so.1", // program interpreter
@@ -3579,7 +3579,7 @@ const Target::Target_info Target_aarch64<64, true>::aarch64_info =
false, // has_make_symbol
false, // has_resolve
false, // has_code_fill
- true, // is_default_stack_executable
+ false, // is_default_stack_executable
true, // can_icf_inline_merge_sections
'\0', // wrap_char
"/lib/ld.so.1", // program interpreter
@@ -3607,7 +3607,7 @@ const Target::Target_info Target_aarch64<32, true>::aarch64_info =
false, // has_make_symbol
false, // has_resolve
false, // has_code_fill
- true, // is_default_stack_executable
+ false, // is_default_stack_executable
false, // can_icf_inline_merge_sections
'\0', // wrap_char
"/lib/ld.so.1", // program interpreter