diff options
| author | Ard Biesheuvel <ard.biesheuvel@gmail.com> | 2012-08-11 12:45:01 +0200 |
|---|---|---|
| committer | Ard Biesheuvel <ard.biesheuvel@gmail.com> | 2012-08-11 23:18:05 +0200 |
| commit | 5dfcc78af479937ba8dafceefd9b1931a88dfaaf (patch) | |
| tree | 70e558abf7ee2944c21202cafa365a6f40a180b1 /vm/compiler/codegen/arm/CodegenDriver.cpp | |
| parent | 21212cbd65aa7ec7d69f0c6f5b98794045f750a5 (diff) | |
hardening: eliminate all text relocations from lidbvm
This patch consists of:
- changes to mterp/ that turn all literals from absolute
to PC relative, so the relocations can be resolved at
(build) link time
- changes to compiler/template/ that result in the
compiler templates to live in the non-executable
.data.rel.ro section (this code is never executed
directly, only from the jit heap, so there is no
reason to put it in the .text section)
Change-Id: I2dc97bd4720b393a74b7277a188f0c7b681fc932
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.cpp')
0 files changed, 0 insertions, 0 deletions
