diff mbox series

xtensa: switch to little endianness

Message ID 44d1263-fe1-17b6-82d-fd2bbaa55cd@intel.com (mailing list archive)
State New
Headers show
Series xtensa: switch to little endianness | expand

Commit Message

Guennadi Liakhovetski Nov. 16, 2022, 4:55 p.m. UTC
Current gcc options only support the little endian mode on Xtensa,
switch over to it.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
---
  target-xtensa.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/target-xtensa.c b/target-xtensa.c
index 3620b4a3..48e4bf76 100644
--- a/target-xtensa.c
+++ b/target-xtensa.c
@@ -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,