sim: nrun: tweak init of callback endian
authorMike Frysinger <vapier@gentoo.org>
Sun, 6 Jun 2021 02:50:57 +0000 (22:50 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 9 Jun 2021 22:24:59 +0000 (18:24 -0400)
commitcfc6061bd857d4b2e90d00a3bc2bbac038874f51
treec29d37cefdc537610f58fdad9798948278390f86
parenteee649922f026dd8857abb0476188e0508efcf8b
sim: nrun: tweak init of callback endian

Allow ports to initialize the callback endian if they want.  This will
allow delegation of the logic out of common code in the future.

Also switch from the CURRENT_TARGET_BYTE_ORDER macro to the underlying
current_target_byte_order storage since the latter has been setup by
the sim-config module based on the same macros.  This will allow the
nrun module to be moved to common building for sharing.
sim/common/ChangeLog
sim/common/nrun.c