Wed, 29 Aug 2018 16:59:32 +0800
#7406 [C1] Fix fatal error: Thread holding lock at safepoint that vm can block on: tty_lock issue
Summary: Currently the MIPS FPU emulator uses eXecute Out of Line (XOL) on the stack to
handle instructions in the delay slots of FPU branches. Because of this MIPS
cannot have a non-executable stack. So just linking with -Wl,-z,noexecstack flag
Reviewed-by: aoqi
src/share/tools/hsdis/Makefile | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/tools/hsdis/Makefile Wed Aug 29 15:23:26 2018 +0800 1.2 +++ b/src/share/tools/hsdis/Makefile Wed Aug 29 16:59:32 2018 +0800 1.3 @@ -94,6 +94,7 @@ 1.4 endif 1.5 CFLAGS += -O 1.6 DLDFLAGS += -shared 1.7 +DLDFLAGS += -Wl,-z,noexecstack 1.8 LDFLAGS += -ldl 1.9 OUTFLAGS += -o $@ 1.10 else