mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8277204: Implement PAC-RET branch protection on Linux/AArch64
Reviewed-by: erikj, ihse, adinn, ngasson
This commit is contained in:
parent
abc0ce11df
commit
6fab8a2d6a
35 changed files with 1446 additions and 904 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -744,6 +744,7 @@
|
|||
static_field(VM_Version, _zva_length, int) \
|
||||
static_field(StubRoutines::aarch64, _has_negatives, address) \
|
||||
static_field(StubRoutines::aarch64, _has_negatives_long, address) \
|
||||
static_field(VM_Version, _rop_protection, bool) \
|
||||
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_fp, intptr_t*)
|
||||
|
||||
#define DECLARE_INT_CPU_FEATURE_CONSTANT(id, name, bit) GENERATE_VM_INT_CONSTANT_ENTRY(VM_Version::CPU_##id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue