aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--scripts/gen-tunables.awk2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d886161b20..f92e871198 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
+
+ * scripts/gen-tunables.awk: Add attribute_relro to
+ tunable_list.
+
2017-05-11 Joseph Myers <joseph@codesourcery.com>
[BZ #21457]
diff --git a/scripts/gen-tunables.awk b/scripts/gen-tunables.awk
index 601240ac0d..defb3e7354 100644
--- a/scripts/gen-tunables.awk
+++ b/scripts/gen-tunables.awk
@@ -141,7 +141,7 @@ END {
# Finally, the tunable list.
print "\n#ifdef TUNABLES_INTERNAL"
- print "static tunable_t tunable_list[] = {"
+ print "static tunable_t tunable_list[] attribute_relro = {"
for (t in types) {
for (n in types[t]) {
for (m in types[t][n]) {