summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/arm64/gcs/gcs-util.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2024-11-06 19:55:16 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2024-11-08 16:37:55 +0000
commit60de7a647fc51b8467f6fb1a8abfe4cab1c95687 (patch)
treea4f7d729885233f9c6db80777af3861feffd2214 /tools/testing/selftests/arm64/gcs/gcs-util.h
parentccf54058f5328e6da5ecc61c961bf68bbb7d865b (diff)
arm64/scs: Deal with 64-bit relative offsets in FDE frames
In some cases, the compiler may decide to emit DWARF FDE frames with 64-bit signed fields for the code offset and range fields. This may happen when using the large code model, for instance, which permits an executable to be spread out over more than 4 GiB of address space. Whether this is the case can be inferred from the augmentation data in the CIE frame, so decode this data before processing the FDE frames. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Sami Tolvanen <samitolvanen@google.com> Tested-by: Sami Tolvanen <samitolvanen@google.com> Link: https://lore.kernel.org/r/20241106185513.3096442-7-ardb+git@google.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/testing/selftests/arm64/gcs/gcs-util.h')
0 files changed, 0 insertions, 0 deletions