[all-commits] [llvm/llvm-project] 250873: [ELF] --sysroot: change sysrooted script to not fa...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Jun 25 12:52:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2508733e1be28da8c53d36c109007b778225ec7a
https://github.com/llvm/llvm-project/commit/2508733e1be28da8c53d36c109007b778225ec7a
Author: Fangrui Song <i at maskray.me>
Date: 2021-06-25 (Fri, 25 Jun 2021)
Changed paths:
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/group.s
Log Message:
-----------
[ELF] --sysroot: change sysrooted script to not fall back for an absolute path
Modify the D13209 logic: for a script inside the sysroot, if an absolute path
does not exist, report an error instead of falling back to the path without the
sysroot prefix.
This matches GNU ld, which makes sense to me: we don't want to find an arbitrary
file in the host.
Reviewed By: ikudrin
Differential Revision: https://reviews.llvm.org/D104894
More information about the All-commits
mailing list