Skip to content

Commit

Permalink
* sysdeps/generic/gmp-mparam.h: Include <bits/wordsize.h>.
Browse files Browse the repository at this point in the history
	(BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in
	terms of __WORDSIZE.
	* sysdeps/x86_64/gmp-mparam.h: File removed.
	* sysdeps/sparc/gmp-mparam.h: File removed.
	* sysdeps/mips/mips64/gmp-mparam.h: File removed.
	* sysdeps/ia64/gmp-mparam.h: File removed.
	* sysdeps/alpha/gmp-mparam.h: File removed.
  • Loading branch information
Roland McGrath committed Sep 20, 2002
1 parent 1010f17 commit 800a312
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 142 deletions.
11 changes: 11 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2002-09-20 Roland McGrath <roland@redhat.com>

* sysdeps/generic/gmp-mparam.h: Include <bits/wordsize.h>.
(BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in
terms of __WORDSIZE.
* sysdeps/x86_64/gmp-mparam.h: File removed.
* sysdeps/sparc/gmp-mparam.h: File removed.
* sysdeps/mips/mips64/gmp-mparam.h: File removed.
* sysdeps/ia64/gmp-mparam.h: File removed.
* sysdeps/alpha/gmp-mparam.h: File removed.

2002-09-20 Steven Munroe <sjmunroe@us.ibm.com>

* sysdeps/powerpc/elf/libc-start.c: Use long in place of int for argc
Expand Down
27 changes: 0 additions & 27 deletions sysdeps/alpha/gmp-mparam.h

This file was deleted.

17 changes: 9 additions & 8 deletions sysdeps/generic/gmp-mparam.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
Copyright (C) 1991, 1993, 1994 Free Software Foundation, Inc.
Copyright (C) 1991,93,94,2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
Expand All @@ -19,9 +18,11 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */

#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
#define BITS_PER_LONGINT 32
#define BITS_PER_INT 32
#define BITS_PER_SHORTINT 16
#define BITS_PER_CHAR 8
#include <bits/wordsize.h>

#define BITS_PER_MP_LIMB __WORDSIZE
#define BYTES_PER_MP_LIMB (__WORDSIZE / 8)
#define BITS_PER_LONGINT __WORDSIZE
#define BITS_PER_INT 32
#define BITS_PER_SHORTINT 16
#define BITS_PER_CHAR 8
27 changes: 0 additions & 27 deletions sysdeps/ia64/gmp-mparam.h

This file was deleted.

26 changes: 0 additions & 26 deletions sysdeps/mips/mips64/gmp-mparam.h

This file was deleted.

27 changes: 0 additions & 27 deletions sysdeps/sparc/gmp-mparam.h

This file was deleted.

27 changes: 0 additions & 27 deletions sysdeps/x86_64/gmp-mparam.h

This file was deleted.

0 comments on commit 800a312

Please sign in to comment.