From: doko Date: Mon, 13 Oct 2008 21:01:13 +0000 (+0000) Subject: 2008-10-13 Matthias Klose X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=0004970248290256b2b04d25acb3ac4634720ae3;hp=14ffb23ef73ba9c5c32eaee52b681435e0b1f5b1 2008-10-13 Matthias Klose * gcc/config/pa/linux-atomic.c: Work around missing header file for hppa64-linux-gnu targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141095 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bbf7cd5f73e..ef4ce0b27b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-10-13 Matthias Klose + + * gcc/config/pa/linux-atomic.c: Work around missing header file + for hppa64-linux-gnu targets. + 2008-10-13 Andrew Pinski Kaushal Kantawala Trevor Smigiel diff --git a/gcc/config/pa/linux-atomic.c b/gcc/config/pa/linux-atomic.c index 23f5f736c65..4f9780feaa9 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 +#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