[v2,04/15] string/strchrnul: Add mechanism to set function attributes

Message ID 20240527111900.1060546-5-christoph.muellner@vrull.eu
State New
Series RISC-V: Add Zbb-optimized string routines as ifuncs |


Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Testing passed

Commit Message

Christoph Müllner May 27, 2024, 11:18 a.m. UTC
  This patch introduces the __CODEGEN_ATTRIBUTES macro which can be
used to set function attributes when building the code.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
 string/strchrnul.c | 5 +++++
 1 file changed, 5 insertions(+)


diff --git a/string/strchrnul.c b/string/strchrnul.c
index f64d52ea67..feff66dddf 100644
--- a/string/strchrnul.c
+++ b/string/strchrnul.c
@@ -29,7 +29,12 @@ 
 # define __strchrnul STRCHRNUL
 /* Find the first occurrence of C in S or the final NUL byte.  */
 char *
 __strchrnul (const char *str, int c_in)