Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/xscale Use correct-for-ELF local labels.



details:   https://anonhg.NetBSD.org/src/rev/70f5ac335a86
branches:  trunk
changeset: 535393:70f5ac335a86
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Aug 17 03:14:47 2002 +0000

description:
Use correct-for-ELF local labels.

diffstat:

 sys/arch/arm/xscale/i80200_irq.S |  46 ++++++++++++++++++++--------------------
 sys/arch/arm/xscale/i80321_irq.S |  34 ++++++++++++++--------------
 2 files changed, 40 insertions(+), 40 deletions(-)

diffs (202 lines):

diff -r 23a1a2923bce -r 70f5ac335a86 sys/arch/arm/xscale/i80200_irq.S
--- a/sys/arch/arm/xscale/i80200_irq.S  Sat Aug 17 03:03:53 2002 +0000
+++ b/sys/arch/arm/xscale/i80200_irq.S  Sat Aug 17 03:14:47 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i80200_irq.S,v 1.5 2002/08/14 23:33:12 thorpej Exp $   */
+/*     $NetBSD: i80200_irq.S,v 1.6 2002/08/17 03:14:47 thorpej Exp $   */
 
 /*
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -54,19 +54,19 @@
        .text
        .align  0
 
-Lcurrent_intr_depth: 
+.Lcurrent_intr_depth: 
        .word   _C_LABEL(current_intr_depth)
        .word   _C_LABEL(prev_intr_depth)
 
-Lintr_dispatch:
+.Lintr_dispatch:
        .word   _C_LABEL(i80200_extirq_dispatch)
 
 #if defined(PERFCTRS)
-Lpmc_dispatch:
+.Lpmc_dispatch:
        .word   _C_LABEL(xscale_pmc_dispatch)
 #endif
 
-Lastpending:
+.Lastpending:
        .word   _C_LABEL(astpending)
 
 ASENTRY_NP(irq_entry)
@@ -80,8 +80,8 @@
         * determine if we are in an IRQ.  Instead, we will
         * count each time the interrupt handler is nested.
         */
-       ldr     r0, Lcurrent_intr_depth
-       ldr     r2, Lcurrent_intr_depth+4
+       ldr     r0, .Lcurrent_intr_depth
+       ldr     r2, .Lcurrent_intr_depth+4
        ldr     r1, [r0]
        str     r1, [r2]
        add     r1, r1, #1
@@ -98,12 +98,12 @@
         * If we have one, call the routine to handle it.
         */
        tst     r4, #(INTSRC_PI)
-       beq     Lpmc_intr_return
+       beq     .Lpmc_intr_return
        mov     r1, r4
-       add     lr, pc, #Lpmc_intr_return - . - 8
+       add     lr, pc, #.Lpmc_intr_return - . - 8
        mov     r0, sp
-       ldr     pc, Lpmc_dispatch
-Lpmc_intr_return:
+       ldr     pc, .Lpmc_dispatch
+.Lpmc_intr_return:
 #endif
 
        /*
@@ -118,16 +118,16 @@
         * disabled.
         */
        tst     r4, #(INTSRC_II)
-       beq     Lextirq_return          /* no external IRQ pending */
-       ldr     r1, Lintr_dispatch
-       add     lr, pc, #Lextirq_return - . - 8
+       beq     .Lextirq_return         /* no external IRQ pending */
+       ldr     r1, .Lintr_dispatch
+       add     lr, pc, #.Lextirq_return - . - 8
        mov     r0, sp
        ldr     pc, [r1]
-Lextirq_return:
+.Lextirq_return:
 
        /* Decremement the nest count. */
-       ldr     r0, Lcurrent_intr_depth 
-       ldr     r2, Lcurrent_intr_depth+4
+       ldr     r0, .Lcurrent_intr_depth 
+       ldr     r2, .Lcurrent_intr_depth+4
        ldr     r1, [r0]
        str     r1, [r2]
        sub     r1, r1, #1
@@ -139,13 +139,13 @@
        ldr     r0, [sp]                /* Get the SPSR from stack */
        and     r0, r0, #(PSR_MODE)     /* Test for USR32 mode before the IRQ */
        teq     r0, #(PSR_USR32_MODE)
-       bne     Lirqout                 /* Nope, get out now */
+       bne     .Lirqout                /* Nope, get out now */
 
-Lastloop:
-       ldr     r0, Lastpending         /* Do we have an AST pending? */
+.Lastloop:
+       ldr     r0, .Lastpending        /* Do we have an AST pending? */
        ldr     r1, [r0]
        teq     r1, #0x00000000
