public inbox for
help / color / mirror / Atom feed
* [glibc/arm/morello/main] Revert "TODO(relro): cheri: make __attribute_relro a nop"
@ 2022-10-26 14:50 Szabolcs Nagy
  0 siblings, 0 replies; only message in thread
From: Szabolcs Nagy @ 2022-10-26 14:50 UTC (permalink / raw)
  To: glibc-cvs;h=782fb76092163827a34cff6b66ed654a9e5a070e

commit 782fb76092163827a34cff6b66ed654a9e5a070e
Author: Szabolcs Nagy <>
Date:   Fri Oct 21 15:38:35 2022 +0100

    Revert "TODO(relro): cheri: make __attribute_relro a nop"
    This reverts commit 347f7e2ac1f34f92bc382afe9e5fe32ebe7cf16c.

 include/libc-symbols.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 1a7df359fd..f4437ff6ad 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -426,12 +426,8 @@ for linking")
 #define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec")))
-#if defined __CHERI_PURE_CAPABILITY__
-/* avoid readonly caps at startup when relro has to be writable */
-#define attribute_relro
 #define attribute_relro __attribute__ ((section ("")))
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-26 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 14:50 [glibc/arm/morello/main] Revert "TODO(relro): cheri: make __attribute_relro a nop" Szabolcs Nagy

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).