Commit 269d9175 by Doug Evans

sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE.

	* sparc/sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE.
	(SIZE_TYPE): Likewise.

From-SVN: r7602
parent 857458c4
...@@ -84,16 +84,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -84,16 +84,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* ??? It might be possible to eventually get svr4.h to do the right thing. */ /* ??? It might be possible to eventually get svr4.h to do the right thing. */
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE \ #define PTRDIFF_TYPE "long long int"
(POINTER_SIZE == 64 ? "long long int" \
: POINTER_SIZE == 32 && LONG_TYPE_SIZE == 32 ? "long int" \
: 0 /*abort*/)
#undef SIZE_TYPE #undef SIZE_TYPE
#define SIZE_TYPE \ #define SIZE_TYPE "long long unsigned int"
(POINTER_SIZE == 64 ? "long long unsigned int" \
: POINTER_SIZE == 32 && LONG_TYPE_SIZE == 32 ? "long unsigned int" \
: 0 /*abort*/)
/* ??? This should be 32 bits for v9 but what can we do? */ /* ??? This should be 32 bits for v9 but what can we do? */
#undef WCHAR_TYPE #undef WCHAR_TYPE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment