* grub-core/kern/arm/cache_armv6.S [__clang__]: Don't add .armv6 when

compiling with clang.
This commit is contained in:
Vladimir Serbinenko 2013-11-13 01:08:47 +01:00
parent bc379c1aa1
commit 513eeb61dd
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-11-13 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/arm/cache_armv6.S [__clang__]: Don't add .armv6 when
compiling with clang.
2013-11-13 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/arm/uboot/startup.S: Use .org rather than assigning

View file

@ -22,7 +22,9 @@
.text
.syntax unified
.arm
#ifndef __clang__
.arch armv6
#endif
# define DMB mcr p15, 0, r0, c7, c10, 5
# define DSB mcr p15, 0, r0, c7, c10, 4
# define ISB mcr p15, 0, r0, c7, c5, 4