commit | c56be54a18eff7e1c35c9a19cfc8b84a80780b73 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Feb 12 00:59:42 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Feb 12 00:59:43 2013 +0000 |
tree | 18af1e77e480d487961c2bb4e20c490c7233e1e7 | |
parent | cae7b2cfb509e7d5d10a8085b1ec319daaef768f [diff] | |
parent | d7a3a403c1a0bbb30786f052adc7332fdda3e1f9 [diff] |
Merge "Use ENTRY/END in ARM __get_sp."
diff --git a/libc/arch-arm/bionic/__get_sp.S b/libc/arch-arm/bionic/__get_sp.S index 0a313a3..2a7e7b7 100644 --- a/libc/arch-arm/bionic/__get_sp.S +++ b/libc/arch-arm/bionic/__get_sp.S
@@ -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)