mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Is64Bit reflects the capability of the chip, not an aspect of the target os
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25749 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dabbc98396
commit
c2fad16155
@ -139,12 +139,6 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS) {
|
|||||||
// Parse features string.
|
// Parse features string.
|
||||||
ParseSubtargetFeatures(FS, CPU);
|
ParseSubtargetFeatures(FS, CPU);
|
||||||
|
|
||||||
// FIXME: Just because the CPU supports 64-bit operation doesn't mean it isn't
|
|
||||||
// currently running a 32-bit operating system. This must be taken into account.
|
|
||||||
// This hack will do for now, though obviously it breaks cross-compilation.
|
|
||||||
if (sizeof(void *) == 4)
|
|
||||||
Is64Bit = false;
|
|
||||||
|
|
||||||
// Default to ELF unless otherwise specified.
|
// Default to ELF unless otherwise specified.
|
||||||
TargetType = isELF;
|
TargetType = isELF;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user