about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-15 20:53:53 +0000
committerRoland McGrath <roland@gnu.org>2002-06-15 20:53:53 +0000
commitf5eaa9d5a78e574f4f7dcbea5f54c86b4a2b1be2 (patch)
tree3bc3bf45b62b9fbe03ca3d250c4ef658302ccdde
parent6fb26a2f7311bdfeda931833c1b9957dac43ec81 (diff)
downloadglibc-f5eaa9d5a78e574f4f7dcbea5f54c86b4a2b1be2.tar.gz
glibc-f5eaa9d5a78e574f4f7dcbea5f54c86b4a2b1be2.tar.xz
glibc-f5eaa9d5a78e574f4f7dcbea5f54c86b4a2b1be2.zip
* sysdeps/alpha/divrem.h: Use local label instead of global one for
	jump to local subroutine.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/alpha/divrem.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b52718df6..f022b32765 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-15  Roland McGrath  <roland@frob.com>
+
+	* sysdeps/alpha/divrem.h: Use local label instead of global one for
+	jump to local subroutine.
+
 2002-06-14  Roland McGrath  <roland@frob.com>
 
 	* sysdeps/mach/hurd/i386/Makeconfig: File moved to ...
diff --git a/sysdeps/alpha/divrem.h b/sysdeps/alpha/divrem.h
index 9e0d591111..032308de32 100644
--- a/sysdeps/alpha/divrem.h
+++ b/sysdeps/alpha/divrem.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996,97,2002 Free Software Foundation, Inc.
    Contributed by David Mosberger (davidm@cs.arizona.edu).
    This file is part of the GNU C Library.
 
@@ -86,6 +86,7 @@
 
 	.align 3
 UFUNC_NAME:
+$udiv_entry:
 	lda	sp, -STACK(sp)
 	.frame	sp, STACK, retaddr, 0
 #ifdef PROF
@@ -206,7 +207,7 @@ SFUNC_NAME:
 	cmovge	AT, AT, arg2
 
 	/* Do the unsigned division.  */
-	bsr	retaddr, UFUNC_NAME
+	bsr	retaddr, $udiv_entry
 
 	/* Restore originals and adjust the sign of the result.  */
 	ldq	arg1, 0(sp)