Commit 33fc884c by Ben Elliston Committed by Ben Elliston

linux-atomic.c: Eliminate conditional include of errno.h on non-LP64 systems to simplify build...

	* config/pa/linux-atomic.c: Eliminate conditional include of
	errno.h on non-LP64 systems to simplify build requirements.

From-SVN: r147109
parent 88388a52
2009-05-05 Ben Elliston <bje@au.ibm.com>
* config/pa/linux-atomic.c: Eliminate conditional include of
errno.h on non-LP64 systems to simplify build requirements.
2009-05-04 Joseph Myers <joseph@codesourcery.com> 2009-05-04 Joseph Myers <joseph@codesourcery.com>
* c-common.c (handle_mode_attribute): Use %qE for identifiers in * c-common.c (handle_mode_attribute): Use %qE for identifiers in
......
...@@ -24,14 +24,9 @@ a copy of the GCC Runtime Library Exception along with this program; ...@@ -24,14 +24,9 @@ a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
/* FIXME: work around build failure for hppa64-linux-gnu target. */
#ifndef _LP64
#include <errno.h>
#else
#define EFAULT 14 #define EFAULT 14
#define EBUSY 16 #define EBUSY 16
#define ENOSYS 251 #define ENOSYS 251
#endif
/* All PA-RISC implementations supported by linux have strongly /* All PA-RISC implementations supported by linux have strongly
ordered loads and stores. Only cache flushes and purges can be ordered loads and stores. Only cache flushes and purges can be
......
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