Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/arm32 Make sure the handler addresses are 32-bi...



details:   https://anonhg.NetBSD.org/src/rev/88eeed888b02
branches:  trunk
changeset: 781528:88eeed888b02
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Sep 12 23:06:15 2012 +0000

description:
Make sure the handler addresses are 32-bit aligned.

diffstat:

 sys/arch/arm/arm32/exception.S |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 90fb0d7c446f -r 88eeed888b02 sys/arch/arm/arm32/exception.S
--- a/sys/arch/arm/arm32/exception.S    Wed Sep 12 19:20:37 2012 +0000
+++ b/sys/arch/arm/arm32/exception.S    Wed Sep 12 23:06:15 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exception.S,v 1.17 2012/08/29 23:10:31 matt Exp $      */
+/*     $NetBSD: exception.S,v 1.18 2012/09/12 23:06:15 matt Exp $      */
 
 /*
  * Copyright (c) 1994-1997 Mark Brinicombe.
@@ -50,7 +50,7 @@
 #include <machine/cpu.h>
 #include <machine/frame.h>
 
-       RCSID("$NetBSD: exception.S,v 1.17 2012/08/29 23:10:31 matt Exp $")
+       RCSID("$NetBSD: exception.S,v 1.18 2012/09/12 23:06:15 matt Exp $")
 
        .text   
        .align  0
@@ -111,8 +111,8 @@
        .word   _C_LABEL(prefetch_abort_handler_address)
 
        .data
+       .p2align 2
        .global _C_LABEL(prefetch_abort_handler_address)
-
 _C_LABEL(prefetch_abort_handler_address):
        .word   abortprefetch
 
@@ -150,6 +150,7 @@
        .word   _C_LABEL(data_abort_handler_address)
 
        .data
+       .p2align 2
        .global _C_LABEL(data_abort_handler_address)
 _C_LABEL(data_abort_handler_address):
        .word   abortdata



Home | Main Index | Thread Index | Old Index