The qemu-hexagon binary is buildable without a single use
of the legacy "native endian" API. Unset the transitional
TARGET_USE_LEGACY_NATIVE_ENDIAN_API definition to forbid
further uses of the legacy API.
Preliminary commits allowing this final change:
- beb38fda0f0 target/hexagon: Replace MO_TE -> MO_LE
- fdcb7483ae0 target/hexagon: Explode MO_TExx -> MO_TE | MO_xx
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
configs/targets/hexagon-linux-user.mak | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/targets/hexagon-linux-user.mak b/configs/targets/hexagon-linux-user.mak
index aec1a04d1b4..6763e2111d5 100644
--- a/configs/targets/hexagon-linux-user.mak
+++ b/configs/targets/hexagon-linux-user.mak
@@ -3,3 +3,4 @@ TARGET_XML_FILES=gdb-xml/hexagon-core.xml gdb-xml/hexagon-hvx.xml
TARGET_SYSTBL=syscall.tbl
TARGET_SYSTBL_ABI=common,32,hexagon,time32,stat64,rlimit,renameat
TARGET_LONG_BITS=32
+TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y
--
2.52.0
On Wed, Dec 24, 2025 at 10:07 AM Philippe Mathieu-Daudé <philmd@linaro.org> wrote: > The qemu-hexagon binary is buildable without a single use > of the legacy "native endian" API. Unset the transitional > TARGET_USE_LEGACY_NATIVE_ENDIAN_API definition to forbid > further uses of the legacy API. > > Preliminary commits allowing this final change: > > - beb38fda0f0 target/hexagon: Replace MO_TE -> MO_LE > - fdcb7483ae0 target/hexagon: Explode MO_TExx -> MO_TE | MO_xx > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com> configs/targets/hexagon-linux-user.mak | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/targets/hexagon-linux-user.mak > b/configs/targets/hexagon-linux-user.mak > index aec1a04d1b4..6763e2111d5 100644 > --- a/configs/targets/hexagon-linux-user.mak > +++ b/configs/targets/hexagon-linux-user.mak > @@ -3,3 +3,4 @@ TARGET_XML_FILES=gdb-xml/hexagon-core.xml > gdb-xml/hexagon-hvx.xml > TARGET_SYSTBL=syscall.tbl > TARGET_SYSTBL_ABI=common,32,hexagon,time32,stat64,rlimit,renameat > TARGET_LONG_BITS=32 > +TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y > -- > 2.52.0 > >
On 12/25/25 03:07, Philippe Mathieu-Daudé wrote: > The qemu-hexagon binary is buildable without a single use > of the legacy "native endian" API. Unset the transitional > TARGET_USE_LEGACY_NATIVE_ENDIAN_API definition to forbid > further uses of the legacy API. > > Preliminary commits allowing this final change: > > - beb38fda0f0 target/hexagon: Replace MO_TE -> MO_LE > - fdcb7483ae0 target/hexagon: Explode MO_TExx -> MO_TE | MO_xx > > Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> > --- > configs/targets/hexagon-linux-user.mak | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
On Wed, Dec 24, 2025 at 6:07 PM Philippe Mathieu-Daudé <philmd@linaro.org> wrote: > > The qemu-hexagon binary is buildable without a single use > of the legacy "native endian" API. Unset the transitional > TARGET_USE_LEGACY_NATIVE_ENDIAN_API definition to forbid > further uses of the legacy API. > > Preliminary commits allowing this final change: > > - beb38fda0f0 target/hexagon: Replace MO_TE -> MO_LE > - fdcb7483ae0 target/hexagon: Explode MO_TExx -> MO_TE | MO_xx > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> > configs/targets/hexagon-linux-user.mak | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/targets/hexagon-linux-user.mak b/configs/targets/hexagon-linux-user.mak > index aec1a04d1b4..6763e2111d5 100644 > --- a/configs/targets/hexagon-linux-user.mak > +++ b/configs/targets/hexagon-linux-user.mak > @@ -3,3 +3,4 @@ TARGET_XML_FILES=gdb-xml/hexagon-core.xml gdb-xml/hexagon-hvx.xml > TARGET_SYSTBL=syscall.tbl > TARGET_SYSTBL_ABI=common,32,hexagon,time32,stat64,rlimit,renameat > TARGET_LONG_BITS=32 > +TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y > -- > 2.52.0 >
© 2016 - 2026 Red Hat, Inc.