Only pass endianess to simulator when explicitly set by user with set

endian.
Prepend endian argument so that it can be overriden with target sim -ARGS.
This commit is contained in:
Andrew Cagney
1997-08-27 07:45:50 +00:00
parent 2f88c3244e
commit 750b794296
4 changed files with 36 additions and 10 deletions

View File

@@ -3126,7 +3126,7 @@ dont_repeat_command (ignored, from_tty)
#define TARGET_BYTE_ORDER_DEFAULT BIG_ENDIAN
#endif
int target_byte_order = TARGET_BYTE_ORDER_DEFAULT;
static int target_byte_order_auto = 1;
int target_byte_order_auto = 1;
#else
static int target_byte_order_auto = 0;
#endif