OSDN Git Service

PR target/40332
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Feb 2010 03:50:13 +0000 (03:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Feb 2010 03:50:13 +0000 (03:50 +0000)
* configure.ac (gcc_cv_as_cfi_advance_working): Check 32-bit advance.
* configure: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156918 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 93969c1..5c44f16 100644 (file)
@@ -1,3 +1,9 @@
+2010-02-19  Jason Merrill  <jason@redhat.com>
+
+       PR target/40332
+       * configure.ac (gcc_cv_as_cfi_advance_working): Check 32-bit advance.
+       * configure: Likewise.
+
 2010-02-20  Alan Modra  <amodra@gmail.com>
 
        PR middle-end/42344
 2010-02-20  Alan Modra  <amodra@gmail.com>
 
        PR middle-end/42344
index 92ee2e9..a0e15ad 100755 (executable)
@@ -21421,7 +21421,7 @@ else
     echo '     .text
        .cfi_startproc
        .cfi_adjust_cfa_offset 64
     echo '     .text
        .cfi_startproc
        .cfi_adjust_cfa_offset 64
-       .skip 512, 0
+       .skip 75031, 0
        .cfi_adjust_cfa_offset 128
        .cfi_endproc' > conftest.s
     if { ac_try='$gcc_cv_as $gcc_cv_as_flags  -o conftest.o conftest.s >&5'
        .cfi_adjust_cfa_offset 128
        .cfi_endproc' > conftest.s
     if { ac_try='$gcc_cv_as $gcc_cv_as_flags  -o conftest.o conftest.s >&5'
@@ -21433,7 +21433,7 @@ else
     then
 
 if $gcc_cv_readelf -wf conftest.o 2>/dev/null \
     then
 
 if $gcc_cv_readelf -wf conftest.o 2>/dev/null \
-    | grep 'DW_CFA_advance_loc[12]:[   ][      ]*512[  ]' >/dev/null; then
+    | grep 'DW_CFA_advance_loc[124]:[  ][      ]*75031[        ]' >/dev/null; then
    gcc_cv_as_cfi_advance_working=yes
 fi
 
    gcc_cv_as_cfi_advance_working=yes
 fi
 
index fee13b3..cd44af8 100644 (file)
@@ -2292,12 +2292,12 @@ gcc_GAS_CHECK_FEATURE([working cfi advance], gcc_cv_as_cfi_advance_working,
 [      .text
        .cfi_startproc
        .cfi_adjust_cfa_offset 64
 [      .text
        .cfi_startproc
        .cfi_adjust_cfa_offset 64
-       .skip 512, 0
+       .skip 75031, 0
        .cfi_adjust_cfa_offset 128
        .cfi_endproc],
 [[
 if $gcc_cv_readelf -wf conftest.o 2>/dev/null \
        .cfi_adjust_cfa_offset 128
        .cfi_endproc],
 [[
 if $gcc_cv_readelf -wf conftest.o 2>/dev/null \
-    | grep 'DW_CFA_advance_loc[12]:[   ][      ]*512[  ]' >/dev/null; then
+    | grep 'DW_CFA_advance_loc[124]:[  ][      ]*75031[        ]' >/dev/null; then
    gcc_cv_as_cfi_advance_working=yes
 fi
 ]])
    gcc_cv_as_cfi_advance_working=yes
 fi
 ]])