Skip to content

Commit

Permalink
libgcc, aarch64, Darwin: Fix ordering of function label and .cfi_star…
Browse files Browse the repository at this point in the history
…tproc.

The newer tools apparently do not accept the existing order (which is likely
to cause quite some fallout with other OSS using asm).

Fixed here with a patch from Rich Townsend.  Resolves Issue #21.

Signed-off-by: Iain Sandoe <[email protected]>
(cherry picked from commit 4fdcc027fcc235805c7cc4bede6948b9a00afe1e)
  • Loading branch information
iains committed Dec 26, 2024
1 parent c2210e6 commit 914cec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgcc/config/aarch64/lse.S
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
.text
.balign 16
.private_extern _\name
.cfi_startproc
_\name:
BTI_C
.cfi_startproc
.endm

.macro ENDFN name
Expand Down

0 comments on commit 914cec3

Please sign in to comment.