string_fortified.h 498 B

12345678910111213141516
  1. #ifndef _ISOMAC
  2. # if IS_IN(libc) && defined SHARED
  3. /* Redirect calls from __builtin_stpcpy_chk to internal __stpcpy when building
  4. with fortify enable. */
  5. __asm__ ("stpcpy = __GI___stpcpy");
  6. # endif
  7. /* Add the internal aliass attribute to symbol before they first usage on the
  8. fortify wrappers. */
  9. libc_hidden_builtin_proto (memcpy)
  10. libc_hidden_builtin_proto (mempcpy)
  11. libc_hidden_builtin_proto (memmove)
  12. libc_hidden_builtin_proto (memset)
  13. #endif
  14. #include <string/bits/string_fortified.h>