Set the alignment of the setjmp magic values correctly. The alignment needs

to be before the lavel, otherwise an extra word may be added between the
label and the data.

Obtained from:	ABT Systems Ltd
Sponsored by:	The FReeBSD Foundation
This commit is contained in:
Andrew Turner 2015-06-24 16:15:32 +00:00
parent 1f6c33ac45
commit a998adbb90
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284768
3 changed files with 3 additions and 3 deletions

View File

@ -59,8 +59,8 @@ ENTRY(_setjmp)
/* Return value */
mov x0, #0
ret
.Lmagic:
.align 3
.Lmagic:
.quad _JB_MAGIC__SETJMP
END(_setjmp)

View File

@ -69,8 +69,8 @@ ENTRY(setjmp)
/* Return value */
mov x0, #0
ret
.Lmagic:
.align 3
.Lmagic:
.quad _JB_MAGIC_SETJMP
END(setjmp)

View File

@ -47,7 +47,7 @@ ENTRY(siglongjmp)
cmp x2, x3
b.eq _C_LABEL(_longjmp)
b _C_LABEL(longjmp)
.Lmagic:
.align 3
.Lmagic:
.quad _JB_MAGIC__SETJMP
END(siglongjmp)