summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2021-01-05 21:05:36 +0300
committerMarc Zyngier <maz@kernel.org>2021-01-23 17:00:57 +0300
commitf7a4825d9569593b9a81f0768313b86175691ef1 (patch)
tree647829cea26b049d455582c771e07a4ada12fb05 /arch/arm64/kernel/vmlinux.lds.S
parent16174eea2e4fe8247e04c17da682f2034fec0369 (diff)
downloadlinux-f7a4825d9569593b9a81f0768313b86175691ef1.tar.xz
KVM: arm64: Add symbol at the beginning of each hyp section
Generating hyp relocations will require referencing positions at a given offset from the beginning of hyp sections. Since the final layout will not be determined until the linking of `vmlinux`, modify the hyp linker script to insert a symbol at the first byte of each hyp section to use as an anchor. The linker of `vmlinux` will place the symbols together with the sections. Signed-off-by: David Brazdil <dbrazdil@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210105180541.65031-4-dbrazdil@google.com
Diffstat (limited to 'arch/arm64/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions