From 1cc5f32ea1bee3d7bce14d064651ea417a68e148 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 28 Feb 2013 05:40:19 -0800 Subject: remove unneeded .ent, .end asm directives --- pk/entry.S | 6 ------ pk/fp_asm.S | 6 ------ pk/pk.S | 3 --- 3 files changed, 15 deletions(-) diff --git a/pk/entry.S b/pk/entry.S index ee47b41..8686f77 100644 --- a/pk/entry.S +++ b/pk/entry.S @@ -11,7 +11,6 @@ #endif .text - .ent save_tf save_tf: # write the trap frame onto the stack # save gprs @@ -71,10 +70,8 @@ save_tf: # write the trap frame onto the stack sh x4,2+36*REGBYTES(x2) 1: ret - .end save_tf .globl pop_tf - .ent pop_tf pop_tf: # write the trap frame onto the stack # restore gprs LOAD t0,32*REGBYTES(a0) # restore sr (should disable interrupts) @@ -121,10 +118,8 @@ pop_tf: # write the trap frame onto the stack mfpcr x1,ASM_CR(PCR_K0) mfpcr x2,ASM_CR(PCR_K1) eret - .end pop_tf .global trap_entry - .ent trap_entry trap_entry: mtpcr ra,ASM_CR(PCR_K0) mtpcr x2,ASM_CR(PCR_K1) @@ -140,7 +135,6 @@ trap_entry: move sp,x2 move a0,x2 jal handle_trap - .end trap_entry .bss .global stack_bot diff --git a/pk/fp_asm.S b/pk/fp_asm.S index 0c2df13..1701db1 100644 --- a/pk/fp_asm.S +++ b/pk/fp_asm.S @@ -2,7 +2,6 @@ .text .globl get_fp_state - .ent get_fp_state get_fp_state: mffsr v0 @@ -42,10 +41,7 @@ get_fp_state: ret - .end get_fp_state - .globl put_fp_state - .ent put_fp_state put_fp_state: fld f0 , 0(a0) @@ -84,5 +80,3 @@ put_fp_state: mtfsr a1 ret - - .end put_fp_state diff --git a/pk/pk.S b/pk/pk.S index 635bc29..3261ef9 100644 --- a/pk/pk.S +++ b/pk/pk.S @@ -3,7 +3,6 @@ .section .text,"ax",@progbits .globl _start -.ent _start _start: lui sp, %hi(stack_top) @@ -34,5 +33,3 @@ _start: lui t0, %hi(boot) jalr.j t0, %lo(boot) #j boot - -.end _start -- cgit v1.1