public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-05-12 19:31 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:31 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fa488aff71ff59da9553ac15d2178ef4d09e97ff

commit fa488aff71ff59da9553ac15d2178ef4d09e97ff
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index ac9a302cb6..245e7c2c0b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -448,8 +448,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2024-02-09 17:29 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:29 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=00fe06da54c78c1dc5caea994bb51733e4b11fe7

commit 00fe06da54c78c1dc5caea994bb51733e4b11fe7
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index e21bb599b3..d14837631b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -365,8 +365,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2024-02-07 14:04 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:04 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=df3a2ca675447f8afda450ff0e31d8ad42028dd8

commit df3a2ca675447f8afda450ff0e31d8ad42028dd8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index e21bb599b3..d14837631b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -365,8 +365,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2024-01-29 17:54 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 17:54 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=41d5b220bf612299a467ecbf14c6139981603837

commit 41d5b220bf612299a467ecbf14c6139981603837
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index e21bb599b3..d14837631b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -365,8 +365,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2023-12-21 18:51 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:51 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1c526ad3c29bbbcea3f7135cab8b9c3ba1ce099e

commit 1c526ad3c29bbbcea3f7135cab8b9c3ba1ce099e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index a226119295..6aa8300f2b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -365,8 +365,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2023-09-28 17:49 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:49 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=87c368571736d8ec934512cc830f330b5a36b8a4

commit 87c368571736d8ec934512cc830f330b5a36b8a4
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 5794614488..2184522c93 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -365,8 +365,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2023-08-30 12:34 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:34 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0cd0e48738055d717aa26415b0ab35fe783a03ca

commit 0cd0e48738055d717aa26415b0ab35fe783a03ca
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 5794614488..2184522c93 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -365,8 +365,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2023-02-09 19:46 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:46 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=085824a254e0caf2b7e38747497a935f2c58adb8

commit 085824a254e0caf2b7e38747497a935f2c58adb8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 37c91bb3a4..41c5022e04 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -365,8 +365,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-10-28 17:39 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:39 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8e54961dc28bb0c9a45623646767ae45ba503543

commit 8e54961dc28bb0c9a45623646767ae45ba503543
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index f4437ff6ad..140ee0ff6d 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -432,8 +432,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-10-04 12:57 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 12:57 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7373a986fbb2066a5b17cd98fa3d2f49a33cde5c

commit 7373a986fbb2066a5b17cd98fa3d2f49a33cde5c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 033a433778..e01cc82879 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -432,8 +432,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-06-09 21:18 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:18 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9d539bc683408c112dba0be180e43a74a612a851

commit 9d539bc683408c112dba0be180e43a74a612a851
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index ac9a302cb6..245e7c2c0b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -448,8 +448,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-06-09 13:14 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:14 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9d539bc683408c112dba0be180e43a74a612a851

commit 9d539bc683408c112dba0be180e43a74a612a851
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index ac9a302cb6..245e7c2c0b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -448,8 +448,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-06-03 14:04 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:04 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=62c283b6e46fb9b50f639d449ccbbcd5ff9ac460

commit 62c283b6e46fb9b50f639d449ccbbcd5ff9ac460
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index ac9a302cb6..245e7c2c0b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -448,8 +448,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-05-13 14:18 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:18 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0d8a94230280ee1d3de1ab81f5d871812f1cfdc5

commit 0d8a94230280ee1d3de1ab81f5d871812f1cfdc5
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index ac9a302cb6..245e7c2c0b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -448,8 +448,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-05-10 18:22 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:22 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9ad65950578d6e902f396e17df42a04cb2ff5204

commit 9ad65950578d6e902f396e17df42a04cb2ff5204
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index ac9a302cb6..245e7c2c0b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -448,8 +448,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-04-29 14:02 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:02 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a196d658f1e181b6b4421b7e00e1218f5705d3aa