-       beq     Lirqout                 /* Nope, get out now */
+       beq     .Lirqout                /* Nope, get out now */
 
        mov     r1, #0x00000000
        str     r1, [r0]                /* Clear astpending */
@@ -158,9 +158,9 @@
        bl      _C_LABEL(ast)           /* ast(frame) */
 
        msr     cpsr_c, r4              /* Disable IRQs */
-       b       Lastloop                /* Check for more ASTs */
+       b       .Lastloop               /* Check for more ASTs */
 
-Lirqout:
+.Lirqout:
        PULLFRAMEFROMSVCANDEXIT
        movs    pc, lr                  /* Exit */
 
diff -r 23a1a2923bce -r 70f5ac335a86 sys/arch/arm/xscale/i80321_irq.S
--- a/sys/arch/arm/xscale/i80321_irq.S  Sat Aug 17 03:03:53 2002 +0000
+++ b/sys/arch/arm/xscale/i80321_irq.S  Sat Aug 17 03:14:47 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i80321_irq.S,v 1.3 2002/08/14 23:33:12 thorpej Exp $   */
+/*     $NetBSD: i80321_irq.S,v 1.4 2002/08/17 03:14:47 thorpej Exp $   */
 
 /*
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -50,14 +50,14 @@
        .text
        .align  0
 
-Lcurrent_intr_depth: 
+.Lcurrent_intr_depth: 
        .word   _C_LABEL(current_intr_depth)
        .word   _C_LABEL(prev_intr_depth)
 
-Lintr_dispatch:
+.Lintr_dispatch:
        .word   _C_LABEL(i80321_intr_dispatch)
 
-Lastpending:
+.Lastpending:
        .word   _C_LABEL(astpending)
 
 ASENTRY_NP(irq_entry)
@@ -71,8 +71,8 @@
         * determine if we are in an IRQ.  Instead, we will
         * count each time the interrupt handler is nested.
         */
-       ldr     r0, Lcurrent_intr_depth
-       ldr     r2, Lcurrent_intr_depth+4
+       ldr     r0, .Lcurrent_intr_depth
+       ldr     r2, .Lcurrent_intr_depth+4
        ldr     r1, [r0]
        str     r1, [r2]
        add     r1, r1, #1
@@ -81,14 +81,14 @@
        /*
         * Call the C interrupt dispatch routine.
         */
-       add     lr, pc, #(Lirq_return - . - 8)
+       add     lr, pc, #(.Lirq_return - . - 8)
        mov     r0, sp
-       ldr     pc, Lintr_dispatch
-Lirq_return:
+       ldr     pc, .Lintr_dispatch
+.Lirq_return:
 
        /* Decremement the nest count. */
-       ldr     r0, Lcurrent_intr_depth 
-       ldr     r2, Lcurrent_intr_depth+4
+       ldr     r0, .Lcurrent_intr_depth 
+       ldr     r2, .Lcurrent_intr_depth+4
        ldr     r1, [r0]
        str     r1, [r2]
        sub     r1, r1, #1
@@ -100,13 +100,13 @@
        ldr     r0, [sp]                /* Get the SPSR from stack */
        and     r0, r0, #(PSR_MODE)     /* Test for USR32 mode before the IRQ */
        teq     r0, #(PSR_USR32_MODE)
-       bne     Lirqout                 /* Nope, get out now */
+       bne     .Lirqout                /* Nope, get out now */
 
-Lastloop:
-       ldr     r0, Lastpending         /* Do we have an AST pending? */
+.Lastloop:
+       ldr     r0, .Lastpending        /* Do we have an AST pending? */
        ldr     r1, [r0]
        teq     r1, #0x00000000
-       beq     Lirqout                 /* Nope, get out now */
+       beq     .Lirqout                /* Nope, get out now */
 
        mov     r1, #0x00000000
        str     r1, [r0]                /* Clear astpending */
@@ -119,9 +119,9 @@
        bl      _C_LABEL(ast)           /* ast(frame) */
 
        msr     cpsr_c, r4              /* Disable IRQs */
-       b       Lastloop                /* Check for more ASTs */
+       b       .Lastloop               /* Check for more ASTs */
 
-Lirqout:
+.Lirqout:
        PULLFRAMEFROMSVCANDEXIT
        movs    pc, lr                  /* Exit */
 



Home | Main Index | Thread Index | Old Index