about summary refs log tree commit diff
path: root/sysdeps/mips/setjmp.S
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-04-13 19:46:02 +0000
committerAndreas Jaeger <aj@suse.de>2000-04-13 19:46:02 +0000
commit1cd0f06d0f6a42708fa18a1d54e30cc5aeed7667 (patch)
tree9190e0cfd90e06a91306c280cfb6583917ef0cc6 /sysdeps/mips/setjmp.S
parent547ff46273e7460f79a51ecda370116969eba182 (diff)
downloadglibc-1cd0f06d0f6a42708fa18a1d54e30cc5aeed7667.tar.gz
glibc-1cd0f06d0f6a42708fa18a1d54e30cc5aeed7667.tar.xz
glibc-1cd0f06d0f6a42708fa18a1d54e30cc5aeed7667.zip
2000-04-13 Andreas Jaeger <aj@suse.de>
	* sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
	default.

	* sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
	with some applications.
	Patches by Ralf Baechle <ralf@uni-koblenz.de>.

	* sysdeps/mips/bsd-setjmp.S: Use __PIC__.
	* sysdeps/mips/bsd-_setjmp.S: Likewise.
	* sysdeps/mips/setjmp.S: Likewise.
Diffstat (limited to 'sysdeps/mips/setjmp.S')
-rw-r--r--sysdeps/mips/setjmp.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/mips/setjmp.S b/sysdeps/mips/setjmp.S
index 607b5f268d..804b27e897 100644
--- a/sysdeps/mips/setjmp.S
+++ b/sysdeps/mips/setjmp.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2000 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
@@ -21,11 +21,11 @@
 /* The function __sigsetjmp_aux saves all the registers, but it can't
    reliably access the stack or frame pointers, so we pass them in as
    extra arguments.  */
-#ifdef PIC
+#ifdef __PIC__
 	.option pic2
 #endif
 ENTRY (__sigsetjmp)
-#ifdef PIC
+#ifdef __PIC__
 	.set	noreorder
 	.cpload	t9
 	.set	reorder
@@ -36,7 +36,7 @@ ENTRY (__sigsetjmp)
 #else
 	move	a3, $fp
 #endif
-#ifdef PIC
+#ifdef __PIC__
 	la	t9, __sigsetjmp_aux
 	jr	t9
 #else