From: Sriraman Tallam Date: Mon, 21 Mar 2011 20:55:33 +0000 (+0000) Subject: * testsuite/icf_safe_so_test.sh: Add #!/bin/sh to start. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e12ba9e7aa2d23257135c1f6798991909f8a4ed;p=binutils-gdb.git * testsuite/icf_safe_so_test.sh: Add #!/bin/sh to start. Change == to -eq. * testsuite/icf_string_merge_test.sh: Add #!/bin/sh to start. * testsuite/icf_safe_test.sh: Add #!/bin/sh to start. Change == to -eq. * testsuite/icf_sht_rel_addend_test.sh: Add #!/bin/sh to start. * testsuite/icf_preemptible_functions_test.sh: Add #!/bin/sh to start. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index ed3dc6c3416..dacc36a6299 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,13 @@ +2011-03-21 Sriraman Tallam + + * testsuite/icf_safe_so_test.sh: Add #!/bin/sh to start. + Change == to -eq. + * testsuite/icf_string_merge_test.sh: Add #!/bin/sh to start. + * testsuite/icf_safe_test.sh: Add #!/bin/sh to start. + Change == to -eq. + * testsuite/icf_sht_rel_addend_test.sh: Add #!/bin/sh to start. + * testsuite/icf_preemptible_functions_test.sh: Add #!/bin/sh to start. + 2011-03-14 Ian Lance Taylor * script-sections.cc (Sort_output_sections::script_compare): diff --git a/gold/testsuite/icf_preemptible_functions_test.sh b/gold/testsuite/icf_preemptible_functions_test.sh index 27cf459887d..dd90d7fd7b1 100755 --- a/gold/testsuite/icf_preemptible_functions_test.sh +++ b/gold/testsuite/icf_preemptible_functions_test.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_preemptible_functions_test.sh -- test --icf=all # Copyright 2010 Free Software Foundation, Inc. diff --git a/gold/testsuite/icf_safe_so_test.sh b/gold/testsuite/icf_safe_so_test.sh index 315a016953c..2c882509172 100755 --- a/gold/testsuite/icf_safe_so_test.sh +++ b/gold/testsuite/icf_safe_so_test.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_safe_so_test.sh -- test --icf=safe # Copyright 2010 Free Software Foundation, Inc. @@ -76,7 +78,7 @@ check_fold() arch_specific_safe_fold() { - if [ $1 == 0 ]; + if [ $1 -eq 0 ]; then check_fold $2 $3 $4 else diff --git a/gold/testsuite/icf_safe_test.sh b/gold/testsuite/icf_safe_test.sh index d26d40bb91d..74a7fb9d149 100755 --- a/gold/testsuite/icf_safe_test.sh +++ b/gold/testsuite/icf_safe_test.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_safe_test.sh -- test --icf=safe # Copyright 2009 Free Software Foundation, Inc. @@ -50,7 +52,7 @@ check_fold() arch_specific_safe_fold() { grep_x86=`grep -q -e "Advanced Micro Devices X86-64" -e "Intel 80386" -e "ARM" $2` - if [ $? == 0 ]; + if [ $? -eq 0 ]; then check_fold $1 $3 $4 else diff --git a/gold/testsuite/icf_sht_rel_addend_test.sh b/gold/testsuite/icf_sht_rel_addend_test.sh index d2a05e46579..9077e25ecf7 100755 --- a/gold/testsuite/icf_sht_rel_addend_test.sh +++ b/gold/testsuite/icf_sht_rel_addend_test.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_sht_rel_addend_test.sh -- test --icf=all # Copyright 2010 Free Software Foundation, Inc. diff --git a/gold/testsuite/icf_string_merge_test.sh b/gold/testsuite/icf_string_merge_test.sh index f22f2121a85..e8d70de2788 100755 --- a/gold/testsuite/icf_string_merge_test.sh +++ b/gold/testsuite/icf_string_merge_test.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_string_merge_test.sh -- test --icf=all # Copyright 2010 Free Software Foundation, Inc.