mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Accept, but ignore -lfoo options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1585 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2122318240
commit
e8bab6a1c0
@ -29,6 +29,7 @@ cl::Flag Force ("f", "Overwrite output files", cl::NoFlags, false);
|
|||||||
cl::Flag Verbose ("v", "Print information about actions taken");
|
cl::Flag Verbose ("v", "Print information about actions taken");
|
||||||
cl::Flag DumpAsm ("d", "Print assembly as linked", cl::Hidden, false);
|
cl::Flag DumpAsm ("d", "Print assembly as linked", cl::Hidden, false);
|
||||||
cl::StringList LibPaths ("L", "Specify a library search path", cl::ZeroOrMore);
|
cl::StringList LibPaths ("L", "Specify a library search path", cl::ZeroOrMore);
|
||||||
|
cl::StringList Libraries ("l", "Specify libraries to link to", cl::ZeroOrMore);
|
||||||
|
|
||||||
|
|
||||||
// FileExists - Return true if the specified string is an openable file...
|
// FileExists - Return true if the specified string is an openable file...
|
||||||
@ -90,6 +91,9 @@ int main(int argc, char **argv) {
|
|||||||
OutputFilename = InputFilenames[1];
|
OutputFilename = InputFilenames[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!Libraries.empty())
|
||||||
|
cerr << "LLVM Linker Warning: Linking to libraries is unimplemented!\n";
|
||||||
|
|
||||||
std::auto_ptr<Module> Composite(LoadFile(InputFilenames[BaseArg]));
|
std::auto_ptr<Module> Composite(LoadFile(InputFilenames[BaseArg]));
|
||||||
if (Composite.get() == 0) return 1;
|
if (Composite.get() == 0) return 1;
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ cl::Flag Force ("f", "Overwrite output files", cl::NoFlags, false);
|
|||||||
cl::Flag Verbose ("v", "Print information about actions taken");
|
cl::Flag Verbose ("v", "Print information about actions taken");
|
||||||
cl::Flag DumpAsm ("d", "Print assembly as linked", cl::Hidden, false);
|
cl::Flag DumpAsm ("d", "Print assembly as linked", cl::Hidden, false);
|
||||||
cl::StringList LibPaths ("L", "Specify a library search path", cl::ZeroOrMore);
|
cl::StringList LibPaths ("L", "Specify a library search path", cl::ZeroOrMore);
|
||||||
|
cl::StringList Libraries ("l", "Specify libraries to link to", cl::ZeroOrMore);
|
||||||
|
|
||||||
|
|
||||||
// FileExists - Return true if the specified string is an openable file...
|
// FileExists - Return true if the specified string is an openable file...
|
||||||
@ -90,6 +91,9 @@ int main(int argc, char **argv) {
|
|||||||
OutputFilename = InputFilenames[1];
|
OutputFilename = InputFilenames[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!Libraries.empty())
|
||||||
|
cerr << "LLVM Linker Warning: Linking to libraries is unimplemented!\n";
|
||||||
|
|
||||||
std::auto_ptr<Module> Composite(LoadFile(InputFilenames[BaseArg]));
|
std::auto_ptr<Module> Composite(LoadFile(InputFilenames[BaseArg]));
|
||||||
if (Composite.get() == 0) return 1;
|
if (Composite.get() == 0) return 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user