linux-user: xtensa: enable bFLT support

- request bflt support in configure;
- implement custom linux-user/xtensa/target_flat.h that doesn't put envp
  on stack;
- fix #include "target_flat.h" in flatload.c so that it first search for
  arch-customized version of the header.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
Max Filippov 2018-10-19 18:40:20 -07:00
parent 3892f1f1a9
commit 02e33e9ffd
3 changed files with 12 additions and 1 deletions

1
configure vendored
View file

@ -7178,6 +7178,7 @@ case "$target_name" in
;;
xtensa|xtensaeb)
TARGET_ARCH=xtensa
bflt="yes"
mttcg="yes"
target_compiler=$cross_cc_xtensa
;;