diff options
author | Fadi Hanna <fadim@microsoft.com> | 2018-07-23 22:20:20 +0300 |
---|---|---|
committer | Fadi Hanna <fadim@microsoft.com> | 2018-07-23 22:20:20 +0300 |
commit | b6626f6ac2981e1256a640a664faf79d2271e91a (patch) | |
tree | 2470296c8eed4404449aa138a51abcc72b341f12 /src/Native | |
parent | 045a28051c6b85b82fe42e944fcb2267768ebbe2 (diff) |
Fixing the warning (bug 497509) we get from an unsupported alignment value for the ALIGN macro (for some reason, the arm64 assembler warns that 16 bytes exceed the max alignment value, and will not guarantee any alignment).
We do not need that anyways because the thunks instructions are 16-bytes long, and all thunks will naturally be aligned at 16 bytes boundaries.
[tfs-changeset: 1708278]
Diffstat (limited to 'src/Native')
-rw-r--r-- | src/Native/Runtime/arm64/ThunkPoolThunks.asm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Native/Runtime/arm64/ThunkPoolThunks.asm b/src/Native/Runtime/arm64/ThunkPoolThunks.asm index 6d9a02ff6..ddf39de36 100644 --- a/src/Native/Runtime/arm64/ThunkPoolThunks.asm +++ b/src/Native/Runtime/arm64/ThunkPoolThunks.asm @@ -29,7 +29,6 @@ RO$name % 8 MACRO LOAD_DATA_ADDRESS $groupIndex, $index, $pageIndex - ALIGN 0x10 ;; make sure we align to 16-byte boundary for CFG table ;; Set xip0 to the address of the current thunk's data block. This is done using labels. adr xip0, label_$groupIndex_$index_P$pageIndex @@ -44,7 +43,7 @@ RO$name % 8 ldr xip1, [xip0, #(PAGE_SIZE - POINTER_SIZE - ($groupIndex * THUNK_DATASIZE * 10 + THUNK_DATASIZE * $index))] br xip1 - brk 0xf000 ;; Stubs need to be 16-byte aligned (see comment above). Filling padding with a + brk 0xf000 ;; Stubs need to be 16-byte aligned for CFG table. Filling padding with a ;; deterministic brk instruction, instead of having it just filled with zeros. MEND |