summary refs log tree commit diff
path: root/src/rt/arch/arm/_context.S
AgeCommit message (Collapse)AuthorLines
2014-06-12Runtime support for arm on iOSValerii Hiora-8/+16
2014-02-13Remove two allocations from spawning a green taskAlex Crichton-0/+8
Two unfortunate allocations were wrapping a proc() in a proc() with GreenTask::build_start_wrapper, and then boxing this proc in a ~proc() inside of Context::new(). Both of these allocations were a direct result from two conditions: 1. The Context::new() function has a nice api of taking a procedure argument to start up a new context with. This inherently required an allocation by build_start_wrapper because extra code needed to be run around the edges of a user-provided proc() for a new task. 2. The initial bootstrap code only understood how to pass one argument to the next function. By modifying the assembly and entry points to understand more than one argument, more information is passed through in registers instead of allocating a pointer-sized context. This is sadly where I end up throwing mips under a bus because I have no idea what's going on in the mips context switching code and don't know how to modify it. Closes #7767 cc #11389
2013-11-18rt: Namespace all C functions under rust_Brian Anderson-2/+2
2013-11-06Fixes for compilation to iOS:kud1ing-1/+4
- remove /usr/include from the include path since the iOS SDK provides the correct version - `_NSGetEnviron()` is private and not available on iOS - `.align` without an argument is not allowed with the Apple tools. 2^2 should be the default alignment - ignore error messages for XCode < 5 - pass include path to libuv
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-2/+0
2013-04-01rt/arch/arm: fix syntax used for noexec stackDaniel Micay-1/+1
2013-03-31mark the assembly object stacks as non-executableDaniel Micay-4/+9
Closes #5643 This also removes the need to pass noexecstack to gcc, but that wasn't actually working anymore.
2013-01-13Support ARM and Androidkyeongwoon-0/+47
Conflicts: src/libcore/os.rs src/librustc/back/link.rs src/librustc/driver/driver.rs src/librustc/metadata/loader.rs src/librustc/middle/trans/base.rs