Skip to content

Commit b9793e7

Browse files
committed
Fixup TARGET_ENDIAN_DEFAULT for 2.7.x and 2.8.x
1 parent 123f476 commit b9793e7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

patches/mipsel-2.7.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
@@ -406,6 +406,9 @@
44
| TARGET_ENDIAN_DEFAULT)} \
55
}
6-
6+
77
+/* Default little-endian */
8-
+#define TARGET_ENDIAN_DEFAULT -MASK_BIG_ENDIAN
8+
+#define TARGET_ENDIAN_DEFAULT 0
99
+
1010
/* Default target_flags if no switches are specified */
11-
11+
1212
#ifndef TARGET_DEFAULT
1313
@@ -954,6 +957,22 @@
1414
#define ASM_OUTPUT_DESTRUCTOR(file, name)
15-
15+
1616
#endif /* 0 */
1717
+
1818
+/* A C statement to output something to the assembler file to switch to section
@@ -32,4 +32,4 @@
3232
+} while (0)
3333

3434
/* Target machine storage layout */
35-
35+

patches/mipsel-2.8.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}
66

77
+/* Default little-endian */
8-
+#define TARGET_ENDIAN_DEFAULT -MASK_BIG_ENDIAN
8+
+#define TARGET_ENDIAN_DEFAULT 0
99
+
1010
/* Default target_flags if no switches are specified */
1111

0 commit comments

Comments
 (0)