configure.ac (DWARF-2 debug_line): Use objdump.

* configure.ac (DWARF-2 debug_line): Use objdump.
	* configure: Regenerate.

From-SVN: r93094
This commit is contained in:
Eric Botcazou 2005-01-09 00:14:06 +01:00 committed by Eric Botcazou
parent 27dfc9c46d
commit 080a5bb01c
3 changed files with 11 additions and 4 deletions

View File

@ -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>

5
gcc/configure vendored
View File

@ -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

View File

@ -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])