Use ENTRY/END in ARM __get_sp.

Change-Id: If2f159b266f5fa4ad9d188a17d4cd318b605e446
This commit is contained in:
Elliott Hughes
2013-02-11 16:58:34 -08:00
parent cae7b2cfb5
commit d7a3a403c1

View File

@@ -25,10 +25,10 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
.global __get_sp
.type __get_sp, %function
__get_sp:
mov r0, sp
bx lr
#include <machine/asm.h>
ENTRY(__get_sp)
mov r0, sp
bx lr
END(__get_sp)