mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
aarch64: Add unwind information to _start (bug 26853)
This adds CFI directives which communicate that the stack ends with this function. Fixes bug 26853.
This commit is contained in:
parent
dfe2e7a562
commit
5edf3d9fd6
@ -43,11 +43,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.globl _start
|
ENTRY(_start)
|
||||||
.type _start,#function
|
|
||||||
_start:
|
|
||||||
BTI_C
|
|
||||||
/* Create an initial frame with 0 LR and FP */
|
/* Create an initial frame with 0 LR and FP */
|
||||||
|
cfi_undefined (x30)
|
||||||
mov x29, #0
|
mov x29, #0
|
||||||
mov x30, #0
|
mov x30, #0
|
||||||
|
|
||||||
@ -103,6 +101,7 @@ _start:
|
|||||||
__wrap_main:
|
__wrap_main:
|
||||||
b main
|
b main
|
||||||
#endif
|
#endif
|
||||||
|
END(_start)
|
||||||
|
|
||||||
/* Define a symbol for the first piece of initialized data. */
|
/* Define a symbol for the first piece of initialized data. */
|
||||||
.data
|
.data
|
||||||
|
Loading…
Reference in New Issue
Block a user