Skip to content

Instantly share code, notes, and snippets.

@conor-pwbot
Created February 15, 2023 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save conor-pwbot/6d21ede64460c4d83d1e12867c996564 to your computer and use it in GitHub Desktop.
Save conor-pwbot/6d21ede64460c4d83d1e12867c996564 to your computer and use it in GitHub Desktop.
Out of order selects before the patch: 727 and now 741
New out of order content added
Ideally, sort depends first, the default second, selects (in alphanumerical order) third.
Suggested fixups:
config RELOCATABLE config RELOCATABLE
bool "Build a relocatable kernel" bool "Build a relocatable kernel"
depends on MMU && 64BIT && !XIP_KERNEL depends on MMU && 64BIT && !XIP_KERNEL
help help
This builds a kernel as a Position Independent Exec This builds a kernel as a Position Independent Exec
which retains all relocation metadata required to r which retains all relocation metadata required to r
kernel binary at runtime to a different virtual add kernel binary at runtime to a different virtual add
address it was linked at. address it was linked at.
Since RISCV uses the RELA relocation format, this r Since RISCV uses the RELA relocation format, this r
relocation pass at runtime even if the kernel is lo relocation pass at runtime even if the kernel is lo
same address it was linked at. same address it was linked at.
If unsure, say N. If unsure, say N.
==========
alphanumeric_selects - WARNING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment