dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0002-grub-core-kern-arm-cache_armv6.S-Remove-.arch-direct.patch

28f7f8
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
39700a
From: Vladimir Serbinenko <phcoder@gmail.com>
39700a
Date: Wed, 25 Dec 2013 23:31:42 +0100
28f7f8
Subject: [PATCH] * grub-core/kern/arm/cache_armv6.S: Remove .arch directive.
39700a
39700a
	As these functions are used on pre-ARMv6 CPUs as well we don't want
39700a
	to make assembler assume that architecture is higher than default one.
39700a
---
39700a
 grub-core/kern/arm/cache_armv6.S | 1 -
28f7f8
 ChangeLog                        | 7 +++++++
39700a
 2 files changed, 7 insertions(+), 1 deletion(-)
39700a
28f7f8
diff --git a/grub-core/kern/arm/cache_armv6.S b/grub-core/kern/arm/cache_armv6.S
28f7f8
index 39da1dfc606..dfaded0eb30 100644
28f7f8
--- a/grub-core/kern/arm/cache_armv6.S
28f7f8
+++ b/grub-core/kern/arm/cache_armv6.S
28f7f8
@@ -22,7 +22,6 @@
28f7f8
 	.text
28f7f8
 	.syntax	unified
28f7f8
 	.arm
28f7f8
-	.arch	armv6
28f7f8
 
28f7f8
 # define DMB	mcr	p15, 0, r0, c7, c10, 5
28f7f8
 # define DSB	mcr	p15, 0, r0, c7, c10, 4
39700a
diff --git a/ChangeLog b/ChangeLog
28f7f8
index 21ec1c77c57..153bc43c1c5 100644
39700a
--- a/ChangeLog
39700a
+++ b/ChangeLog
39700a
@@ -1,3 +1,10 @@
39700a
+2013-12-25  Vladimir Serbinenko  <phcoder@gmail.com>
39700a
+
39700a
+	* grub-core/kern/arm/cache_armv6.S: Remove .arch directive.
39700a
+
39700a
+	As these functions are used on pre-ARMv6 CPUs as well we don't want
39700a
+	to make assembler assume that architecture is higher than default one.
39700a
+
39700a
 2013-12-25  Andrey Borzenkov <arvidjaar@gmail.com>
39700a
 
39700a
 	* grub-core/osdep/windows/platform.c (get_platform): Fix EFI