aboutsummaryrefslogtreecommitdiff
path: root/locale/C-collate.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2017-05-11 20:13:49 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2017-05-11 20:15:56 +0530
commit17284d650ebe5c736c9730ee16401008f26128c3 (patch)
treebf7e409ae22bfca1f6a252423b02e16eddc33173 /locale/C-collate.c
parent5df4854ed21641e5f82e17677fc385e05480ce3a (diff)
downloadglibc-17284d650ebe5c736c9730ee16401008f26128c3.tar
glibc-17284d650ebe5c736c9730ee16401008f26128c3.tar.gz
glibc-17284d650ebe5c736c9730ee16401008f26128c3.tar.bz2
glibc-17284d650ebe5c736c9730ee16401008f26128c3.zip
tunables: Make tunable_list relro
As of now we don't need tunables to be writable after they have been set initially, so there is no point in having them writable. Put tunable_list in .data.rel.ro so that it is set as read-only after relocation. This also allows us to move some of the dl_* variables that are tunables controlled into the tunables infrastructure instead of having two copies. In future if we ever need specific tunables to be writable at runtime, we can split the tunable_list into two. Regression tested on x86_64 to verify that tests continue to pass. * scripts/gen-tunables.awk: Add attribute_relro to tunable_list.
Diffstat (limited to 'locale/C-collate.c')
0 files changed, 0 insertions, 0 deletions