Skip to content

Commit

Permalink
implement runtime·read_tls_fallback since the runtime expects this sy…
Browse files Browse the repository at this point in the history
…mbol for GOARM < 7
  • Loading branch information
abarisani committed Sep 10, 2020
1 parent 95ba4a1 commit dd3ec8c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/runtime/sys_tamago_arm.s
Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,9 @@ TEXT runtime·irqHandler(SB),NOSPLIT|NOFRAME,$0

TEXT runtime·fiqHandler(SB),NOSPLIT|NOFRAME,$0
CALLFNFROMEXCEPTION(0x1c, ·exceptionHandler, 4, R7, 38)

// never called (cgo not supported)
TEXT runtime·read_tls_fallback(SB),NOSPLIT|NOFRAME,$0
MOVW $0, R0
MOVW R0, (R0)
RET

0 comments on commit dd3ec8c

Please sign in to comment.