Commit c5f7ef57 authored by jvoung@google.com's avatar jvoung@google.com

Change pnacl llvm triple to use nacl instead of linux (inside plugin).

Inside driver change: http://codereview.chromium.org/7737032/

BUG= http://code.google.com/p/nativeclient/issues/detail?id=1554
TEST= build chrome, host files for "run_pnacl_example_browser_test" and "run_pnacl_bad_browser_test" from a nacl repo (since there is no pnacl toolchain downloaded in chrome repo) and load the test.

Review URL: http://codereview.chromium.org/7828088

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99820 0039d316-1c4b-4281-b951-d872f2087c98
parent 67490508
// Copyright (c) 2011 The Native Client Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -266,17 +266,17 @@ void WINAPI DoTranslateThread(void* arg) { ...@@ -266,17 +266,17 @@ void WINAPI DoTranslateThread(void* arg) {
// probably is PIC vs non-PIC and micro-arch specification. // probably is PIC vs non-PIC and micro-arch specification.
const char* llc_args_x8632[] = { "-march=x86", const char* llc_args_x8632[] = { "-march=x86",
"-mcpu=pentium4", "-mcpu=pentium4",
"-mtriple=i686-none-linux-gnu", "-mtriple=i686-none-nacl-gnu",
"-asm-verbose=false", "-asm-verbose=false",
"-filetype=obj" }; "-filetype=obj" };
const char* llc_args_x8664[] = { "-march=x86-64", const char* llc_args_x8664[] = { "-march=x86-64",
"-mcpu=core2", "-mcpu=core2",
"-mtriple=x86_64-none-linux-gnu", "-mtriple=x86_64-none-nacl-gnu",
"-asm-verbose=false", "-asm-verbose=false",
"-filetype=obj" }; "-filetype=obj" };
const char* llc_args_arm[] = { "-march=arm", const char* llc_args_arm[] = { "-march=arm",
"-mcpu=cortex-a8", "-mcpu=cortex-a8",
"-mtriple=armv7a-none-linux-gnueabi", "-mtriple=armv7a-none-nacl-gnueabi",
"-asm-verbose=false", "-asm-verbose=false",
"-filetype=obj", "-filetype=obj",
"-arm-reserve-r9", "-arm-reserve-r9",
......
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