xtensa-musl.patch 748 B

123456789101112131415161718192021222324252627
  1. From 8f018dd26d3d9992fc32f6ce04492572312d2790 Mon Sep 17 00:00:00 2001
  2. From: Max Filippov <jcmvbkbc@gmail.com>
  3. Date: Tue, 22 Mar 2016 16:07:24 +0300
  4. Subject: [PATCH] xtensa: support musl
  5. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
  6. ---
  7. gcc/config/xtensa/linux.h | 3 +++
  8. 1 file changed, 3 insertions(+)
  9. diff --git a/gcc/config/xtensa/linux.h b/gcc/config/xtensa/linux.h
  10. index 6ecb153..a41ef96 100644
  11. --- a/gcc/config/xtensa/linux.h
  12. +++ b/gcc/config/xtensa/linux.h
  13. @@ -48,6 +48,9 @@ along with GCC; see the file COPYING3. If not see
  14. #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
  15. +#undef MUSL_DYNAMIC_LINKER
  16. +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-xtensa.so.1"
  17. +
  18. #undef LINK_SPEC
  19. #define LINK_SPEC \
  20. "%{shared:-shared} \
  21. --
  22. 2.1.4