| Index: src/trusted/validator_mips/testdata/test_invalid_dest.S
|
| ===================================================================
|
| --- src/trusted/validator_mips/testdata/test_invalid_dest.S (revision 0)
|
| +++ src/trusted/validator_mips/testdata/test_invalid_dest.S (revision 0)
|
| @@ -0,0 +1,20 @@
|
| +# Copyright 2012 The Native Client Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can
|
| +# be found in the LICENSE file.
|
| +# Copyright 2012 MIPS Technologies / RT-RK.
|
| +
|
| +# With this test we are tryig to branch on address above 256 MB
|
| +# We do this by linking _start on address 0xFFFA000 which is
|
| +# 255 MB+1000k, so that branch can reach address higher than 256 MB
|
| +
|
| +.globl _start
|
| +_start:
|
| +.align 4
|
| +.set noreorder
|
| +
|
| + nop
|
| + b 0x10000+_start #error, invalid destination, over 256MB
|
| + nop
|
| + nop
|
| +
|
| +end_of_code:
|
|
|
| Property changes on: src/trusted/validator_mips/testdata/test_invalid_dest.S
|
| ___________________________________________________________________
|
| Added: svn:executable
|
| + *
|
|
|
|
|