public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/ibm/2.32/master] aarch64: fix static PIE start code for BTI [BZ #27068]
@ 2021-04-27 13:18 Tulio Magno Quites Machado Filho
0 siblings, 0 replies; only message in thread
From: Tulio Magno Quites Machado Filho @ 2021-04-27 13:18 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d3cb8f6222a3cb955712b720d7c0c0dba37898f9
commit d3cb8f6222a3cb955712b720d7c0c0dba37898f9
Author: Guillaume Gardet <guillaume.gardet@arm.com>
Date: Mon Dec 14 15:38:22 2020 +0000
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.
(cherry picked from commit d4136903a29baabeec8987b53081def8b4a49826)
Diff:
---
sysdeps/aarch64/start.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/sysdeps/aarch64/start.S b/sysdeps/aarch64/start.S
index 108f602721..1998ea95d4 100644
--- a/sysdeps/aarch64/start.S
+++ b/sysdeps/aarch64/start.S
@@ -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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-27 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27 13:18 [glibc/ibm/2.32/master] aarch64: fix static PIE start code for BTI [BZ #27068] Tulio Magno Quites Machado Filho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).