summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-28 19:46:25 -0500
committerLaurent Vivier <laurent@vivier.eu>2023-02-03 22:55:12 +0100
commit95fc5ed4a86b0d173bf55daf32e1697d11062648 (patch)
tree67158c1505d8b74473dd201128120e8fb1ec7c1e /linux-user/syscall.c
parent6a848b522e189824f25bcfe9ec856c1f85e93fa3 (diff)
downloadfocaccia-qemu-95fc5ed4a86b0d173bf55daf32e1697d11062648.tar.gz
focaccia-qemu-95fc5ed4a86b0d173bf55daf32e1697d11062648.zip
linux-user: move target_flat.h to target subdirs
This makes target_flat.h behave like every other target_xxx.h header.
It also makes it actually work -- while the current header says adding
a header to the target subdir overrides the common one, it doesn't.
This is for two reasons:
* meson.build adds -Ilinux-user before -Ilinux-user/$arch
* the compiler search path for "target_flat.h" looks in the same dir
  as the source file before searching -I paths.

This can be seen with the xtensa port -- the subdir settings aren't
used which breaks stack setup.

Move it to the generic/ subdir and add include stubs like every
other target_xxx.h header is handled.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230129004625.11228-1-vapier@gentoo.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions