[all-commits] [llvm/llvm-project] abc8f2: [Driver] Don't passs --dynamic-linker in -r mode
Brad Smith via All-commits
all-commits at lists.llvm.org
Sat Jul 16 17:13:44 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: abc8f2b7245f5da09612784ca6e5e0f3dfe4b42d
https://github.com/llvm/llvm-project/commit/abc8f2b7245f5da09612784ca6e5e0f3dfe4b42d
Author: Brad Smith <brad at comstyle.com>
Date: 2022-07-16 (Sat, 16 Jul 2022)
Changed paths:
M clang/lib/Driver/ToolChains/Ananas.cpp
M clang/lib/Driver/ToolChains/DragonFly.cpp
M clang/lib/Driver/ToolChains/FreeBSD.cpp
M clang/lib/Driver/ToolChains/Fuchsia.cpp
M clang/lib/Driver/ToolChains/NetBSD.cpp
M clang/lib/Driver/ToolChains/OpenBSD.cpp
M clang/test/Driver/ananas.c
M clang/test/Driver/dragonfly.c
M clang/test/Driver/freebsd.c
M clang/test/Driver/fuchsia.c
M clang/test/Driver/netbsd.c
M clang/test/Driver/openbsd.c
Log Message:
-----------
[Driver] Don't passs --dynamic-linker in -r mode
No behavior change as GNU ld/gold/ld.lld ignore --dynamic-linker in -r mode.
This change makes the intention clearer as we already suppress --dynamic-linker
for -shared, -static, and -static-pie.
Reviewed by: MaskRay, phosek
Differential Revision: https://reviews.llvm.org/D129714
More information about the All-commits
mailing list