Commit Graph

66 Commits

Author SHA1 Message Date
Jeremy Soller 5002dd720f Add mman to lib.rs 2018-03-04 08:31:43 -07:00
Jeremy Soller 07c897e558 Clean up gcc line 2018-03-04 08:29:19 -07:00
Jeremy Soller 18c6701841 Disable stack protector 2018-03-04 08:27:20 -07:00
Jeremy Soller 654ca47351 Fix atexit_funcs call in exit 2018-03-04 08:15:26 -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 9f5db313ce Merge pull request #13 from sajattack/oldlib
add stuff from old newlib to todo
2018-03-04 07:36:00 -07:00
Jeremy Soller 50af0031c3 Merge pull request #9 from sajattack/mman
build mman header
2018-03-04 07:35:28 -07:00
Jeremy Soller 4f5d65e7a6 Merge pull request #12 from sajattack/atexit
fix atexit
2018-03-04 06:17:25 -07:00
Paul Sajna 460d7fb2c3 add stuff from old newlib to todo 2018-03-04 05:08:32 -08:00
Paul Sajna ef9545cf71 missing parens 2018-03-04 04:43:05 -08:00
Paul Sajna cdf5cb2d56 fix atexit 2018-03-04 04:34:22 -08:00
Jeremy Soller e2695b2380 Merge pull request #11 from dlrobertson/aarch64
Start on support for aarch64
2018-03-03 23:00:30 -07:00
Jeremy Soller 1a572d91b0 Merge pull request #8 from sajattack/fix-options
Fix options
2018-03-03 22:56:09 -07:00
Paul Sajna 09116f83f7 add mman to main Cargo.toml 2018-03-03 21:55:24 -08: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
Paul Sajna 2acf7e6915 remove mman from todo 2018-03-03 20:58:58 -08:00
Paul Sajna ba1a9543c8 build mman header 2018-03-03 20:57:29 -08:00
Paul Sajna ee6ffbe73e fix Options 2018-03-03 20:55:32 -08:00
Paul Sajna eea3f0ede6 Merge branch 'master' of github.com:redox-os/relibc 2018-03-03 20:07:33 -08:00
Jeremy Soller a6dfd7145f Merge pull request #6 from sajattack/master
wrap all function parameters in Options
2018-03-03 21:04:12 -07:00
Paul Sajna f4d8fd3186 Merge branch 'master' of github.com:redox-os/relibc 2018-03-03 19:58:12 -08:00
Jeremy Soller 352f485649 Build grp header 2018-03-03 20:52:10 -07:00
Jeremy Soller a9f2e9a9a7 Add template 2018-03-03 20:48:37 -07:00
Paul Sajna 2b16a3693e wrap all function parameters in Options 2018-03-03 19:42:29 -08:00
Paul Sajna 533cb67681 fix Options 2018-03-03 19:33:34 -08:00
Jeremy Soller c4b88cc1e6 Build ctype with header 2018-03-03 20:33:19 -07:00
Jeremy Soller 083fd72e66 Reorganize 2018-03-03 20:24:40 -07:00
Jeremy Soller 388d8ed8cf Merge stdlib 2018-03-03 20:17:46 -07:00
Jeremy Soller 9a423140bc Merge string 2018-03-03 20:17:08 -07:00
Jeremy Soller 800a3a7a47 Merge stdio files 2018-03-03 20:13:52 -07:00
Jeremy Soller 3855e4c4b9 Merge branch 'master' of https://github.com/sajattack/relibc into sajattack-master 2018-03-03 20:06:27 -07:00
Jeremy Soller 64b2970cf4 make it possible to printf to any fmt::Write implementer 2018-03-03 19:57:18 -07:00
Jeremy Soller 5520526bef Implement printf (very simple version) 2018-03-03 19:47:01 -07:00
Jeremy Soller bf987098dc Use openlibm 2018-03-03 17:56:53 -07:00
Paul Sajna 341bc1b938 parameter names 2018-03-03 16:49:01 -08:00
Jeremy Soller 172517e4f8 Add all stdlib functions 2018-03-03 17:44:09 -07:00
Jeremy Soller f5ef0af883 Implement malloc/free with ralloc 2018-03-03 16:54:58 -07:00
Jeremy Soller e30dec7124 WIP: stdio.h 2018-03-03 15:15:50 -07:00
Jeremy Soller 2aff4d41dd Implement argument handling, add string.h 2018-03-03 14:55:54 -07:00
Jeremy Soller 78e421cb72 Implement some functions on Linux 2018-03-03 14:31:28 -07:00
Paul Sajna 457d3972f7 merge with origin, put unistd back the way it was 2018-03-03 12:28:59 -08:00
Jeremy Soller 9fb0b77d89 Include sys/types in fctnl and unistd 2018-03-03 13:10:21 -07:00
Jeremy Soller d64dba1c1e Use patched cbindgen, implement stdbool and stdint 2018-03-03 13:05:43 -07:00
Jeremy Soller a9aae80ae0 WIP: Define common types 2018-03-03 10:08:16 -07:00
Jeremy Soller d337caafe6 Remove std from outputted libc.a 2018-03-03 09:19:25 -07:00
Jeremy Soller d20e3f69e1 no_std 2018-03-03 08:51:14 -07:00
Jeremy Soller a01ff6baf8 Add overarching staticlib 2018-03-03 08:44:18 -07:00
Jeremy Soller 7251cbec76 Add definitions for unistd 2018-03-03 08:33:19 -07:00
Jeremy Soller b720d0181f Add fcntl 2018-03-03 08:25:53 -07:00