Skip to content
Snippets Groups Projects
  1. Mar 10, 2023
  2. Jan 18, 2023
  3. Dec 19, 2022
  4. Dec 02, 2022
  5. Sep 15, 2021
  6. Jul 19, 2021
  7. Dec 24, 2020
  8. Dec 23, 2020
  9. Aug 08, 2020
  10. Jul 15, 2020
  11. Jun 14, 2020
    • Ahmed Abd El Mawgood's avatar
      Add sys/select.h to sys/types.h · f4d95ce4
      Ahmed Abd El Mawgood authored
      This was triggered by gcc for some reason It included sys/types.h and
      assumed sys/select.h to be there. And that seams to be the case in musl.
      
      The problem with relibc here is that sys/types.h is are part of relibc
      "include/*.h" files, while sys/select.h is generated by cbindgen. That
      makes it impossible to #include select.h in types.h epsecially that
      there are files like fcntl.c that uses types.h. They would complain
      about missing headers. I fixed this by renaming sys/types.h to
      sys/types_internal.h and then generating types.h using cbindgen as well
      except for that. however fcntl and dlmalloc can include types_internal
      instead of types.h
      f4d95ce4
    • Ahmed Abd El Mawgood's avatar
      Make stdbool.h C++ compatiable · a125b8be
      Ahmed Abd El Mawgood authored
      The problem here is that _Bool type is not defined in C++ yet this file
      is using it. That leads to issues when compiling gcc. I borrowed the
      same techniques used in other stdbool.h
      a125b8be
  12. Jun 02, 2020
  13. May 28, 2020
  14. May 23, 2020
  15. Apr 24, 2020
    • Ahmed Abd El Mawgood's avatar
      Implement #include<sys/user.h> and #include<sys/procfs.h> · 3a923aa6
      Ahmed Abd El Mawgood authored
      This patch implements sys/user.h file that works for both x86_64 as well
      as aarch64. This include file is used by sys/procfs.h which is needed
      dependency for binutils. There is bug in this patch in aarch64 implementation
      which is the lack of f128 implementation in rust, thus we can't create cbinding
      for long double.
      3a923aa6
  16. Mar 01, 2020
  17. Aug 17, 2019
  18. Aug 12, 2019
  19. Aug 09, 2019
  20. Aug 04, 2019
  21. Jul 18, 2019
  22. Jul 04, 2019
  23. Jul 01, 2019
  24. May 11, 2019
  25. Apr 27, 2019
  26. Apr 07, 2019
  27. Mar 03, 2019
    • Robin Randhawa's avatar
      Add wint_t definition to stddef.h · 9443eef5
      Robin Randhawa authored
      Without this the relibc tests would break. With this the relibc tests
      pass and formerly breaking builds (such as uutils -> onig_sys) pass.
      9443eef5
    • Robin Randhawa's avatar
      Remove redundant wchar_t and win_t definitions · 23de2ca7
      Robin Randhawa authored
      Typically with libc implementations, wchar_t and co are either defined
      entirely by the libc or, under libc's arrangement, by headers supplied
      by the compiler.
      
      Things like dlmalloc in relibc need these definitions from relibc itself
      and that's already already furnished by relibc's stddef.h.
      
      These additional definitions here are redundant and collide with
      compiler headers - for example: onig_sys (something that uutils depends
      on) breaks. Instead, this patch makes the compiler headers define
      things appropriately.
      23de2ca7
  28. Feb 28, 2019
  29. Feb 20, 2019
  30. Jan 16, 2019
  31. Jan 13, 2019
Loading