Skip to contentSkip to conversation

xtensa: switch to little endianness

PATCH Applied Guennadi Liakhovetski 2 participants 2 messages Nov 16, 2022 – Dec 18, 2023 Sparse checker

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xtensa: switch to little endianness

Current gcc options only support the little endian mode on Xtensa, switch over to it.

---
 target-xtensa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target-xtensa.c +1 -1
index 3620b4a3..48e4bf76 100644
@@ -22,7 +22,7 @@ static void predefine_xtensa(const struct target *self)
 const struct target target_xtensa = {
 	.mach = MACH_XTENSA,
 	.bitness = ARCH_LP32,
-	.big_endian = true,
+	.big_endian = false,
 
 	.bits_in_longdouble = 64,
 
Signature · 1 line
2.30.2