Skip to content

Commit ac989bd

Browse files
author
kud1ing
committed
---
yaml --- r: 60607 b: refs/heads/auto c: da94580 h: refs/heads/master i: 60605: b37e4de 60603: 2b9628d 60599: a685f42 60591: 381ffb3 60575: ed03b9c 60543: 960555c v: v3
1 parent 18155ff commit ac989bd

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 8a4bffc7eee07d895e32db9a4a366c23995d260a
17+
refs/heads/auto: da94580ddc605318a6bb7082a4b7907509d2dcc4
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/src/libcore/rt/context.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ fn new_regs() -> ~Registers { ~([0, .. 32]) }
165165

166166
#[cfg(target_arch = "arm")]
167167
fn initialize_call_frame(regs: &mut Registers, fptr: *c_void, arg: *c_void, sp: *mut uint) {
168-
let sp = align_down(sp);
169-
// sp of arm eabi is 8-byte aligned
170-
let sp = mut_offset(sp, -2);
168+
let sp = mut_offset(sp, -1);
171169

172170
// The final return address. 0 indicates the bottom of the stack
173171
unsafe { *sp = 0; }

branches/auto/src/librusti/rusti.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ pub fn main() {
389389
if istty {
390390
io::println("WARNING: The Rust REPL is experimental and may be");
391391
io::println("unstable. If you encounter problems, please use the");
392-
io::println("compiler instead.");
392+
io::println("compiler instead. Type :help for help.");
393393

394394
unsafe {
395395
do rl::complete |line, suggest| {

branches/auto/src/rt/arch/arm/context.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ void context::call(void *f, void *arg, void *stack)
2626

2727
// set up the stack
2828
uint32_t *sp = ( uint32_t *)stack;
29-
sp = align_down(sp);
29+
//sp = align_down(sp);
3030
// The final return address. 0 indicates the bottom of the stack
31-
// sp of arm eabi is 8-byte aligned
32-
sp -= 2;
33-
*sp = 0;
31+
*--sp = 0;
3432

3533
regs.data[0] = ( uint32_t )arg; // r0
3634
regs.data[13] = ( uint32_t )sp; //#52 sp, r13

0 commit comments

Comments
 (0)