Re: [MIPS] hsdis need non-executable PT_GNU_STACK support

2018-08-14 Thread Leslie Zhai
Hi Joseph, Thanks for your response! hsdis is just able to workaround when linking with -Wl,-z,noexecstack flag, and my environment: $ uname -a Linux localhost.localdomain 3.10.84-19.fc21.loongson.2.mips64el #1 SMP PREEMPT Fri Jul 6 18:47:47 CST 2018 mips64 mips64 mips64 GNU/Linux $ gcc -v

Re: [MIPS] hsdis need non-executable PT_GNU_STACK support

2018-08-14 Thread Joseph Myers
On Tue, 14 Aug 2018, Leslie Zhai wrote: > The root cause is the patch [MIPS] Enable non-executable PT_GNU_STACK support, > contributed by Faraz in 2016 February, had not been merged by GCC toolchain > upstream. > > https://gcc.gnu.org/ml/gcc-patches/2016-02/msg00444.html Was there a non-RFC GCC

[MIPS] hsdis need non-executable PT_GNU_STACK support

2018-08-14 Thread Leslie Zhai
Hi all, hsdis PrintLIRWithAssembly failed to work for mips64el after upgraded to jdk8u181-b13. http://mail.openjdk.java.net/pipermail/jdk8u-dev/2018-August/007753.html The root cause is the patch [MIPS] Enable non-executable PT_GNU_STACK support, contributed by Faraz in 2016 February, had no