1 # Copyright 2013-2017 Azul Systems, Inc. All Rights Reserved. 2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # 4 # This code is free software; you can redistribute it and/or modify it under 5 # the terms of the GNU General Public License version 2 only, as published by 6 # the Free Software Foundation. 7 # 8 # This code is distributed in the hope that it will be useful, but WITHOUT ANY 9 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 10 # A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more 11 # details (a copy is included in the LICENSE file that accompanied this code). 12 # 13 # You should have received a copy of the GNU General Public License version 2 14 # along with this work; if not, write to the Free Software Foundation, Inc., 15 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 16 # 17 # Please contact Azul Systems, 385 Moffett Park Drive, Suite 115, Sunnyvale, 18 # CA 94089 USA or visit www.azul.com if you need additional information or 19 # have any questions. 20 21 .global linux_aarch32_current_frame_pointer 22 .type linux_aarch32_current_frame_pointer,%function 23 linux_aarch32_current_frame_pointer: 24 mov r0, sp 25 bx lr 26 27 .global linux_aarch32_previous_frame_pointer 28 .type linux_aarch32_previous_frame_pointer,%function 29 linux_aarch32_previous_frame_pointer: 30 mov r0, fp 31 bx lr