[aarch64-port-dev ] Fix for jdk9/dev build for aarch64
Edward Nevill
edward.nevill at linaro.org
Wed Mar 25 09:17:14 UTC 2015
Hi Andy,
Thanks for this.
Now that the aarch64 port has been merged to jdk9/dev all changes must
be accompanied by an issue report in the JDK bug system at
http://bugs.openjdk.java.net
I have already created a report for this issue along with a patch at
https://bugs.openjdk.java.net/browse/JDK-8075860
All the best,
Ed.
On Tue, 2015-03-24 at 22:46 -0500, Andrew Johnson wrote:
> The following patch allows the build of openjdk jdk9/dev to complete
> successfully:
>
> diff -r f68d656d1f5e src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp
> --- a/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp Mon Mar 23
> 11:44:41 2015 -0700
> +++ b/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp Tue Mar 24
> 20:40:29 2015 -0700
> @@ -116,6 +116,14 @@
> #endif
> }
>
> +void os::Linux::ucontext_set_pc(ucontext_t * uc, address pc) {
> +#ifdef BUILTIN_SIM
> + uc->uc_mcontext.gregs[REG_PC] = (intptr_t)pc;
> +#else
> + uc->uc_mcontext.pc = (intptr_t)pc;
> +#endif
> +}
> +
> intptr_t* os::Linux::ucontext_get_sp(ucontext_t * uc) {
> #ifdef BUILTIN_SIM
> return (intptr_t*)uc->uc_mcontext.gregs[REG_SP];
>
>
More information about the aarch64-port-dev
mailing list