mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Fix copy-pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -56,8 +56,8 @@ bool IsBytecode(const std::string &FN) {
|
|||||||
/// object with an ELF header. The file named FN must exist.
|
/// object with an ELF header. The file named FN must exist.
|
||||||
///
|
///
|
||||||
bool IsSharedObject(const std::string &FN) {
|
bool IsSharedObject(const std::string &FN) {
|
||||||
// Inspect the beginning of the file to see if it contains the LLVM
|
// Inspect the beginning of the file to see if it contains the ELF shared
|
||||||
// bytecode format magic string.
|
// object magic string.
|
||||||
static const char elfMagic[] = { 0x7f, 'E', 'L', 'F', '\0' };
|
static const char elfMagic[] = { 0x7f, 'E', 'L', 'F', '\0' };
|
||||||
return CheckMagic(FN, elfMagic);
|
return CheckMagic(FN, elfMagic);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user