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:
parent
1f6c33ac45
commit
a998adbb90
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284768
@ -59,8 +59,8 @@ ENTRY(_setjmp)
|
||||
/* Return value */
|
||||
mov x0, #0
|
||||
ret
|
||||
.Lmagic:
|
||||
.align 3
|
||||
.Lmagic:
|
||||
.quad _JB_MAGIC__SETJMP
|
||||
END(_setjmp)
|
||||
|
||||
|
@ -69,8 +69,8 @@ ENTRY(setjmp)
|
||||
/* Return value */
|
||||
mov x0, #0
|
||||
ret
|
||||
.Lmagic:
|
||||
.align 3
|
||||
.Lmagic:
|
||||
.quad _JB_MAGIC_SETJMP
|
||||
END(setjmp)
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user