diff options
| author | Michael Stapelberg <stapelberg@debian.org> | 2013-12-03 09:43:15 +0100 |
|---|---|---|
| committer | Michael Stapelberg <stapelberg@debian.org> | 2013-12-03 09:43:15 +0100 |
| commit | 64d2a7c8945ba05af859901f5e248f1befdd8621 (patch) | |
| tree | 013fcb7e9e3296ecdda876012252c36bd6bcb063 /src/libmach/executable.c | |
| parent | b901efe83e212f0c34c769c079e41373da12d723 (diff) | |
| download | golang-64d2a7c8945ba05af859901f5e248f1befdd8621.tar.gz | |
Imported Upstream version 1.2upstream/1.2
Diffstat (limited to 'src/libmach/executable.c')
| -rw-r--r-- | src/libmach/executable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmach/executable.c b/src/libmach/executable.c index 91c0cbe76..eae14441a 100644 --- a/src/libmach/executable.c +++ b/src/libmach/executable.c @@ -1076,7 +1076,7 @@ machdotout(int fd, Fhdr *fp, ExecHdr *hp) return 0; } - if (mp->cpusubtype != MACH_CPU_SUBTYPE_X86) { + if (mp->cpusubtype != MACH_CPU_SUBTYPE_X86 && mp->cpusubtype != MACH_CPU_SUBTYPE_X86_64) { werrstr("bad MACH cpu subtype - not amd64"); return 0; } |
