2016-01-13 Nick Clifton <nickc@redhat.com>
+ * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
+ fail for MIPS targets.
+
* testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
MIPS targets.
# but absolute symbol types are expected.
regsub -all " \[TD\] " $syms_massaged " A " syms_massaged
}
+ ^mips-*-* {
+ # This test cannot proceed any further for MIPS targets.
+ # The extract_syms operation produces a binary with a zero
+ # length .reginfo section, which is illegal under the MIPS
+ # ABI. Since producing such sections is part of the expected
+ # behaviour of --extract-symbols, no further testing can be
+ # performed. Fortunately this should not matter as extracting
+ # symbols is only needed for VxWorks support.
+ pass $testname
+ return
+ }
}
set extract_syms [run_host_cmd $nm $copyfile]
return
}
+ # Check that the stripped section contains no code or data.
set exec_output [run_host_cmd $size $copyfile]
if ![regexp ".* 0\[ \]+0\[ \]+0\[ \]+0\[ \]+0\[ \]+.*" $exec_output] {
fail $testname