mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-26 04:31:03 +00:00
aarch64: fix static PIE start code for BTI [BZ #27068]
A bti c was missing from rcrt1.o which made all -static-pie binaries fail at program startup on BTI enabled systems. Fixes bug 27068.
This commit is contained in:
parent
c6b0165327
commit
d4136903a2
@ -99,6 +99,7 @@ ENTRY(_start)
|
||||
because crt1.o and rcrt1.o share code and the later must avoid the
|
||||
use of GOT relocations before __libc_start_main is called. */
|
||||
__wrap_main:
|
||||
BTI_C
|
||||
b main
|
||||
#endif
|
||||
END(_start)
|
||||
|
Loading…
Reference in New Issue
Block a user