public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* [alpha] Re-fix imaxdiv
@ 2012-05-24 20:48 Richard Henderson
  2012-05-24 20:54 ` Joseph S. Myers
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2012-05-24 20:48 UTC (permalink / raw)
  To: libc-ports

[-- Attachment #1: Type: text/plain, Size: 111 bytes --]

Originally fixed in 2001, broken in 2004.  Clearly I should have added
the abilist files a long time ago.


r~

[-- Attachment #2: z1 --]
[-- Type: text/plain, Size: 907 bytes --]

diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index b351141..3e225c7 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,7 @@
 2012-05-24  Richard Henderson  <rth@twiddle.net>
 
+	* sysdeps/alpha/ldiv.S (imaxdiv): Re-add alias.
+
 	* sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove __ASSUME_32BITUIDS.
 	* sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
 	* sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
diff --git a/sysdeps/alpha/ldiv.S b/sysdeps/alpha/ldiv.S
index d77e59b..bf31b81 100644
--- a/sysdeps/alpha/ldiv.S
+++ b/sysdeps/alpha/ldiv.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2001, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson <rth@tamu.edu>.
 
@@ -215,3 +215,4 @@ $divbyzero:
 	.end	ldiv
 
 weak_alias (ldiv, lldiv)
+weak_alias (ldiv, imaxdiv)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [alpha] Re-fix imaxdiv
  2012-05-24 20:48 [alpha] Re-fix imaxdiv Richard Henderson
@ 2012-05-24 20:54 ` Joseph S. Myers
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph S. Myers @ 2012-05-24 20:54 UTC (permalink / raw)
  To: Richard Henderson; +Cc: libc-ports

On Thu, 24 May 2012, Richard Henderson wrote:

> Originally fixed in 2001, broken in 2004.  Clearly I should have added
> the abilist files a long time ago.

Clearly we need testcases in libc for ldiv, lldiv and imaxdiv as well (we 
only seem to have testdiv.c, testing (to a limited extent) div but none of 
the others), as tests trying to use the function would presumably have 
detected this as well ... interested in adding some?

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-24 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-24 20:48 [alpha] Re-fix imaxdiv Richard Henderson
2012-05-24 20:54 ` Joseph S. Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).