commit a196d658f1e181b6b4421b7e00e1218f5705d3aa
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index ac9a302cb6..245e7c2c0b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -448,8 +448,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-04-04 12:52 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:52 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b16bcadae6af22de581b336f7286ab9ff62faa32

commit b16bcadae6af22de581b336f7286ab9ff62faa32
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index f4c1312ba5..4a55a8f7f9 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -446,8 +446,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-03-31 19:04 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:04 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cb4d0761729417b7a0e699c3e1e944884a99c236

commit cb4d0761729417b7a0e699c3e1e944884a99c236
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index f4c1312ba5..4a55a8f7f9 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -446,8 +446,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-03-29 20:28 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:28 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=85a21cb2048f4f63e73d0616c9a01e0718546117

commit 85a21cb2048f4f63e73d0616c9a01e0718546117
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index f4c1312ba5..4a55a8f7f9 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -446,8 +446,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-03-16 18:00 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-03-16 18:00 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1c898089f351974f2d71e2643cced160b5b5396b

commit 1c898089f351974f2d71e2643cced160b5b5396b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index f4c1312ba5..4a55a8f7f9 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -446,8 +446,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-03-15 18:38 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-03-15 18:38 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1c898089f351974f2d71e2643cced160b5b5396b

commit 1c898089f351974f2d71e2643cced160b5b5396b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index f4c1312ba5..4a55a8f7f9 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -446,8 +446,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-03-11 17:22 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-03-11 17:22 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f15c801ee8381873f3ebc02f00385c6fb4c830b1

commit f15c801ee8381873f3ebc02f00385c6fb4c830b1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index f4c1312ba5..4a55a8f7f9 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -446,8 +446,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [glibc/azanella/clang] Fix inhibit_stack_protector for clang
@ 2022-03-10 19:21 Adhemerval Zanella
  0 siblings, 0 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2022-03-10 19:21 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=202168c3f7135a187690092e09c1c9a388355c51

commit 202168c3f7135a187690092e09c1c9a388355c51
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Mar 9 17:43:42 2022 -0300

    Fix inhibit_stack_protector for clang

Diff:
---
 include/libc-symbols.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index f4c1312ba5..4a55a8f7f9 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -446,8 +446,13 @@ for linking")
 /* Used to disable stack protection in sensitive places, like ifunc
    resolvers and early static TLS init.  */
 #ifdef HAVE_CC_NO_STACK_PROTECTOR
-# define inhibit_stack_protector \
+# ifdef __clang__
+#  define inhibit_stack_protector \
+     __attribute__((no_stack_protector))
+# else
+#  define inhibit_stack_protector \
     __attribute__ ((__optimize__ ("-fno-stack-protector")))
+# endif
 #else
 # define inhibit_stack_protector
 #endif


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-02-09 17:29 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 19:31 [glibc/azanella/clang] Fix inhibit_stack_protector for clang Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-02-09 17:29 Adhemerval Zanella
2024-02-07 14:04 Adhemerval Zanella
2024-01-29 17:54 Adhemerval Zanella
2023-12-21 18:51 Adhemerval Zanella
2023-09-28 17:49 Adhemerval Zanella
2023-08-30 12:34 Adhemerval Zanella
2023-02-09 19:46 Adhemerval Zanella
2022-10-28 17:39 Adhemerval Zanella
2022-10-04 12:57 Adhemerval Zanella
2022-06-09 21:18 Adhemerval Zanella
2022-06-09 13:14 Adhemerval Zanella
2022-06-03 14:04 Adhemerval Zanella
2022-05-13 14:18 Adhemerval Zanella
2022-05-10 18:22 Adhemerval Zanella
2022-04-29 14:02 Adhemerval Zanella
2022-04-04 12:52 Adhemerval Zanella
2022-03-31 19:04 Adhemerval Zanella
2022-03-29 20:28 Adhemerval Zanella
2022-03-16 18:00 Adhemerval Zanella
2022-03-15 18:38 Adhemerval Zanella
2022-03-11 17:22 Adhemerval Zanella
2022-03-10 19:21 Adhemerval Zanella

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