[all-commits] [llvm/llvm-project] ce5b37: [BOLT, test] Make linker scripts less sensitive to ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu May 30 10:13:04 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ce5b371606422ed21cda0e24cdc89cb41cdc5600
https://github.com/llvm/llvm-project/commit/ce5b371606422ed21cda0e24cdc89cb41cdc5600
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M bolt/test/AArch64/Inputs/array_end.lld_script
M bolt/test/Inputs/lsda.ldscript
Log Message:
-----------
[BOLT,test] Make linker scripts less sensitive to lld's orphan placement (#93763)
Then two tests rely on .interp being the first section.
llvm-bolt would crash if lld places .interp after .got
(f639b57f7993cadb82ee9c36f04703ae4430ed85).
For best portability, when a linker scripts specifies a SECTIONS
command, the first section for each PT_LOAD segment should be specified
with a MAXPAGESIZE alignment. Otherwise, linkers have freedom to decide
how to place orphan sections, which might break intention.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list