• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版cbf0179287a799be27e278a41f7705d4c20d9f11 (tree)
时间2015-04-03 20:03:07
作者H.J. Lu <hjl.tools@gmai...>
CommiterH.J. Lu

Log Message

Make is_zlib_supported always return 1

* lib/binutils-common.exp (is_zlib_supported): Always return 1.

更改概述

差异

--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,7 @@
1+2015-04-03 H.J. Lu <hongjiu.lu@intel.com>
2+
3+ * lib/binutils-common.exp (is_zlib_supported): Always return 1.
4+
15 2015-04-02 Nick Clifton <nickc@redhat.com>
26
37 * binutils-all/readelf.ss-64: Move possible location of the $d
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -154,27 +154,7 @@ proc is_elf64 { binary_file } {
154154
155155 # True if the build supports zlib compression.
156156 proc is_zlib_supported {} {
157-
158- # This replicates the AS selection logic of dejagnu's target_assemble.
159- global AS_FOR_TARGET
160- if [info exists AS_FOR_TARGET] {
161- set AS $AS_FOR_TARGET
162- } else {
163- if {![board_info target exists assembler]} {
164- set AS [find_gas]
165- } else {
166- set AS [board_info target assembler]
167- }
168- }
169-
170- set as_output [remote_exec host "$AS --help"]
171-
172- set have_zlib 0
173- if {[string first "--compress-debug-sections" $as_output] >= 0} {
174- set have_zlib 1
175- }
176-
177- return $have_zlib
157+ return 1
178158 }
179159
180160 # Compare two files line-by-line. FILE_1 is the actual output and FILE_2