We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5840cef + b87b163 commit 9d7a76cCopy full SHA for 9d7a76c
2 files changed
Make.inc
@@ -73,6 +73,12 @@ REAL_ARCH := $(ARCH)
73
ifeq ($(findstring arm,$(ARCH)),arm)
74
override ARCH := arm
75
endif
76
+ifeq ($(findstring powerpc,$(ARCH)),powerpc)
77
+override ARCH := powerpc
78
+endif
79
+ifeq ($(findstring ppc,$(ARCH)),ppc)
80
81
82
ifeq ($(ARCH),i386)
83
override ARCH := i387
84
include/openlibm_fenv_powerpc.h
@@ -97,8 +97,13 @@ extern const fenv_t __fe_dfl_env;
97
union __fpscr {
98
double __d;
99
struct {
100
+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
101
+ fenv_t __reg;
102
+ __uint32_t __junk;
103
+#else
104
__uint32_t __junk;
105
fenv_t __reg;
106
+#endif
107
} __bits;
108
};
109
0 commit comments