From: bje Date: Mon, 4 May 2009 21:34:41 +0000 (+0000) Subject: * config/pa/linux-atomic.c: Eliminate conditional include of X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=5f80759ec58903b4e1d9fedbf9227137da81505e;p=pf3gnuchains%2Fgcc-fork.git * config/pa/linux-atomic.c: Eliminate conditional include of errno.h on non-LP64 systems to simplify build requirements. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147109 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 98c8052cfa3..48578eb19cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-05-05 Ben Elliston + + * config/pa/linux-atomic.c: Eliminate conditional include of + errno.h on non-LP64 systems to simplify build requirements. + 2009-05-04 Joseph Myers * c-common.c (handle_mode_attribute): Use %qE for identifiers in diff --git a/gcc/config/pa/linux-atomic.c b/gcc/config/pa/linux-atomic.c index 00fdf526556..38e87297752 100644 --- a/gcc/config/pa/linux-atomic.c +++ b/gcc/config/pa/linux-atomic.c @@ -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 . */ -/* FIXME: work around build failure for hppa64-linux-gnu target. */ -#ifndef _LP64 -#include -#else #define EFAULT 14 #define EBUSY 16 #define ENOSYS 251 -#endif /* All PA-RISC implementations supported by linux have strongly ordered loads and stores. Only cache flushes and purges can be