Replace elf_i386 with elf_i386_nacl for nacl
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Feb 2015 12:59:57 +0000 (04:59 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Feb 2015 12:59:57 +0000 (04:59 -0800)
* ld-i386/i386.exp: Replace elf_i386 with elf_i386_nacl for nacl.

ld/testsuite/ChangeLog
ld/testsuite/ld-i386/i386.exp

index 2b963fa..af5b544 100644 (file)
@@ -1,3 +1,7 @@
+2015-02-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp: Replace elf_i386 with elf_i386_nacl for nacl.
+
 2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
 
        * ld-plugin/plugin-27.d: New.
index f5922b4..4fc2359 100644 (file)
@@ -200,7 +200,7 @@ if [istarget "*-*-nacl*"] {
     regsub -all elf_i386 $i386tests elf_i386_nacl i386tests
 
     # Same, applied to all the run_dump_test cases.
-    set options_regsub(ld) {-melf_i386 -melf_i386_nacl}
+    set options_regsub(ld) {elf_i386 elf_i386_nacl}
 
     # The section/segment layout differs too much for the vanilla
     # readelf output files to match.  So massage the cases so that