Skip to content
Snippets Groups Projects
  1. Jul 15, 2020
  2. 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
  3. Jun 02, 2020
  4. May 28, 2020
  5. May 23, 2020
  6. 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
  7. Mar 01, 2020
  8. Aug 17, 2019
  9. Aug 12, 2019
  10. Aug 09, 2019
  11. Aug 04, 2019
  12. Jul 18, 2019
  13. Jul 04, 2019
  14. Jul 01, 2019
  15. May 11, 2019
  16. Apr 27, 2019
  17. Apr 07, 2019
  18. 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
  19. Feb 28, 2019
  20. Feb 20, 2019
  21. Jan 16, 2019
  22. Jan 13, 2019
  23. Jan 05, 2019
  24. Jan 01, 2019
  25. Dec 23, 2018
  26. Dec 14, 2018
  27. Dec 13, 2018
  28. Dec 09, 2018
Loading