[binutils-gdb] Fix i686-nacl and x86_64-nacl pr21884 failures

Alan Modra amodra@sourceware.org
Sun Aug 13 03:08:00 GMT 2017


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6d545e31f520d42d921c6164ec592e8d7614d315

commit 6d545e31f520d42d921c6164ec592e8d7614d315
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Aug 13 09:34:04 2017 +0930

    Fix i686-nacl and x86_64-nacl pr21884 failures
    
    OUTPUT_FORMAT in the script results in "./ld-new: target elf32-i386
    not found" and similarly for the x86_64 test.
    
    	* testsuite/ld-i386/pr21884.t: Remove unneeded format, arch and entry.
    	* testsuite/ld-x86-64/pr21884.t: Likewise.

Diff:
---
 ld/ChangeLog                     | 5 +++++
 ld/testsuite/ld-i386/pr21884.t   | 4 ----
 ld/testsuite/ld-x86-64/pr21884.t | 4 ----
 3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index fe06729..fdd8d58 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-13  Alan Modra  <amodra@gmail.com>
+
+	* testsuite/ld-i386/pr21884.t: Remove unneeded format, arch and entry.
+	* testsuite/ld-x86-64/pr21884.t: Likewise.
+
 2017-08-11  Nick Clifton  <nickc@redhat.com>
 
 	* emultempl/elf32.em (handle_option): Accept the -z globalaudit
diff --git a/ld/testsuite/ld-i386/pr21884.t b/ld/testsuite/ld-i386/pr21884.t
index 9ec7dc8..fcb7bce 100644
--- a/ld/testsuite/ld-i386/pr21884.t
+++ b/ld/testsuite/ld-i386/pr21884.t
@@ -1,7 +1,3 @@
-OUTPUT_FORMAT("elf32-i386");
-OUTPUT_ARCH(i386);
-
-ENTRY(_start); 
 SECTIONS {
         . = 0x10000;
         _start = . ;
diff --git a/ld/testsuite/ld-x86-64/pr21884.t b/ld/testsuite/ld-x86-64/pr21884.t
index f57cb3a..fcb7bce 100644
--- a/ld/testsuite/ld-x86-64/pr21884.t
+++ b/ld/testsuite/ld-x86-64/pr21884.t
@@ -1,7 +1,3 @@
-OUTPUT_FORMAT("elf64-x86-64");
-OUTPUT_ARCH(i386:x86-64);
-
-ENTRY(_start); 
 SECTIONS {
         . = 0x10000;
         _start = . ;



More information about the Binutils-cvs mailing list