projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe2e7a
)
aarch64: Add unwind information to _start (bug 26853)
author
Florian Weimer
<fweimer@redhat.com>
Mon, 9 Nov 2020 10:31:04 +0000
(11:31 +0100)
committer
Florian Weimer
<fweimer@redhat.com>
Mon, 9 Nov 2020 10:31:04 +0000
(11:31 +0100)
This adds CFI directives which communicate that the stack ends
with this function.
Fixes bug 26853.
sysdeps/aarch64/start.S
patch
|
blob
|
history
diff --git
a/sysdeps/aarch64/start.S
b/sysdeps/aarch64/start.S
index
75393e1
..
108f602
100644
(file)
--- a/
sysdeps/aarch64/start.S
+++ b/
sysdeps/aarch64/start.S
@@
-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