Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2015 10:51:06 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283812 - head/sys/arm/include
Message-ID:  <201505311051.t4VAp6Kc060744@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Sun May 31 10:51:06 2015
New Revision: 283812
URL: https://svnweb.freebsd.org/changeset/base/283812

Log:
  We only support the ARM EABI in head, remove the check on __ARM_EABI__.

Modified:
  head/sys/arm/include/_types.h
  head/sys/arm/include/asm.h
  head/sys/arm/include/proc.h

Modified: head/sys/arm/include/_types.h
==============================================================================
--- head/sys/arm/include/_types.h	Sun May 31 10:18:10 2015	(r283811)
+++ head/sys/arm/include/_types.h	Sun May 31 10:51:06 2015	(r283812)
@@ -105,15 +105,9 @@ typedef	__uint32_t	__vm_paddr_t;
 typedef	__uint64_t	__vm_pindex_t;
 typedef	__uint32_t	__vm_size_t;
 
-#ifdef __ARM_EABI__
 typedef	unsigned int	___wchar_t;
 #define	__WCHAR_MIN	0		/* min value for a wchar_t */
 #define	__WCHAR_MAX	__UINT_MAX	/* max value for a wchar_t */
-#else
-typedef	int		___wchar_t;
-#define	__WCHAR_MIN	__INT_MIN	/* min value for a wchar_t */
-#define	__WCHAR_MAX	__INT_MAX	/* max value for a wchar_t */
-#endif
 
 /*
  * Unusual type definitions.

Modified: head/sys/arm/include/asm.h
==============================================================================
--- head/sys/arm/include/asm.h	Sun May 31 10:18:10 2015	(r283811)
+++ head/sys/arm/include/asm.h	Sun May 31 10:51:06 2015	(r283812)
@@ -49,7 +49,7 @@
 # define _ALIGN_TEXT .align 2
 #endif
 
-#if defined(__ARM_EABI__) && !defined(_STANDALONE)
+#ifndef _STANDALONE
 #define	STOP_UNWINDING	.cantunwind
 #define	_FNSTART	.fnstart
 #define	_FNEND		.fnend

Modified: head/sys/arm/include/proc.h
==============================================================================
--- head/sys/arm/include/proc.h	Sun May 31 10:18:10 2015	(r283811)
+++ head/sys/arm/include/proc.h	Sun May 31 10:51:06 2015	(r283812)
@@ -61,11 +61,7 @@ struct mdproc {
 	void	*md_sigtramp;
 };
 
-#ifdef __ARM_EABI__
 #define	KINFO_PROC_SIZE 816
-#else
-#define	KINFO_PROC_SIZE 792
-#endif
 
 #define MAXARGS	8
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505311051.t4VAp6Kc060744>