Commit Graph

53 Commits

Author SHA1 Message Date
jD91mZM2 6a0928edfd Use relibc to build openlibm 2018-07-03 19:01:24 +02:00
jD91mZM2 17778ba1b4 Remove missing rustfmt.toml options 2018-07-02 07:42:33 +02:00
Stephan Vedder cc210361d6 wchar support 2018-07-01 20:59:37 +02:00
Jeremy Soller 1f1665fd58 Merge branch 'master' into 'master'
Add the few last things to get gcc_complete working

See merge request redox-os/relibc!146
2018-06-27 21:02:30 +00:00
Paul Sajna 776491bae9 implement mktemp 2018-06-27 20:22:12 +00:00
jD91mZM2 9de73d0e5b Add uname and gethostname 2018-06-26 16:41:19 +02:00
jD91mZM2 ad324a0e4d Use global_asm for setjmp instead 2018-06-26 10:21:44 +02:00
jD91mZM2 feed73ffcc inttypes 2018-06-26 09:51:07 +02:00
Jeremy Soller 878f466b67 Update to new ralloc, new panic implementation, new compiler-builtins 2018-06-24 09:50:15 -06:00
jD91mZM2 4e99b55417 Implement basic setjmp using musl's awesome existing code 2018-06-23 17:38:10 +02:00
jD91mZM2 996445a6a3 Add empty locale functions 2018-06-22 14:54:10 +02:00
Marat Safin ff37adeeba add asctime
Signed-off-by: Marat Safin <jeizsm@gmail.com>
2018-04-19 07:59:58 +03:00
Jeremy Soller dabd8dc6a2 Move memory handling into string, do not use compiler_builtins for memory handling 2018-03-27 21:28:48 -06:00
Jeremy Soller 79d05d7eda Build variadic functions as part of relibc 2018-03-27 21:13:11 -06:00
Jeremy Soller ea804582b9 Rename sys header crates, add mman constants 2018-03-27 20:25:42 -06:00
Dan Robertson 57a17cb05f stdio: Implement rename 2018-03-25 14:41:42 +00:00
Jeremy Soller e5849526a0 Update lock file 2018-03-21 21:16:21 -06:00
Alex Lyon af78348d4a unistd: add a preliminary implementation of getopt() 2018-03-19 14:50:41 -07:00
Dan Robertson 16e82636fb Add basic structures for netinet/in.h crate
Add the basic structures for the netinet/in.h header.
2018-03-15 17:34:30 +00:00
Dan Robertson 01081729c8 Add structures and stub fns for sys/socket.h
Add some of the basic structures and stub functions for sys/socket.h
2018-03-15 17:34:30 +00:00
Jeremy Soller d6e210b1fd Merge branch 'signal' of https://github.com/dlrobertson/relibc into dlrobertson-signal 2018-03-13 19:54:49 -06:00
Jeremy Soller 1d6115fd09 Update cbindgen and lock file 2018-03-13 19:41:31 -06:00
Paul Sajna c5dd3f8706 Update Cargo.lock 2018-03-11 17:01:25 -07:00
Dan Robertson 50eab4369d Add signal.h
Create stubs for signal.h
2018-03-11 21:36:02 +00:00
Sebastian Würl d4d808fcc8 Add implementation for a64l 2018-03-11 11:55:22 +01:00
Dan Robertson 3699b53ba2 float: Add crate for float.h
Add a crate with stubbed functions for the float.h header.
2018-03-10 21:16:55 +00:00
Dan Robertson f29e6b00d7 fenv: Add crate for fenv.h
Add a crate for building out stub functions and structures for the fenv
header.
2018-03-10 21:16:54 +00:00
Dan Robertson ca7f3a00e6 wait: Add crate for sys/wait.h
Add the basics of sys/wait.h so that we get a bit closer to being able
to compile libc-test.
2018-03-10 21:16:54 +00:00
Dan Robertson c6f16547ff resource: Add crate for sys/resource.h
Add the basics of sys/resource.h so that work can begin on sys/wait.h
2018-03-10 19:14:20 +00:00
Paul 7108d0164e Merge branch 'master' into time 2018-03-09 08:37:40 -08:00
Dan Robertson c2ae141df3 Aarch64: Merge the final components
Merge the final components for Aarch64 support into master.
2018-03-09 14:20:42 +00:00
Paul Sajna 72909b3f4c add time and sys/time 2018-03-09 02:46:14 -08:00
Jeremy Soller 0e766c6b53 Implement atof 2018-03-08 20:17:45 -07:00
Paul Sajna 799c8828c2 mkdir and rmdir 2018-03-08 19:45:16 -07:00
Jeremy Soller 18961114e2 Simplify perror 2018-03-08 14:51:22 -07:00
Paul Sajna 6304595a1d Merge branch 'master' of github.com:redox-os/relibc 2018-03-08 11:07:51 -08:00
Dan Robertson a6a16cf233 Create crate and stubs for wctype
Create the wctype crate and stub functions with the unimplemented macro.
2018-03-08 16:03:45 +00:00
Dan Robertson ec288a1b53 Add ctype functions and atoi/atol
Add ctype functions
  - isalnum
  - isalpha
  - isascii
  - isdigit
  - islower
  - isspace
  - isupper
Add stdlib functions
  - atoi
  - atol
Fix some warnings
Make a fmt run
2018-03-08 05:26:40 +00:00
Paul Sajna 3b7149612f implement perror 2018-03-07 20:57:51 -08:00
Alex Lyon 3e1b945e99 Add errno crate and set errno in strndup 2018-03-07 17:38:43 -08:00
Alex Lyon 9f39456dbd string: implement strcat, strcmp, strcpy, and strdup 2018-03-07 14:06:30 -08:00
Jeremy Soller d4308b4c5d Update rust toolchain and lock file 2018-03-04 18:01:28 -07:00
Jeremy Soller 7a7b3efe3a Merge branch 'master' of github.com:redox-os/relibc 2018-03-04 08:12:38 -07:00
Jeremy Soller 866d952924 Support building for Redox 2018-03-04 08:10:42 -07:00
Jeremy Soller e2695b2380 Merge pull request #11 from dlrobertson/aarch64
Start on support for aarch64
2018-03-03 23:00:30 -07:00
Dan Robertson d9d2ec1992 Start on support for aarch64
- Add aarch64 support
   - crt0 - add support to _start
   - platform - aarch64 does not have the open syscall. Instead most
     libc implementations use openat() with AT_FDCWD
 - Use sc instead of syscall. sc is the maintained fork of syscall.
2018-03-04 05:10:31 +00:00
Jeremy Soller 352f485649 Build grp header 2018-03-03 20:52:10 -07:00
Jeremy Soller c4b88cc1e6 Build ctype with header 2018-03-03 20:33:19 -07:00
Jeremy Soller 5520526bef Implement printf (very simple version) 2018-03-03 19:47:01 -07:00
Jeremy Soller f5ef0af883 Implement malloc/free with ralloc 2018-03-03 16:54:58 -07:00