Skip to content
Commit aac53d3d authored by Andrew Scull's avatar Andrew Scull Committed by Tom Rini
Browse files

sandbox: Rename EFI runtime sections



Rename the sections used for placing the EFI runtime so that they don't
start with a '.'. ELF says that sections starting with a '.' are
reserved for system use, but the sandbox runs as a normal user process
so should be using user sections instead.

Clang's ASAN adds redzones to non-user sections and the extra padding
meant that the list of options was being corrupted. Naming the sections
as user sections avoids this issue as clang handles them as we intended.

Signed-off-by: default avatarAndrew Scull <ascull@google.com>
parent 337b26e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment