diff options
author | Andrei Homescu <ah@immunant.com> | 2020-11-06 20:18:14 -0800 |
---|---|---|
committer | Andrei Homescu <ahomescu@google.com> | 2022-01-11 01:49:14 +0000 |
commit | 88e9aa5eb551f11330be5e4054e2b40f6457fb79 (patch) | |
tree | 857916883b8ad265cd344aaa6ec55cb8976567b6 /tools/.gitignore | |
parent | 64b5c1ffef07884581496e2e7471f83333b4edc4 (diff) | |
download | common-88e9aa5eb551f11330be5e4054e2b40f6457fb79.tar.gz |
[make] Build kernel as a PIE binary
Build the kernel as a PIE binary. This requires the following:
* Compile the kernel with -fPIE and link with -pie
* Link with --pack-dyn-relocs so that dynamic relocations, mainly
R_*_RELATIVE relocations, are pre-applied and stored in a
compact format in the binary
Bug: 80147716
Test: build.py qemu-generic-arm64-test-debug
Change-Id: I771a5af9aa2e8a9314bf1a1ac57063052911e3c4
Diffstat (limited to 'tools/.gitignore')
0 files changed, 0 insertions, 0 deletions