From: ro@138bc75d-0d04-0410-961f-82ee72b054a4 Date: Mon, 10 May 2010 13:36:36 +0000 (+0000) Subject: * configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errors X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=aeac8e98cd403751d2c400173d8bf863ba6c5bb0;hp=1667266b661abacc0476fddcbbccecebf986db91 * configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errors to /dev/null. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159220 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 31f0435fb88..7a03e151747 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2010-05-10 Rainer Orth + * configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errors + to /dev/null. + * configure: Regenerate. + +2010-05-10 Rainer Orth + * config/sol2.c (solaris_assemble_visibility): Declare decl, vis unused. Define visibility_types, name, type inside HAVE_GAS_HIDDEN. diff --git a/gcc/configure b/gcc/configure index 0f9779f2f5e..0f39e4ebfdc 100755 --- a/gcc/configure +++ b/gcc/configure @@ -24623,7 +24623,8 @@ EOF if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \ | grep "gc-sections option ignored" > /dev/null; then gcc_cv_ld_eh_gc_sections=no - elif $gcc_cv_objdump -h conftest | grep gcc_except_table > /dev/null; then + elif $gcc_cv_objdump -h conftest 2> /dev/null \ + | grep gcc_except_table > /dev/null; then gcc_cv_ld_eh_gc_sections=yes # If no COMDAT groups, the compiler will emit .gnu.linkonce.t. sections. if test x$gcc_cv_as_comdat_group != xyes; then @@ -24650,7 +24651,8 @@ EOF if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \ | grep "gc-sections option ignored" > /dev/null; then gcc_cv_ld_eh_gc_sections=no - elif $gcc_cv_objdump -h conftest | grep gcc_except_table > /dev/null; then + elif $gcc_cv_objdump -h conftest 2> /dev/null \ + | grep gcc_except_table > /dev/null; then gcc_cv_ld_eh_gc_sections=yes fi fi diff --git a/gcc/configure.ac b/gcc/configure.ac index aa0fa4c158d..5c3a1e18c4f 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3839,7 +3839,8 @@ EOF if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \ | grep "gc-sections option ignored" > /dev/null; then gcc_cv_ld_eh_gc_sections=no - elif $gcc_cv_objdump -h conftest | grep gcc_except_table > /dev/null; then + elif $gcc_cv_objdump -h conftest 2> /dev/null \ + | grep gcc_except_table > /dev/null; then gcc_cv_ld_eh_gc_sections=yes # If no COMDAT groups, the compiler will emit .gnu.linkonce.t. sections. if test x$gcc_cv_as_comdat_group != xyes; then @@ -3866,7 +3867,8 @@ EOF if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \ | grep "gc-sections option ignored" > /dev/null; then gcc_cv_ld_eh_gc_sections=no - elif $gcc_cv_objdump -h conftest | grep gcc_except_table > /dev/null; then + elif $gcc_cv_objdump -h conftest 2> /dev/null \ + | grep gcc_except_table > /dev/null; then gcc_cv_ld_eh_gc_sections=yes fi fi