components/gcc3/patches/gcc.configure.patch
author Petr Nyc <Petr.Nyc@Oracle.COM>
Thu, 11 Jun 2015 06:36:56 -0700
branchs11u2-sru
changeset 4466 a276a7815539
parent 2825 cb999e84659c
child 5628 f2a8a7ecf3e1
permissions -rw-r--r--
Added tag 0.175.2.12.0.2.0, S11.2SRU12.2 for changeset 48cb092e9916
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2825
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
     1
--- gcc-3.4.3/gcc/configure.~1~	2004-11-08 17:49:32.000000000 -0800
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
     2
+++ gcc-3.4.3/gcc/configure	2013-09-18 14:15:43.180189095 -0700
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
     3
@@ -5232,7 +5232,7 @@
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
     4
   echo "configure:5232: version of makeinfo is $ac_prog_version" >&5
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
     5
   case $ac_prog_version in
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
     6
     '')     gcc_cv_prog_makeinfo_modern=no;;
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
     7
-    4.[2-9]*)
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
     8
+    4.[2-9]* | 4.1?)
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
     9
             gcc_cv_prog_makeinfo_modern=yes;;
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    10
     *)      gcc_cv_prog_makeinfo_modern=no;;
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    11
   esac
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    12
@@ -10539,9 +10539,10 @@
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    13
   # arbitrary sections are supported and try the test.
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    14
   as_ver=`$gcc_cv_as --version 2>/dev/null | sed 1q`
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    15
   if echo "$as_ver" | grep GNU > /dev/null; then
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    16
-    as_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'`
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    17
-    as_major=`echo $as_ver | sed 's/\..*//'`
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    18
-    as_minor=`echo $as_ver | sed 's/[^.]*\.\([0-9]*\).*/\1/'`
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    19
+    as_vers=`echo $as_ver | sed -n \
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    20
+	-e 's,^.*[	 ]\([0-9][0-9]*\.[0-9][0-9]*.*\)$,\1,p'`
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    21
+    as_major=`expr "$as_vers" : '\([0-9]*\)'`
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    22
+    as_minor=`expr "$as_vers" : '[0-9]*\.\([0-9]*\)'`
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    23
     if test $as_major -eq 2 && test $as_minor -lt 11
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    24
     then :
cb999e84659c 17629924 texinfo 4.13 - make 64bits build, enable ASLR, and remove SFW links
Bick Torrejon <bick.torrejon@oracle.com>
parents: 246
diff changeset
    25
     else gcc_cv_as_leb128=yes