diff options
author | Uros Bizjak <[email protected]> | 2023-11-03 11:48:22 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-11-30 20:09:49 +0100 |
commit | 0978d64f9406122c369d5f46e1eb855646f6c32c (patch) | |
tree | 569639ca1a93adaf5fd067d931e580f28ea13457 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 2adeed985a42ff3334e6898c8c0827e7626c1336 (diff) |
x86/acpi: Use %rip-relative addressing in wakeup_64.S
This is a "nice-to-have" change with minor code generation benefits:
- Instruction with %rip-relative address operand is one byte shorter than
its absolute address counterpart,
- it is also compatible with position independent executable (-fpie) builds,
- it is also consistent with what the compiler emits by default when
a symbol is accessed.
No functional changes intended.
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions