Use ENTRY and END in more MIPS .S files.

This commit is contained in:
Joseph Myers 2013-02-08 02:03:10 +00:00
parent f3aae3f3eb
commit a6ee178332
15 changed files with 36 additions and 49 deletions

View File

@ -1,5 +1,20 @@
2013-02-08 Joseph Myers <joseph@codesourcery.com> 2013-02-08 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/add_n.S (__mpn_add_n): Use END.
* sysdeps/mips/bsd-_setjmp.S (_setjmp): Likewise.
* sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
* sysdeps/mips/mips64/add_n.S (__mpn_add_n): Use ENTRY and END.
* sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S (_setjmp): Use END.
* sysdeps/mips/mips64/bsd-setjmp.S (setjmp): Likewise.
* sysdeps/mips/mips64/lshift.S (__mpn_lshift): Use ENTRY and END.
* sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Likewise.
* sysdeps/mips/mips64/rshift.S (__mpn_rshift): Likewise.
* sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Use END.
* sysdeps/mips/mips64/sub_n.S (__mpn_sub_n): Use ENTRY and END.
* sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Likewise.
* sysdeps/mips/setjmp.S (__sigsetjmp): Use END.
[BZ #13550] [BZ #13550]
* sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Do not include * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Do not include
<bp-checks.h>. <bp-checks.h>.

View File

@ -118,4 +118,4 @@ L(end): addu $11,$11,$2
sw $11,0($4) sw $11,0($4)
j $31 j $31
or $2,$2,$8 or $2,$2,$8
.end __mpn_add_n END (__mpn_add_n)

View File

@ -38,5 +38,5 @@ ENTRY (_setjmp)
#else #else
j C_SYMBOL_NAME (__sigsetjmp) j C_SYMBOL_NAME (__sigsetjmp)
#endif #endif
.end _setjmp END (_setjmp)
libc_hidden_def (_setjmp) libc_hidden_def (_setjmp)

View File

@ -38,4 +38,4 @@ ENTRY (setjmp)
#else #else
j C_SYMBOL_NAME (__sigsetjmp) j C_SYMBOL_NAME (__sigsetjmp)
#endif #endif
.end setjmp END (setjmp)

View File

@ -33,11 +33,7 @@
#ifdef __PIC__ #ifdef __PIC__
.option pic2 .option pic2
#endif #endif
.text ENTRY (__mpn_add_n)
.align 2
.globl __mpn_add_n
.ent __mpn_add_n
__mpn_add_n:
#ifdef __PIC__ #ifdef __PIC__
SETUP_GP /* ??? unused */ SETUP_GP /* ??? unused */
#endif #endif
@ -126,4 +122,4 @@ L(Lend): daddu $11,$11,$2
j $31 j $31
or $2,$2,$8 or $2,$2,$8
.end __mpn_add_n END (__mpn_add_n)

View File

@ -32,11 +32,7 @@
#ifdef PIC #ifdef PIC
.option pic2 .option pic2
#endif #endif
.text ENTRY (__mpn_addmul_1)
.align 4
.globl __mpn_addmul_1
.ent __mpn_addmul_1
__mpn_addmul_1:
#ifdef PIC #ifdef PIC
SETUP_GP /* ??? unused */ SETUP_GP /* ??? unused */
#endif #endif
@ -102,4 +98,4 @@ L(LC0): ld $10,0($4)
j $31 j $31
daddu $2,$9,$2 # add high product limb and carry from addition daddu $2,$9,$2 # add high product limb and carry from addition
.end __mpn_addmul_1 END (__mpn_addmul_1)

View File

@ -43,5 +43,5 @@ ENTRY (_setjmp)
#else #else
j C_SYMBOL_NAME (__sigsetjmp) j C_SYMBOL_NAME (__sigsetjmp)
#endif #endif
.end _setjmp END (_setjmp)
libc_hidden_def (_setjmp) libc_hidden_def (_setjmp)

View File

@ -43,4 +43,4 @@ ENTRY (setjmp)
#else #else
j C_SYMBOL_NAME (__sigsetjmp) j C_SYMBOL_NAME (__sigsetjmp)
#endif #endif
.end setjmp END (setjmp)

View File

@ -32,11 +32,7 @@
#ifdef __PIC__ #ifdef __PIC__
.option pic2 .option pic2
#endif #endif
.text ENTRY (__mpn_lshift)
.align 2
.globl __mpn_lshift
.ent __mpn_lshift
__mpn_lshift:
#ifdef __PIC__ #ifdef __PIC__
SETUP_GP /* ??? unused */ SETUP_GP /* ??? unused */
#endif #endif
@ -101,4 +97,4 @@ L(Loop): ld $3,-16($5)
L(Lend): dsll $8,$10,$7 L(Lend): dsll $8,$10,$7
j $31 j $31
sd $8,-8($4) sd $8,-8($4)
.end __mpn_lshift END (__mpn_lshift)

View File

@ -33,11 +33,7 @@
#ifdef __PIC__ #ifdef __PIC__
.option pic2 .option pic2
#endif #endif
.text ENTRY (__mpn_mul_1)
.align 4
.globl __mpn_mul_1
.ent __mpn_mul_1
__mpn_mul_1:
#ifdef __PIC__ #ifdef __PIC__
SETUP_GP /* ??? unused */ SETUP_GP /* ??? unused */
#endif #endif
@ -91,4 +87,4 @@ L(LC0): mflo $10
j $31 j $31
daddu $2,$9,$2 # add high product limb and carry from addition daddu $2,$9,$2 # add high product limb and carry from addition
.end __mpn_mul_1 END (__mpn_mul_1)

View File

@ -32,11 +32,7 @@
#ifdef __PIC__ #ifdef __PIC__
.option pic2 .option pic2
#endif #endif
.text ENTRY (__mpn_rshift)
.align 2
.globl __mpn_rshift
.ent __mpn_rshift
__mpn_rshift:
#ifdef __PIC__ #ifdef __PIC__
SETUP_GP /* ??? unused */ SETUP_GP /* ??? unused */
#endif #endif
@ -98,4 +94,4 @@ L(Loop): ld $3,8($5)
L(Lend): dsrl $8,$10,$7 L(Lend): dsrl $8,$10,$7
j $31 j $31
sd $8,0($4) sd $8,0($4)
.end __mpn_rshift END (__mpn_rshift)

View File

@ -41,4 +41,4 @@ ENTRY (__sigsetjmp)
move a4, gp move a4, gp
#endif #endif
jr t9 jr t9
.end __sigsetjmp END (__sigsetjmp)

View File

@ -33,11 +33,7 @@
#ifdef __PIC__ #ifdef __PIC__
.option pic2 .option pic2
#endif #endif
.text ENTRY (__mpn_sub_n)
.align 2
.globl __mpn_sub_n
.ent __mpn_sub_n
__mpn_sub_n:
#ifdef __PIC__ #ifdef __PIC__
SETUP_GP /* ??? unused */ SETUP_GP /* ??? unused */
#endif #endif
@ -126,4 +122,4 @@ L(Lend): daddu $11,$11,$2
j $31 j $31
or $2,$2,$8 or $2,$2,$8
.end __mpn_sub_n END (__mpn_sub_n)

View File

@ -33,11 +33,7 @@
#ifdef __PIC__ #ifdef __PIC__
.option pic2 .option pic2
#endif #endif
.text ENTRY (__mpn_submul_1)
.align 4
.globl __mpn_submul_1
.ent __mpn_submul_1
__mpn_submul_1:
#ifdef __PIC__ #ifdef __PIC__
SETUP_GP /* ??? unused */ SETUP_GP /* ??? unused */
#endif #endif
@ -103,4 +99,4 @@ L(LC0): ld $10,0($4)
j $31 j $31
daddu $2,$9,$2 # add high product limb and carry from addition daddu $2,$9,$2 # add high product limb and carry from addition
.end __mpn_submul_1 END (__mpn_submul_1)

View File

@ -41,4 +41,4 @@ ENTRY (__sigsetjmp)
#else #else
j __sigsetjmp_aux j __sigsetjmp_aux
#endif #endif
.end __sigsetjmp END (__sigsetjmp)