diff options
author | Matthias Klose <doko@ubuntu.com> | 2008-10-13 21:01:13 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2008-10-13 21:01:13 +0000 |
commit | bca60f4cf9b387e2d03b10b9ecfe637ce4a22df6 (patch) | |
tree | c816a8433e010850ab17c857670e3d36a639ce99 /gcc/config | |
parent | c921bad8770c0e3d8220131c51097b0fb953e6ef (diff) | |
download | gcc-bca60f4cf9b387e2d03b10b9ecfe637ce4a22df6.zip gcc-bca60f4cf9b387e2d03b10b9ecfe637ce4a22df6.tar.gz gcc-bca60f4cf9b387e2d03b10b9ecfe637ce4a22df6.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/pa/linux-atomic.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/pa/linux-atomic.c b/gcc/config/pa/linux-atomic.c index 23f5f73..4f9780f 100644 --- a/gcc/config/pa/linux-atomic.c +++ b/gcc/config/pa/linux-atomic.c @@ -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 02110-1301, USA. */ +/* FIXME: work around build failure for hppa64-linux-gnu target. */ +#ifndef _LP64 #include <errno.h> +#else +#define ENOSYS 251 +#define EFAULT 14 +#endif /* All PA-RISC implementations supported by linux have strongly ordered loads and stores. Only cache flushes and purges can be |