| Index: src/trusted/service_runtime/nacl.scons
|
| diff --git a/src/trusted/service_runtime/nacl.scons b/src/trusted/service_runtime/nacl.scons
|
| index 86b477ac231a038ed41ce85b94ee6b49952fc3ad..69ebffcd231e1947c181691e28ff1d327d9c63af 100644
|
| --- a/src/trusted/service_runtime/nacl.scons
|
| +++ b/src/trusted/service_runtime/nacl.scons
|
| @@ -33,6 +33,8 @@ elif env.Bit('target_x86_64'):
|
| nacl_text_pad_asm = 'arch/x86_64/nacl_text_pad_test.S'
|
| elif env.Bit('target_arm'):
|
| nacl_text_pad_asm = 'arch/arm/nacl_text_pad_test.S'
|
| +elif env.Bit('target_mips32'):
|
| + nacl_text_pad_asm = 'arch/mips/nacl_text_pad_test.S'
|
| else:
|
| raise Exception('unknown architecture')
|
|
|
| @@ -57,6 +59,8 @@ def NewAsmEnv(env, defines, rodata_address, rwdata_address):
|
| link_cmd += ' -melf64_nacl'
|
| elif env.Bit('target_arm'):
|
| link_cmd += ' -marmelf_nacl'
|
| + elif env.Bit('target_mips32'):
|
| + link_cmd += ' -mmipselelf_nacl'
|
| else:
|
| raise Exception('unknown architecture')
|
|
|
|
|