Commit e105c74b by Reed Kotler Committed by Jan Voung

Change MIPS to avoid "none-nacl" for unsandboxed tests.

This changes the run-pnacl-sz script to be more consistent with the other targets. BUG=https://code.google.com/p/nativeclient/issues/detail?id=4167 R=jvoung@chromium.org Review URL: https://codereview.chromium.org/1232483003 . Patch from Reed Kotler <reed.kotler@imgtec.com>.
parent f645d853
......@@ -19,7 +19,7 @@ def TargetAssemblerFlags(target):
# add here for Mips32.
flags = { 'x8632': ['-triple=i686'],
'arm32': ['-triple=armv7a', '-mcpu=cortex-a9', '-mattr=+neon'],
'mips32': ['-triple=mipsel-none-nacl' ] }
'mips32': ['-triple=mipsel' ] }
return flags[target]
......
......@@ -31,9 +31,8 @@ define void @foo() {
; ARM32-NEXT: 8: e7fedef0 udf
; ARM32-NEXT: c: e7fedef0 udf
; MIPS32-LABEL: foo
; MIPS32: 4: {{.*}} jr ra
; MIPS32-NEXT: 8: {{.*}} nop
; MIPS32-NEXT: c: e7fedef0
; MIPS32: 0: {{.*}} jr ra
; MIPS32-NEXT: 4: {{.*}} nop
define void @bar() {
ret void
......@@ -43,5 +42,5 @@ define void @bar() {
; ARM32-LABEL: bar
; ARM32-NEXT: 10: {{.*}} bx lr
; MIPS32-LABEL: bar
; MIPS32: 14: {{.*}} jr ra
; MIPS32-NEXT: 18: {{.*}} nop
; MIPS32: 10: {{.*}} jr ra
; MIPS32-NEXT: 14: {{.*}} nop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment