diff options
author | Richard Miller <miller.research@gmail.com> | 2016-01-27 19:10:11 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-01-27 19:45:14 +0000 |
commit | d326a9641994eccdac1c95901762af45ec801bf1 (patch) | |
tree | 09afc6cedee9eaade945ca577cbdfca2d19cc9cc | |
parent | 01ca4da0efc6036bf22a99593a583c1efc2750c5 (diff) | |
download | go-d326a9641994eccdac1c95901762af45ec801bf1.tar.gz go-d326a9641994eccdac1c95901762af45ec801bf1.zip |
runtime: remove redundant empty function call from Breakpoint on arm
CL 18964 included an extra patch (sorry, my first experience of
git-codereview) which defined the conventional breakpoint instruction
used by Plan 9 on arm, but also introduced a benign but unneeded
call to runtime.emptyfunc. This CL removes the redundant call again.
This completes the series of CLs which add support for Plan 9 on arm.
Change-Id: Id293cfd40557c9d79b4b6cb164ed7ed49295b178
Reviewed-on: https://go-review.googlesource.com/19010
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | src/runtime/asm_arm.s | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/asm_arm.s b/src/runtime/asm_arm.s index 53128e7eb1..07894a3a72 100644 --- a/src/runtime/asm_arm.s +++ b/src/runtime/asm_arm.s @@ -81,7 +81,6 @@ DATA runtime·mainPC+0(SB)/4,$runtime·main(SB) GLOBL runtime·mainPC(SB),RODATA,$4 TEXT runtime·breakpoint(SB),NOSPLIT,$0-0 - BL runtime·emptyfunc(SB) // force R14 save for traceback // gdb won't skip this breakpoint instruction automatically, // so you must manually "set $pc+=4" to skip it and continue. #ifdef GOOS_nacl |