mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08: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
|
||||
.globl _start
|
||||
.type _start,#function
|
||||
_start:
|
||||
BTI_C
|
||||
ENTRY(_start)
|
||||
/* Create an initial frame with 0 LR and FP */
|
||||
cfi_undefined (x30)
|
||||
mov x29, #0
|
||||
mov x30, #0
|
||||
|
||||
@ -103,6 +101,7 @@ _start:
|
||||
__wrap_main:
|
||||
b main
|
||||
#endif
|
||||
END(_start)
|
||||
|
||||
/* Define a symbol for the first piece of initialized data. */
|
||||
.data
|
||||
|
Loading…
Reference in New Issue
Block a user