-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PowerPC little endian support and remove TARGET_CPU_* defines
The PowerPC version of read_time() is not being selected on little endian because we are only catching the big endian cases: #if (TARGET_CPU_powerpc == 1 || TARGET_CPU_powerpc64 == 1) This is the only place we use TARGET_CPU_*, and it is simpler (and more common) to use standard c pre-processor defines: #if defined(__powerpc__) || defined(__powerpc64__) This works on gcc, llvm/clang and IBM xlc. With this change we can remove TARGET_CPU_* completely.
- Loading branch information
1 parent
a9ecee2
commit 29f6951
Showing
5 changed files
with
1 addition
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters