Skip to content

Commit

Permalink
make context darwin arm64: removes workaround and uses the label
Browse files Browse the repository at this point in the history
directly. LLVM support those since quite some years now.
  • Loading branch information
devnexen committed Apr 1, 2021
1 parent ab994a0 commit a8c69d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions thirdparty/boost/asm/make_arm64_aapcs_macho_gas.S
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ _make_fcontext:
; compute abs address of label finish
; 0x0c = 3 instructions * size (4) before label 'finish'

; TODO: Numeric offset since llvm still does not support labels in ADR. Fix:
; http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140407/212336.html
adr x1, 0x0c
adr x1, finish

; save address of finish as return-address for context-function
; will be entered after context-function returns (LR register)
Expand Down

0 comments on commit a8c69d6

Please sign in to comment.