This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
aarch64: remove literal pools in start.S
- From: wangboshi <wangboshi at huawei dot com>
- To: <libc-help at sourceware dot org>
- Date: Mon, 4 Sep 2017 21:18:07 +0800
- Subject: aarch64: remove literal pools in start.S
- Authentication-results: sourceware.org; auth=none
I want to set code as executable and non-readable (known as XOM) against some attacks. But literal pools in code section make it impossible. Some compiler options, like execute_only (armcc) , mpure-code(gcc & clang) and mexecute-only(clang), can disable literal pools. But they can't disable literal pools in sysdeps/aarch64/start.S, so I want to remove literal pools.
Would it make some compatible problems?