public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-10-28 17:46 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:46 UTC (permalink / raw)
  To: glibc-cvs

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

commit 352a71208eca7e09703cc5151bfa37934eeadf3b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2024-04-17 20:12 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2024-04-17 20:12 UTC (permalink / raw)
  To: glibc-cvs

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

commit 8c0ae678b6ca61f5590856de38ee9652ab886376
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 082865caad..2a4788e8c2 100644
--- a/include/string.h
+++ b/include/string.h
@@ -175,13 +175,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2024-04-02 15:58 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2024-04-02 15:58 UTC (permalink / raw)
  To: glibc-cvs

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

commit 91814e0435e3c9491fa71e9a3b823761a85f90d5
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 082865caad..2a4788e8c2 100644
--- a/include/string.h
+++ b/include/string.h
@@ -175,13 +175,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2024-02-09 17:36 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:36 UTC (permalink / raw)
  To: glibc-cvs

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

commit ca39dade094f52672ae81f585c8d5398fc943323
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 082865caad..2a4788e8c2 100644
--- a/include/string.h
+++ b/include/string.h
@@ -175,13 +175,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2024-02-07 14:12 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:12 UTC (permalink / raw)
  To: glibc-cvs

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

commit 031315cfa8424b99b277696229b8fb8d2a6b4b39
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 082865caad..2a4788e8c2 100644
--- a/include/string.h
+++ b/include/string.h
@@ -175,13 +175,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2024-01-29 18:02 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 18:02 UTC (permalink / raw)
  To: glibc-cvs

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

commit 0dd51b6b2369d2be36918fec5e58a8c45148baef
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 27f4e6e563..df5742c116 100644
--- a/include/string.h
+++ b/include/string.h
@@ -175,13 +175,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2023-12-21 18:58 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:58 UTC (permalink / raw)
  To: glibc-cvs

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

commit b5d5cd5d6a42e8829c47caf4b98066f4c4bd3607
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 27f4e6e563..df5742c116 100644
--- a/include/string.h
+++ b/include/string.h
@@ -175,13 +175,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2023-09-28 17:57 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:57 UTC (permalink / raw)
  To: glibc-cvs

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

commit d4e8b0c12c0e90462dde9e83b1a9ce5082913cfc
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 27f4e6e563..df5742c116 100644
--- a/include/string.h
+++ b/include/string.h
@@ -175,13 +175,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2023-08-30 12:41 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:41 UTC (permalink / raw)
  To: glibc-cvs

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

commit 9f4e0b4922f980487374f1d0ed6e4322e70c4ea3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 27f4e6e563..df5742c116 100644
--- a/include/string.h
+++ b/include/string.h
@@ -175,13 +175,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2023-02-09 19:53 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:53 UTC (permalink / raw)
  To: glibc-cvs

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

commit f182c5acdd6eb6e989fa251c1cf5055309065061
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index d6e352e214..d7a133f4e7 100644
--- a/include/string.h
+++ b/include/string.h
@@ -174,13 +174,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-10-04 13:04 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 13:04 UTC (permalink / raw)
  To: glibc-cvs

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

commit c693c7124b932ee210729aba21d2f58896d2cf33
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,

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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-06-09 21:25 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:25 UTC (permalink / raw)
  To: glibc-cvs

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

commit 50d9bf05e5f873a48f2a485a184983a43ca9c017
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,


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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-06-09 13:22 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:22 UTC (permalink / raw)
  To: glibc-cvs

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

commit 50d9bf05e5f873a48f2a485a184983a43ca9c017
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,


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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-06-03 14:11 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:11 UTC (permalink / raw)
  To: glibc-cvs

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

commit a4a1e08bdb67d67d46942763c82f1edcbd1cd420
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,


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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-05-13 14:25 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:25 UTC (permalink / raw)
  To: glibc-cvs

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

commit 8f7cc7da8010ebddcbc10f603a9f79608fb11840
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,


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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-05-12 19:38 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:38 UTC (permalink / raw)
  To: glibc-cvs

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

commit da906e78aeebce58365c30196219040f42863812
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,


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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-05-10 18:29 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:29 UTC (permalink / raw)
  To: glibc-cvs

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

commit af4350966aa43a9f4b4035fc41b0c957700adf92
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,


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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-04-29 14:09 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:09 UTC (permalink / raw)
  To: glibc-cvs

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

commit 6a636d512ce0bbcbdebaba907d51699fd3ee6294
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,


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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-04-04 12:59 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:59 UTC (permalink / raw)
  To: glibc-cvs

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

commit c61c0a8a5e2ffc4f2856d702fdaf18d95c9decc5
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,


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

* [glibc/azanella/clang] string: mempcy and stpcpy builtins internally
@ 2022-03-31 19:12 Adhemerval Zanella
  0 siblings, 0 replies; 20+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:12 UTC (permalink / raw)
  To: glibc-cvs

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

commit 6f30cacdc7e82825df6229062ce27a4b32445c68
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 31 15:18:02 2022 -0300

    string: mempcy and stpcpy builtins internally

Diff:
---
 include/string.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/string.h b/include/string.h
index 44c4049053..987afbd304 100644
--- a/include/string.h
+++ b/include/string.h
@@ -172,13 +172,17 @@ extern __typeof (strnlen) strnlen attribute_hidden;
 extern __typeof (strsep) strsep attribute_hidden;
 #endif
 
-#if (!IS_IN (libc) || !defined SHARED) \
-  && !defined NO_MEMPCPY_STPCPY_REDIRECT
+#if IS_IN (libc) && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
    __mempcpy and __stpcpy if not inlined.  */
+# ifdef SHARED
+__asm__ ("mempcpy = __GI_mempcpy");
+__asm__ ("stpcpy = __GI_stpcpy");
+# else
 __asm__ ("mempcpy = __mempcpy");
 __asm__ ("stpcpy = __stpcpy");
 #endif
+#endif
 
 extern void *__memcpy_chk (void *__restrict __dest,
 			   const void *__restrict __src, size_t __len,


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

end of thread, other threads:[~2024-04-17 20:12 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 17:46 [glibc/azanella/clang] string: mempcy and stpcpy builtins internally Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-04-17 20:12 Adhemerval Zanella
2024-04-02 15:58 Adhemerval Zanella
2024-02-09 17:36 Adhemerval Zanella
2024-02-07 14:12 Adhemerval Zanella
2024-01-29 18:02 Adhemerval Zanella
2023-12-21 18:58 Adhemerval Zanella
2023-09-28 17:57 Adhemerval Zanella
2023-08-30 12:41 Adhemerval Zanella
2023-02-09 19:53 Adhemerval Zanella
2022-10-04 13:04 Adhemerval Zanella
2022-06-09 21:25 Adhemerval Zanella
2022-06-09 13:22 Adhemerval Zanella
2022-06-03 14:11 Adhemerval Zanella
2022-05-13 14:25 Adhemerval Zanella
2022-05-12 19:38 Adhemerval Zanella
2022-05-10 18:29 Adhemerval Zanella
2022-04-29 14:09 Adhemerval Zanella
2022-04-04 12:59 Adhemerval Zanella
2022-03-31 19:12 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).