Organize frames in a real linked list on ARM
commitf63c7509427cb0a18168cac07775ac5f2a729e11
authorThomas Preud'homme <robotux@celest.fr>
Sat, 26 Jan 2013 19:09:04 +0000 (26 20:09 +0100)
committerThomas Preud'homme <robotux@celest.fr>
Sat, 26 Jan 2013 19:09:04 +0000 (26 20:09 +0100)
tree2329b5e389e0570000524d3748e1e0d379e9fb85
parentde35a3389f63ff60423f966e585f27c2a2c09bd8
Organize frames in a real linked list on ARM

Change the linking of the frames on ARM. Instead of having fp points 12
bytes above where the old fp is stored, let fp points where the old fp
is stored. That is, we switch from:

|   .    |
|   .    |
|   .    |
|        |
| params | <-- fp
 --------
| oldlr  |
 --------
| oldip  |
 --------
| oldfp  |
 --------

to:

|   .    |
|   .    |
|   .    |
|        |
| params |
 --------
| oldlr  |
 --------
| oldip  |
 --------
| oldfp  | <-- fp
 --------
arm-gen.c