mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-13 15:37:24 +00:00
Support .a files directly (without -l).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101789 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d6cc53cfe4
commit
c1b202a2b8
@ -263,7 +263,7 @@ def llc : Tool<
|
||||
|
||||
// Base class for linkers
|
||||
class llvm_gcc_based_linker <string cmd_prefix> : Tool<
|
||||
[(in_language "object-code"),
|
||||
[(in_language ["object-code", "static-library"]),
|
||||
(out_language "executable"),
|
||||
(output_suffix "out"),
|
||||
(command cmd_prefix),
|
||||
@ -317,6 +317,7 @@ def LanguageMap : LanguageMap<
|
||||
LangToSuffixes<"llvm-assembler", ["ll"]>,
|
||||
LangToSuffixes<"llvm-bitcode", ["bc"]>,
|
||||
LangToSuffixes<"object-code", ["o", "*empty*"]>,
|
||||
LangToSuffixes<"static-library", ["a", "lib"]>,
|
||||
LangToSuffixes<"executable", ["out"]>
|
||||
]>;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user