~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/fd/fda5d1d13fcdaf15849711b73c9d06fd798d08a1.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: Check for the sys/auxv.h header file.
 
2
 
 
3
--- a/src/gcc/configure.ac
 
4
+++ b/src/gcc/configure.ac
 
5
@@ -944,6 +944,7 @@
 
6
 AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h iconv.h \
 
7
                 fcntl.h unistd.h sys/file.h sys/time.h sys/mman.h \
 
8
                 sys/resource.h sys/param.h sys/times.h sys/stat.h \
 
9
+                sys/auxv.h \
 
10
                 direct.h malloc.h langinfo.h ldfcn.h locale.h wchar.h)
 
11
 
 
12
 # Check for thread headers.
 
13
--- a/src/gcc/config.in
 
14
+++ b/src/gcc/config.in
 
15
@@ -1446,6 +1440,12 @@
 
16
 #endif
 
17
 
 
18
 
 
19
+/* Define to 1 if you have the <sys/auxv.h> header file. */
 
20
+#ifndef USED_FOR_TARGET
 
21
+#undef HAVE_SYS_AUXV_H
 
22
+#endif
 
23
+
 
24
+
 
25
 /* Define to 1 if you have the <sys/file.h> header file. */
 
26
 #ifndef USED_FOR_TARGET
 
27
 #undef HAVE_SYS_FILE_H
 
28
--- a/src/gcc/config/rs6000/driver-rs6000.c
 
29
+++ b/src/gcc/config/rs6000/driver-rs6000.c
 
30
@@ -31,6 +31,10 @@
 
31
 # include <link.h>
 
32
 #endif
 
33
 
 
34
+#ifdef HAVE_SYS_AUXV_H
 
35
+# include <sys/auxv.h>
 
36
+#endif
 
37
+
 
38
 #if defined (__APPLE__) || (__FreeBSD__)
 
39
 # include <sys/types.h>
 
40
 # include <sys/sysctl.h>