This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] [AArch64] Ensure vector table is page aligned.
- From: Marcus Shawcroft <marcus dot shawcroft at arm dot com>
- To: newlib at sourceware dot org
- Date: Fri, 12 Jul 2013 10:42:54 +0100
- Subject: [PATCH] [AArch64] Ensure vector table is page aligned.
Hi,
The attached patch ensures that the default vector table is page
aligned. Committed.
/Marcus
2013-07-12 Marcus Shawcroft <marcus.shawcroft@arm.com>
* aarch64/cpu-init/rdimon-aem-el3.S (vectors): Page align.
commit 6a6e83b64861fc3fe591ca0cb03b7358a34e6738
Author: Marcus Shawcroft <marcus.shawcroft@arm.com>
Date: Fri Jul 12 10:03:13 2013 +0100
[AArch64] Align vector table.
diff --git a/libgloss/aarch64/cpu-init/rdimon-aem-el3.S b/libgloss/aarch64/cpu-init/rdimon-aem-el3.S
index 23b0f64..6ddf623 100644
--- a/libgloss/aarch64/cpu-init/rdimon-aem-el3.S
+++ b/libgloss/aarch64/cpu-init/rdimon-aem-el3.S
@@ -78,10 +78,9 @@ lower_a32_serror:
b \label
.endm
- .align 7
-
/* AArch64 Exception Model -- 3.5.5 Exception Vectors. */
+ .align 12
vectors:
/* Current EL with SP0. */
ventry curr_sp0_sync /* Synchronous */