diff options
author | H.J. Lu <[email protected]> | 2016-11-18 13:07:19 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-11-21 11:05:28 +0100 |
commit | a980ce352fcd408d30b044455e5f6e959d6258b6 (patch) | |
tree | 0660db535f0c49ebe8e0e56ac7e67a4d92d91fd2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8c5c86fb6abec7d76ec4d51a46714161bceab315 (diff) |
x86/build: Build compressed x86 kernels as PIE when !CONFIG_RELOCATABLE as well
Since the bootloader may load the compressed x86 kernel at any address,
it should always be built as PIE, not just when CONFIG_RELOCATABLE=y.
Otherwise, linker in binutils 2.27 will optimize GOT load into the
absolute address when building the compressed x86 kernel as a non-PIE
executable.
Signed-off-by: H.J. Lu <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
[ Small wording changes. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions