Commit Graph

5019 Commits

Author SHA1 Message Date
auronandace feebedbd55 import ToString 2026-07-16 09:11:52 +01:00
auronandace f3c0b52846 tackle more clippy lints 2026-07-16 08:59:10 +01:00
Jeremy Soller 7fcce3822c Merge branch 'clippy-green3' into 'master'
tackle more clippy lints for redox

See merge request redox-os/relibc!1549
2026-07-15 10:27:40 -06:00
Jeremy Soller 4a6f7854a9 Merge branch 'merge-ld-libc' into 'master'
feat(ld.so): merge with libc.so

Closes #284

See merge request redox-os/relibc!1547
2026-07-15 10:25:12 -06:00
Anhad Singh ee98a2b09c fix(dso): sysv hash table
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-15 22:55:39 +10:00
Anhad Singh 260bccbd3c fix(ld): make environ preemptable
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-15 22:40:29 +10:00
Anhad Singh a6cda1cdb6 fix(dynlst): cleanup
We provide these through a C-macro.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-15 22:39:11 +10:00
Anhad Singh bf2455ea2e misc(ld.so): cleanup
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-15 22:38:37 +10:00
auronandace ce28b8786a follow-up eliminating more as casts 2026-07-15 10:54:26 +01:00
auronandace 6671339ec3 revert cfg and remove unused import 2026-07-15 10:44:50 +01:00
auronandace e320c755ff tackle more clippy lints for redox 2026-07-15 10:30:48 +01:00
Anhad Singh 6697881222 feat(alloc): cleanup
* Storing a pointer to the allocator in TCB is no longer necessary.
* `AtomicPtr` to store the allocator is no longer required as the
  allocator is not swapped on init if the program was dynamically
  linked.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-15 18:26:27 +10:00
Anhad Singh f45e6096d1 misc: fix riscv build
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-15 18:24:56 +10:00
Anhad Singh ebd4dfb195 misc: update dlmalloc-rs
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 21:56:57 +10:00
Jeremy Soller 92c77db45a Merge branch 'clippy-green2' into 'master'
address some clippy lints in redox

See merge request redox-os/relibc!1548
2026-07-14 05:54:33 -06:00
Anhad Singh 0b474cfc78 feat(dynlst): add more symbols
These are taken from musl's dynlst.txt.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 21:32:46 +10:00
Anhad Singh 46968c7d29 fix(tests): specify target for test runner
Fixes the issue where `relibc-tests-runner` fails to run on Redox.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 21:23:04 +10:00
Anhad Singh 134ec45ceb fix(tests/alarm_fn): zero out sa_flags
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 21:22:25 +10:00
auronandace b632453fd4 follow-up casts in redox socket 2026-07-14 09:50:26 +01:00
auronandace da54c331f5 revert two casts 2026-07-14 09:29:44 +01:00
auronandace 70505f0a6f address some clippy lints in redox 2026-07-14 09:16:29 +01:00
Anhad Singh 9135ddf7ed fix(ld.so): i586 compilation
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 18:01:04 +10:00
Anhad Singh 67512cbe58 feat(ld.so): remove ObjectHandle
ld.so has been merged with libc.so

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:41:27 +10:00
Anhad Singh a3d60b542a feat(ld.so): remove LinkerCallbacks
Not necessary as ld.so has been merged with libc.so.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:29:18 +10:00
Anhad Singh 70dc81d380 feat(Cargo.toml): update object
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:24:54 +10:00
Anhad Singh 3f20b58d38 feat(libc.so.6): merge with ld.so
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:22:43 +10:00
Anhad Singh e09e8bac0b misc(start): remove unused imports
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:20:55 +10:00
Anhad Singh 14b3122696 misc(logger): return an error on failure
...instead of logging.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 17:01:55 +10:00
Anhad Singh bc4e9f745c misc(ld.so): remove linker scripts
Not needed anymore.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 16:59:30 +10:00
Anhad Singh 86b46ff41c fix(start): skip platform init when dynlinked
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 16:57:15 +10:00
Anhad Singh 124a759260 fix(Makefile): debug profile compilation
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 16:54:18 +10:00
Anhad Singh 8bcce057d4 fix(Makefile): colours
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 16:53:35 +10:00
Anhad Singh f66156b3d1 feat(ld.so): specify dynamic list
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-07-14 16:51:43 +10:00
Jeremy Soller d269e551ff Merge branch 'fix-relibc-tests' into 'master'
fix: Fix fdtbl initialization and synchronization to make relibc tests work

See merge request redox-os/relibc!1545
2026-07-13 06:13:17 -06:00
Ibuki Omatsu c044a70182 fix: Fix fdtbl initialization and synchronization to make relibc tests work 2026-07-13 06:13:17 -06:00
Jeremy Soller dd22eb208d Merge branch 'clippy-green1' into 'master'
finish current clippy lints to make CI green

See merge request redox-os/relibc!1546
2026-07-13 06:12:25 -06:00
auronandace 9c2dd2a898 finish current clippy lints to make CI green 2026-07-13 07:16:35 +01:00
Jeremy Soller cbc14a3176 Merge branch 'redoxioctl-lints' into 'master'
tackle clippy lints in redox-ioctl

See merge request redox-os/relibc!1543
2026-07-10 17:33:47 -06:00
auronandace 6f75b90451 remove expect and wrapping 2026-07-10 19:06:40 +01:00
auronandace 433eb0dce7 tackle clippy lints in redox-ioctl 2026-07-10 07:22:32 +01:00
Jeremy Soller d58990030e Fix inverted pointer alignment checks 2026-07-09 13:28:42 -06:00
Jeremy Soller cfc63f23ec Merge branch 'ct-related-docs' into 'master'
add documentation for functions relating to controlling terminal

See merge request redox-os/relibc!1541
2026-07-09 08:48:57 -06:00
Jeremy Soller 36944c4049 Merge branch 'redoxrt-lint-improvements' into 'master'
tackle some clippy lints in redox-rt

See merge request redox-os/relibc!1540
2026-07-09 08:48:46 -06:00
Jeremy Soller dfa26984cf Merge branch 'clippy-check' into 'master'
CI: Add clippy check

See merge request redox-os/relibc!1539
2026-07-09 08:48:24 -06:00
auronandace d5afd3fe81 add documentation for functions relating to controlling terminal 2026-07-09 13:23:16 +01:00
auronandace 8f3ac79670 tackle some clippy lints in redox-rt 2026-07-09 08:35:50 +01:00
Jeremy Soller 88483b96fe Merge branch 'fix-pthread-null' into 'master'
correct definition for PTHREAD_NULL

See merge request redox-os/relibc!1538
2026-07-08 09:21:25 -06:00
auronandace 60d98aebf2 correct definition for PTHREAD_NULL 2026-07-08 14:38:51 +01:00
Jeremy Soller e16f2a4e0d Merge branch 'manual-let-else' into 'master'
apply manual_let_else clippy lint

See merge request redox-os/relibc!1536
2026-07-08 06:01:40 -06:00
Jeremy Soller 649d5f87c0 Merge branch 'pthread-once-doc' into 'master'
add description to pthread_once function

See merge request redox-os/relibc!1537
2026-07-08 06:01:25 -06:00