mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
linux-user: Honor PT_GNU_STACK
Map the stack executable if required by default or on demand. Acked-by: Ilya Leoshkevich <iii@linux.ibm.com> Tested-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
d461b73ec0
commit
872f3d046f
3 changed files with 20 additions and 1 deletions
|
@ -31,6 +31,7 @@ typedef int64_t Elf64_Sxword;
|
|||
#define PT_LOPROC 0x70000000
|
||||
#define PT_HIPROC 0x7fffffff
|
||||
|
||||
#define PT_GNU_STACK (PT_LOOS + 0x474e551)
|
||||
#define PT_GNU_PROPERTY (PT_LOOS + 0x474e553)
|
||||
|
||||
#define PT_MIPS_REGINFO 0x70000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue