Commit bca60f4c by Matthias Klose Committed by Matthias Klose

linux-atomic.c: Work around missing header file for hppa64-linux-gnu targets.

2008-10-13  Matthias Klose  <doko@ubuntu.com>

	* gcc/config/pa/linux-atomic.c: Work around missing header file
	for hppa64-linux-gnu targets.

From-SVN: r141095
parent c921bad8
2008-10-13 Matthias Klose <doko@ubuntu.com>
* gcc/config/pa/linux-atomic.c: Work around missing header file
for hppa64-linux-gnu targets.
2008-10-13 Andrew Pinski <andrew_pinski@playstation.sony.com> 2008-10-13 Andrew Pinski <andrew_pinski@playstation.sony.com>
Kaushal Kantawala <Kaushal_Kantawala@playstation.sony.com> Kaushal Kantawala <Kaushal_Kantawala@playstation.sony.com>
Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
......
...@@ -29,7 +29,13 @@ along with GCC; see the file COPYING. If not, write to the Free ...@@ -29,7 +29,13 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA. */ 02110-1301, USA. */
/* FIXME: work around build failure for hppa64-linux-gnu target. */
#ifndef _LP64
#include <errno.h> #include <errno.h>
#else
#define ENOSYS 251
#define EFAULT 14
#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