mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 01:15:32 +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:
parent
0d2459a49f
commit
971a7b88b5
@ -56,8 +56,8 @@ bool IsBytecode(const std::string &FN) {
|
||||
/// object with an ELF header. The file named FN must exist.
|
||||
///
|
||||
bool IsSharedObject(const std::string &FN) {
|
||||
// Inspect the beginning of the file to see if it contains the LLVM
|
||||
// bytecode format magic string.
|
||||
// Inspect the beginning of the file to see if it contains the ELF shared
|
||||
// object magic string.
|
||||
static const char elfMagic[] = { 0x7f, 'E', 'L', 'F', '\0' };
|
||||
return CheckMagic(FN, elfMagic);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user