Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit a344b21

Browse files
committed
Simplify libtool compatibility hack.
I tested that if I remove "elf" from the message, building a program that uses libtool prints checking whether to build shared libraries... no but with this patch it still prints checking whether to build shared libraries... yes git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@324428 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 86e82e1 commit a344b21

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

ELF/DriverUtils.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,7 @@ void elf::printHelp() {
124124
// in a message for the -help option. If it doesn't match, the scripts
125125
// assume that the linker doesn't support very basic features such as
126126
// shared libraries. Therefore, we need to print out at least "elf".
127-
// Here, we print out all the targets that we support.
128-
outs() << Config->ProgName << ": supported targets: "
129-
<< "elf32-i386 elf32-iamcu elf32-littlearm elf32-ntradbigmips "
130-
<< "elf32-ntradlittlemips elf32-powerpc elf32-tradbigmips "
131-
<< "elf32-tradlittlemips elf32-x86-64 "
132-
<< "elf64-amdgpu elf64-littleaarch64 elf64-powerpc elf64-tradbigmips "
133-
<< "elf64-tradlittlemips elf64-x86-64\n";
127+
outs() << Config->ProgName << ": supported targets: elf\n";
134128
}
135129

136130
// Reconstructs command line arguments so that so that you can re-run

0 commit comments

Comments
 (0)