Commit c8d0af31 authored by Peter Trommler's avatar Peter Trommler 🥁 Committed by Ben Gamari
Browse files

RTS: Detect powerpc64le as ELF 64-bit system


Test Plan: validate

Reviewers: simonmar, erikd, austin, bgamari

Reviewed By: austin, bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1672

GHC Trac Issues: #11269
parent bec5350d
......@@ -4159,7 +4159,7 @@ ocRunInit_PEi386 ( ObjectCode *oc )
# define ELF_TARGET_X64_64
# define ELF_64BIT
# define ELF_TARGET_AMD64 /* Used inside <elf.h> on Solaris 11 */
#elif defined(powerpc64_HOST_ARCH)
#elif defined(powerpc64_HOST_ARCH) || defined(powerpc64le_HOST_ARCH)
# define ELF_64BIT
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment