-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #36764 - jonathandturner:rollup, r=jonathandturner
Rollup of 14 pull requests - Successful merges: #36563, #36574, #36586, #36662, #36663, #36669, #36676, #36721, #36723, #36727, #36729, #36742, #36754, #36756 - Failed merges:
- Loading branch information
Showing
68 changed files
with
1,710 additions
and
1,061 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# i686-unknown-haiku configuration | ||
CROSS_PREFIX_i686-unknown-haiku=i586-pc-haiku- | ||
CC_i686-unknown-haiku=$(CC) | ||
CXX_i686-unknown-haiku=$(CXX) | ||
CPP_i686-unknown-haiku=$(CPP) | ||
AR_i686-unknown-haiku=$(AR) | ||
CFG_LIB_NAME_i686-unknown-haiku=lib$(1).so | ||
CFG_STATIC_LIB_NAME_i686-unknown-haiku=lib$(1).a | ||
CFG_LIB_GLOB_i686-unknown-haiku=lib$(1)-*.so | ||
CFG_LIB_DSYM_GLOB_i686-unknown-haiku=lib$(1)-*.dylib.dSYM | ||
CFG_CFLAGS_i686-unknown-haiku := -m32 $(CFLAGS) | ||
CFG_GCCISH_CFLAGS_i686-unknown-haiku := -Wall -Werror -g -fPIC -m32 $(CFLAGS) | ||
CFG_GCCISH_CXXFLAGS_i686-unknown-haiku := -fno-rtti $(CXXFLAGS) | ||
CFG_GCCISH_LINK_FLAGS_i686-unknown-haiku := -shared -fPIC -ldl -pthread -lrt -g -m32 | ||
CFG_GCCISH_PRE_LIB_FLAGS_i686-unknown-haiku := -Wl,-whole-archive | ||
CFG_GCCISH_POST_LIB_FLAGS_i686-unknown-haiku := -Wl,-no-whole-archive | ||
CFG_DEF_SUFFIX_i686-unknown-haiku := .linux.def | ||
CFG_LLC_FLAGS_i686-unknown-haiku := | ||
CFG_INSTALL_NAME_i686-unknown-haiku = | ||
CFG_EXE_SUFFIX_i686-unknown-haiku = | ||
CFG_WINDOWSY_i686-unknown-haiku := | ||
CFG_UNIXY_i686-unknown-haiku := 1 | ||
CFG_PATH_MUNGE_i686-unknown-haiku := true | ||
CFG_LDPATH_i686-unknown-haiku := | ||
CFG_RUN_i686-unknown-haiku=$(2) | ||
CFG_RUN_TARG_i686-unknown-haiku=$(call CFG_RUN_i686-unknown-haiku,,$(2)) | ||
CFG_GNU_TRIPLE_i686-unknown-haiku := i686-unknown-haiku |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# x86_64-unknown-haiku configuration | ||
CROSS_PREFIX_x86_64-unknown-haiku=x86_64-unknown-haiku- | ||
CC_x86_64-unknown-haiku=$(CC) | ||
CXX_x86_64-unknown-haiku=$(CXX) | ||
CPP_x86_64-unknown-haiku=$(CPP) | ||
AR_x86_64-unknown-haiku=$(AR) | ||
CFG_LIB_NAME_x86_64-unknown-haiku=lib$(1).so | ||
CFG_STATIC_LIB_NAME_x86_64-unknown-haiku=lib$(1).a | ||
CFG_LIB_GLOB_x86_64-unknown-haiku=lib$(1)-*.so | ||
CFG_LIB_DSYM_GLOB_x86_64-unknown-haiku=lib$(1)-*.dylib.dSYM | ||
CFG_CFLAGS_x86_64-unknown-haiku := -m64 $(CFLAGS) | ||
CFG_GCCISH_CFLAGS_x86_64-unknown-haiku := -Wall -Werror -g -fPIC -m64 $(CFLAGS) | ||
CFG_GCCISH_CXXFLAGS_x86_64-unknown-haiku := -fno-rtti $(CXXFLAGS) | ||
CFG_GCCISH_LINK_FLAGS_x86_64-unknown-haiku := -shared -fPIC -ldl -pthread -lrt -g -m64 | ||
CFG_GCCISH_PRE_LIB_FLAGS_x86_64-unknown-haiku := -Wl,-whole-archive | ||
CFG_GCCISH_POST_LIB_FLAGS_x86_64-unknown-haiku := -Wl,-no-whole-archive | ||
CFG_DEF_SUFFIX_x86_64-unknown-haiku := .linux.def | ||
CFG_LLC_FLAGS_x86_64-unknown-haiku := | ||
CFG_INSTALL_NAME_x86_64-unknown-haiku = | ||
CFG_EXE_SUFFIX_x86_64-unknown-haiku = | ||
CFG_WINDOWSY_x86_64-unknown-haiku := | ||
CFG_UNIXY_x86_64-unknown-haiku := 1 | ||
CFG_PATH_MUNGE_x86_64-unknown-haiku := true | ||
CFG_LDPATH_x86_64-unknown-haiku := | ||
CFG_RUN_x86_64-unknown-haiku=$(2) | ||
CFG_RUN_TARG_x86_64-unknown-haiku=$(call CFG_RUN_x86_64-unknown-haiku,,$(2)) | ||
CFG_GNU_TRIPLE_x86_64-unknown-haiku := x86_64-unknown-haiku |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule liblibc
updated
38 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT | ||
// file at the top-level directory of this distribution and at | ||
// http://rust-lang.org/COPYRIGHT. | ||
// | ||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | ||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | ||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | ||
// option. This file may not be copied, modified, or distributed | ||
// except according to those terms. | ||
|
||
use target::TargetOptions; | ||
use std::default::Default; | ||
|
||
pub fn opts() -> TargetOptions { | ||
TargetOptions { | ||
linker: "cc".to_string(), | ||
dynamic_linking: true, | ||
executables: true, | ||
has_rpath: true, | ||
linker_is_gnu: true, | ||
.. Default::default() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT | ||
// file at the top-level directory of this distribution and at | ||
// http://rust-lang.org/COPYRIGHT. | ||
// | ||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | ||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | ||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | ||
// option. This file may not be copied, modified, or distributed | ||
// except according to those terms. | ||
|
||
use target::{Target, TargetResult}; | ||
|
||
pub fn target() -> TargetResult { | ||
let mut base = super::haiku_base::opts(); | ||
base.cpu = "pentium4".to_string(); | ||
base.max_atomic_width = 64; | ||
base.pre_link_args.push("-m32".to_string()); | ||
|
||
Ok(Target { | ||
llvm_target: "i686-unknown-haiku".to_string(), | ||
target_endian: "little".to_string(), | ||
target_pointer_width: "32".to_string(), | ||
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(), | ||
arch: "x86".to_string(), | ||
target_os: "haiku".to_string(), | ||
target_env: "".to_string(), | ||
target_vendor: "unknown".to_string(), | ||
options: base, | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT | ||
// file at the top-level directory of this distribution and at | ||
// http://rust-lang.org/COPYRIGHT. | ||
// | ||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | ||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | ||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | ||
// option. This file may not be copied, modified, or distributed | ||
// except according to those terms. | ||
|
||
use target::{Target, TargetResult}; | ||
|
||
pub fn target() -> TargetResult { | ||
let mut base = super::haiku_base::opts(); | ||
base.cpu = "x86-64".to_string(); | ||
base.max_atomic_width = 64; | ||
base.pre_link_args.push("-m64".to_string()); | ||
|
||
Ok(Target { | ||
llvm_target: "x86_64-unknown-haiku".to_string(), | ||
target_endian: "little".to_string(), | ||
target_pointer_width: "64".to_string(), | ||
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(), | ||
arch: "x86_64".to_string(), | ||
target_os: "haiku".to_string(), | ||
target_env: "".to_string(), | ||
target_vendor: "unknown".to_string(), | ||
options: base, | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.