mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8283626: AArch64: Set relocInfo::offset_unit to 4
Reviewed-by: simonis, aph
This commit is contained in:
parent
c3d903a55a
commit
ab17f88f6c
1 changed files with 3 additions and 2 deletions
|
@ -29,8 +29,9 @@
|
||||||
// machine-dependent parts of class relocInfo
|
// machine-dependent parts of class relocInfo
|
||||||
private:
|
private:
|
||||||
enum {
|
enum {
|
||||||
// Relocations are byte-aligned.
|
// AArch64 instructions are always 4 bytes long and 4-aligned, so
|
||||||
offset_unit = 1,
|
// the two lowest offset bits can always be discarded.
|
||||||
|
offset_unit = 4,
|
||||||
// Must be at least 1 for RelocInfo::narrow_oop_in_const.
|
// Must be at least 1 for RelocInfo::narrow_oop_in_const.
|
||||||
format_width = 1
|
format_width = 1
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue