about summary refs log tree commit diff
path: root/sysdeps/powerpc/gprsave1.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-23 22:34:22 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-23 22:34:22 +0000
commitef5166a66965fbbe024746d7a5fcefe424f4d8b7 (patch)
treeba0d607eea415adc73966ad77bc6886c6dffe339 /sysdeps/powerpc/gprsave1.S
parentd436a9f71094ec7fc8e946058af20a1c167df791 (diff)
downloadglibc-ef5166a66965fbbe024746d7a5fcefe424f4d8b7.tar.gz
glibc-ef5166a66965fbbe024746d7a5fcefe424f4d8b7.tar.xz
glibc-ef5166a66965fbbe024746d7a5fcefe424f4d8b7.zip
Update.
2001-02-23  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/strtok.S: Continue to return NULL after the first
	time this happened.
Diffstat (limited to 'sysdeps/powerpc/gprsave1.S')
-rw-r--r--sysdeps/powerpc/gprsave1.S84
1 files changed, 44 insertions, 40 deletions
diff --git a/sysdeps/powerpc/gprsave1.S b/sysdeps/powerpc/gprsave1.S
index 85d6bdc7e0..5193119036 100644
--- a/sysdeps/powerpc/gprsave1.S
+++ b/sysdeps/powerpc/gprsave1.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -16,44 +16,48 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+/*
+    General Purpose Register (GPR) save routine
+    when Floating Point Registers (FPRs) are saved
+*/
+
 #include <sysdep.h>
 
-		ASM_GLOBAL_DIRECTIVE _savegpr1_13
-_savegpr1_13:	stw	r13,-76(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_14
-_savegpr1_14:	stw	r14,-72(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_15
-_savegpr1_15:	stw	r15,-68(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_16
-_savegpr1_16:	stw	r16,-64(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_17
-_savegpr1_17:	stw	r17,-60(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_18
-_savegpr1_18:	stw	r18,-56(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_19
-_savegpr1_19:	stw	r19,-52(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_20
-_savegpr1_20:	stw	r20,-48(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_21
-_savegpr1_21:	stw	r21,-44(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_22
-_savegpr1_22:	stw	r22,-40(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_23
-_savegpr1_23:	stw	r23,-36(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_24
-_savegpr1_24:	stw	r24,-32(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_25
-_savegpr1_25:	stw	r25,-28(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_26
-_savegpr1_26:	stw	r26,-24(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_27
-_savegpr1_27:	stw	r27,-20(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_28
-_savegpr1_28:	stw	r28,-16(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_29
-_savegpr1_29:	stw	r29,-12(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_30
-_savegpr1_30:	stw	r30,-8(r12)
-		ASM_GLOBAL_DIRECTIVE _savegpr1_31
-_savegpr1_31:	stw	r31,-4(r12)
-		blr
+ENTRY(_savegpr1_all)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_13)
+C_TEXT(_savegpr1_13):	stw	r13,-76(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_14)
+C_TEXT(_savegpr1_14):	stw	r14,-72(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_15)
+C_TEXT(_savegpr1_15):	stw	r15,-68(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_16)
+C_TEXT(_savegpr1_16):	stw	r16,-64(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_17)
+C_TEXT(_savegpr1_17):	stw	r17,-60(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_18)
+C_TEXT(_savegpr1_18):	stw	r18,-56(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_19)
+C_TEXT(_savegpr1_19):	stw	r19,-52(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_20)
+C_TEXT(_savegpr1_20):	stw	r20,-48(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_21)
+C_TEXT(_savegpr1_21):	stw	r21,-44(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_22)
+C_TEXT(_savegpr1_22):	stw	r22,-40(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_23)
+C_TEXT(_savegpr1_23):	stw	r23,-36(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_24)
+C_TEXT(_savegpr1_24):	stw	r24,-32(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_25)
+C_TEXT(_savegpr1_25):	stw	r25,-28(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_26)
+C_TEXT(_savegpr1_26):	stw	r26,-24(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_27)
+C_TEXT(_savegpr1_27):	stw	r27,-20(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_28)
+C_TEXT(_savegpr1_28):	stw	r28,-16(r12)
+		ASM_GLOBAL_DIRECTIVE C_TEXT(_savegpr1_29)
+C_TEXT(_savegpr1_29):	stw	r29,-12(r12)	#save r29
+			stw	r30,-8(r12)	#save r30
+			stw	r31,-4(r12)	#save r31
+			blr			#return