Message ID | 44d1263-fe1-17b6-82d-fd2bbaa55cd@intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | xtensa: switch to little endianness | expand |
On Wed, Nov 16, 2022 at 05:55:25PM +0100, Guennadi Liakhovetski wrote: > 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> Pushed to mainline now. Sorry for this very long delay. -- Luc
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,
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(-)