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

« back to all changes in this revision

Viewing changes to .svn/pristine/bb/bb2e0adb35fbdbcfb24f021a22ef2af6de24607a.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
Index: b/src/gcc/configure.ac
 
4
===================================================================
 
5
--- a/src/gcc/configure.ac
 
6
+++ b/src/gcc/configure.ac
 
7
@@ -942,6 +942,7 @@ AC_HEADER_SYS_WAIT
 
8
 AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h iconv.h \
 
9
                 fcntl.h unistd.h sys/file.h sys/time.h sys/mman.h \
 
10
                 sys/resource.h sys/param.h sys/times.h sys/stat.h \
 
11
+                sys/auxv.h \
 
12
                 direct.h malloc.h langinfo.h ldfcn.h locale.h wchar.h)
 
13
 
 
14
 # Check for thread headers.
 
15
Index: b/src/gcc/config.in
 
16
===================================================================
 
17
--- a/src/gcc/config.in
 
18
+++ b/src/gcc/config.in
 
19
@@ -1452,6 +1452,12 @@
 
20
 #endif
 
21
 
 
22
 
 
23
+/* Define to 1 if you have the <sys/auxv.h> header file. */
 
24
+#ifndef USED_FOR_TARGET
 
25
+#undef HAVE_SYS_AUXV_H
 
26
+#endif
 
27
+
 
28
+
 
29
 /* Define to 1 if you have the <sys/file.h> header file. */
 
30
 #ifndef USED_FOR_TARGET
 
31
 #undef HAVE_SYS_FILE_H
 
32
Index: b/src/gcc/config/rs6000/driver-rs6000.c
 
33
===================================================================
 
34
--- a/src/gcc/config/rs6000/driver-rs6000.c
 
35
+++ b/src/gcc/config/rs6000/driver-rs6000.c
 
36
@@ -31,6 +31,10 @@ along with GCC; see the file COPYING3.
 
37
 # include <link.h>
 
38
 #endif
 
39
 
 
40
+#ifdef HAVE_SYS_AUXV_H
 
41
+# include <sys/auxv.h>
 
42
+#endif
 
43
+
 
44
 #if defined (__APPLE__) || (__FreeBSD__)
 
45
 # include <sys/types.h>
 
46
 # include <sys/sysctl.h>