[all-commits] [llvm/llvm-project] c702bf: [lld-macho] Reject -no_pie for unsupported archs
Keith Smiley via All-commits
all-commits at lists.llvm.org
Tue Nov 29 11:17:26 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c702bf1400fbc7fc1e54b0efc8cd934291fd81a2
https://github.com/llvm/llvm-project/commit/c702bf1400fbc7fc1e54b0efc8cd934291fd81a2
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M lld/MachO/Driver.cpp
A lld/test/MachO/no-pie.s
Log Message:
-----------
[lld-macho] Reject -no_pie for unsupported archs
ld64 rejects `-no_pie` when targeting arm64, this mirrors that behavior.
Newer versions of ld64 also reject it based on minimum OS versions, but
that logic isn't in an open source dump yet so it isn't implemented
here.
Fixes https://github.com/llvm/llvm-project/issues/59115
Differential Revision: https://reviews.llvm.org/D138884
More information about the All-commits
mailing list