diff options
author | Ian Lepore <ian@FreeBSD.org> | 2015-01-02 23:46:26 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2015-01-02 23:46:26 +0000 |
commit | 301e1601adde9f7158aa9fae31676597cdacc942 (patch) | |
tree | c74df74f74e820c0497dff3a484f2eb048817690 /sys/arm/arm/fusu.S | |
parent | 17dfd895cef76ccf38fb6397b82977aad7cf2bb9 (diff) | |
download | src-301e1601adde9f7158aa9fae31676597cdacc942.tar.gz src-301e1601adde9f7158aa9fae31676597cdacc942.zip |
Fix alignment directives in arm asm code after clang 3.5 import.
The ancient gas we've been using interprets .align 0 as align to the
minimum required alignment for the current section. Clang's integrated
assembler interprets it as align to a byte boundary. Fortunately both
assemblers interpret a non-zero value as align to 2^N so just make sure
we have appropriate non-zero values everywhere.
Notes
Notes:
svn path=/head/; revision=276596
Diffstat (limited to 'sys/arm/arm/fusu.S')
-rw-r--r-- | sys/arm/arm/fusu.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/fusu.S b/sys/arm/arm/fusu.S index 3d2716a0056c..dec49ed0a5c3 100644 --- a/sys/arm/arm/fusu.S +++ b/sys/arm/arm/fusu.S @@ -204,7 +204,7 @@ Lblock_userspace_access: .word _C_LABEL(block_userspace_access) .data - .align 0 + .align 2 .global _C_LABEL(block_userspace_access) _C_LABEL(block_userspace_access): .word 0 |