Commit 2e2b183b by Rainer Orth Committed by Rainer Orth

configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errors to /dev/null.

	* configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errors
	to /dev/null.
	* configure: Regenerate.

From-SVN: r159220
parent a93e1899
2010-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2010-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errors
to /dev/null.
* configure: Regenerate.
2010-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sol2.c (solaris_assemble_visibility): Declare decl, vis * config/sol2.c (solaris_assemble_visibility): Declare decl, vis
unused. unused.
Define visibility_types, name, type inside HAVE_GAS_HIDDEN. Define visibility_types, name, type inside HAVE_GAS_HIDDEN.
......
...@@ -24623,7 +24623,8 @@ EOF ...@@ -24623,7 +24623,8 @@ EOF
if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \ if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \
| grep "gc-sections option ignored" > /dev/null; then | grep "gc-sections option ignored" > /dev/null; then
gcc_cv_ld_eh_gc_sections=no 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 gcc_cv_ld_eh_gc_sections=yes
# If no COMDAT groups, the compiler will emit .gnu.linkonce.t. sections. # If no COMDAT groups, the compiler will emit .gnu.linkonce.t. sections.
if test x$gcc_cv_as_comdat_group != xyes; then if test x$gcc_cv_as_comdat_group != xyes; then
...@@ -24650,7 +24651,8 @@ EOF ...@@ -24650,7 +24651,8 @@ EOF
if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \ if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \
| grep "gc-sections option ignored" > /dev/null; then | grep "gc-sections option ignored" > /dev/null; then
gcc_cv_ld_eh_gc_sections=no 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 gcc_cv_ld_eh_gc_sections=yes
fi fi
fi fi
......
...@@ -3839,7 +3839,8 @@ EOF ...@@ -3839,7 +3839,8 @@ EOF
if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \ if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \
| grep "gc-sections option ignored" > /dev/null; then | grep "gc-sections option ignored" > /dev/null; then
gcc_cv_ld_eh_gc_sections=no 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 gcc_cv_ld_eh_gc_sections=yes
# If no COMDAT groups, the compiler will emit .gnu.linkonce.t. sections. # If no COMDAT groups, the compiler will emit .gnu.linkonce.t. sections.
if test x$gcc_cv_as_comdat_group != xyes; then if test x$gcc_cv_as_comdat_group != xyes; then
...@@ -3866,7 +3867,8 @@ EOF ...@@ -3866,7 +3867,8 @@ EOF
if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \ if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \
| grep "gc-sections option ignored" > /dev/null; then | grep "gc-sections option ignored" > /dev/null; then
gcc_cv_ld_eh_gc_sections=no 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 gcc_cv_ld_eh_gc_sections=yes
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment