diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-10 13:36:36 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-10 13:36:36 +0000 |
commit | a68988837633dba757a6e041754e720c20e2a1ac (patch) | |
tree | 812e53e1c990b261ec394fd7cbf4f1446ae38e0a /gcc/configure | |
parent | cbbd336d40408f2034d63036fa0bf7c5d900d84c (diff) | |
download | gcc-a68988837633dba757a6e041754e720c20e2a1ac.tar.gz |
* 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
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 6 |
1 files changed, 4 insertions, 2 deletions
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 |