diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2005-01-09 00:14:06 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2005-01-08 23:14:06 +0000 |
commit | 080a5bb01c61de2a5ebb1a572c7dd68ec0891504 (patch) | |
tree | 812f6171e722974938792ba69eea25cd50e4a3da /gcc | |
parent | 27dfc9c46db75a73ed617d47608c55c1f9f47c17 (diff) | |
download | gcc-080a5bb01c61de2a5ebb1a572c7dd68ec0891504.zip gcc-080a5bb01c61de2a5ebb1a572c7dd68ec0891504.tar.gz gcc-080a5bb01c61de2a5ebb1a572c7dd68ec0891504.tar.bz2 |
configure.ac (DWARF-2 debug_line): Use objdump.
* configure.ac (DWARF-2 debug_line): Use objdump.
* configure: Regenerate.
From-SVN: r93094
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rwxr-xr-x | gcc/configure | 5 | ||||
-rw-r--r-- | gcc/configure.ac | 5 |
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5dad8b..243d0eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-01-08 Eric Botcazou <ebotcazou@libertysurf.fr> + + * configure.ac (DWARF-2 debug_line): Use objdump. + * configure: Regenerate. + 2005-01-08 Jeff Law <law@redhat.com> Diego Novillo <dnovillo@redhat.com> diff --git a/gcc/configure b/gcc/configure index 7a0077b..220fcaf 100755 --- a/gcc/configure +++ b/gcc/configure @@ -14683,8 +14683,9 @@ fi echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } then - # ??? This fails with non-gnu grep. Maybe use objdump? - if grep debug_line conftest.o > /dev/null 2>&1; then + if test x$gcc_cv_objdump != x \ + && $gcc_cv_objdump -h conftest.o 2> /dev/null \ + | grep debug_line > /dev/null 2>&1; then gcc_cv_as_dwarf2_debug_line=yes fi else diff --git a/gcc/configure.ac b/gcc/configure.ac index 4576f15..59524c2 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2794,8 +2794,9 @@ if test x"$insn" != x; then gcc_GAS_CHECK_FEATURE([dwarf2 debug_line support], gcc_cv_as_dwarf2_debug_line, [elf,2,11,0],, [$conftest_s], - [# ??? This fails with non-gnu grep. Maybe use objdump? - if grep debug_line conftest.o > /dev/null 2>&1; then + [if test x$gcc_cv_objdump != x \ + && $gcc_cv_objdump -h conftest.o 2> /dev/null \ + | grep debug_line > /dev/null 2>&1; then gcc_cv_as_dwarf2_debug_line=yes fi]) |