diff options
author | Ben Elliston <bje@au.ibm.com> | 2009-05-04 21:34:41 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2009-05-05 07:34:41 +1000 |
commit | 33fc884c9642c713106a12011344d91a14dde210 (patch) | |
tree | c21648cdb82d40a9c8116447fafaeddbf73d208f /gcc | |
parent | 88388a52299144bba77776ebc27e343995aa4f3c (diff) | |
download | gcc-33fc884c9642c713106a12011344d91a14dde210.zip gcc-33fc884c9642c713106a12011344d91a14dde210.tar.gz gcc-33fc884c9642c713106a12011344d91a14dde210.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/pa/linux-atomic.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 98c8052..48578eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> * 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 00fdf52..38e8729 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 <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 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 |