Revision | cbf0179287a799be27e278a41f7705d4c20d9f11 (tree) |
---|---|
Time | 2015-04-03 20:03:07 |
Author | H.J. Lu <hjl.tools@gmai...> |
Commiter | H.J. Lu |
Make is_zlib_supported always return 1
* lib/binutils-common.exp (is_zlib_supported): Always return 1.
@@ -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 | + | |
1 | 5 | 2015-04-02 Nick Clifton <nickc@redhat.com> |
2 | 6 | |
3 | 7 | * binutils-all/readelf.ss-64: Move possible location of the $d |
@@ -154,27 +154,7 @@ proc is_elf64 { binary_file } { | ||
154 | 154 | |
155 | 155 | # True if the build supports zlib compression. |
156 | 156 | 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 | |
178 | 158 | } |
179 | 159 | |
180 | 160 | # Compare two files line-by-line. FILE_1 is the actual output and FILE_2 |