]> git.lizzy.rs Git - rust.git/commit
auto merge of #13340 : FlaPer87/rust/code-model, r=cmr
authorbors <bors@rust-lang.org>
Sun, 6 Apr 2014 14:06:36 +0000 (07:06 -0700)
committerbors <bors@rust-lang.org>
Sun, 6 Apr 2014 14:06:36 +0000 (07:06 -0700)
commit02c81fe2b5308bccbc90baae9e7ccdb8b915fe7d
treeb89e9ef106da6d234d791838b4a690e51fefd653
parent4af69f204e2365da0dc9f32bbd0eb3201dc9a9e0
parentb78ac5b74a62e7b2772d322004a6bb04967f8437
auto merge of #13340 : FlaPer87/rust/code-model, r=cmr

Rust currently defaults to `RelocPIC` regardless. This patch adds a new
codegen option that allows choosing different relocation-model. The
available models are:

    - default (Use the target-specific default model)
    - static
    - pic
    - no-pic

For a more detailed information use `llc --help`
src/etc/zsh/_rust
src/librustc/back/link.rs
src/librustc/driver/session.rs