aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp1
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f12caf8..4c14fd1 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/binutils-all/objcopy.exp (objcopy_test): Report
+ error message on error.
+
2020-10-22 Dr. David Alan Gilbert <dgilbert@redhat.com>
* windmc.c (write_header_define): Fix printf format.
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index 47c3a48..9eff6a9 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -82,6 +82,7 @@ proc objcopy_test {testname srcfile type asflags ldflags} {
set got [binutils_run $OBJCOPY "$OBJCOPYFLAGS $xflags $t_tempfile $t_copyfile"]
if ![string equal "" $got] then {
+ send_log "$got\n"
fail "objcopy $type ($testname)"
} else {
send_log "cmp $t_tempfile $t_copyfile\n"