Commit Graph

2424 Commits

Author SHA1 Message Date
auronandace 8a656d7727 avoid unneeded transmute on aarch64 and riscv 2026-02-17 14:35:08 +00:00
auronandace 5cd6b99588 tackle a few lint instances 2026-02-17 13:00:52 +00:00
auronandace 58120ee007 add sys_types to time bits include for time_t 2026-02-16 17:50:59 +00:00
Jeremy Soller df3229958e Merge branch 'ld_preload_program' into 'master'
feat(ld.so): position independent

See merge request redox-os/relibc!1007
2026-02-16 07:00:08 -07:00
Anhad Singh e3abf808f3 misc(ld.so): remove no_mangle for stage2
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-17 00:47:36 +11:00
Anhad Singh d234e81fc9 fix(ld.so): debug build
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-17 00:15:10 +11:00
Anhad Singh f5ebd7882d misc(ld.so): minor cleanup
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-16 22:51:14 +11:00
Anhad Singh 0c3f88f462 misc(ld.so): fix logging
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-16 22:46:45 +11:00
Anhad Singh 371540d2ae fix(ld.so/i586): build
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-16 17:04:01 +11:00
Anhad Singh 0430081f4a feat(redox-rt): preload the executable
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-16 12:29:19 +11:00
auronandace 0027ba8068 revert a cast 2026-02-15 21:57:16 +00:00
auronandace 20bdf30526 remove allow warnings and add some lints 2026-02-15 21:38:08 +00:00
Anhad Singh 8cb41ed4e2 feat(ld.so): shared library
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-15 19:14:07 +11:00
Anhad Singh f9487321c0 fix(ld.so): base_addr
Not guaranteed that the program headers immediately follow the ELF
header.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-15 15:47:02 +11:00
auronandace 6ed46304c0 add annotation to redox function as exception 2026-02-14 16:57:53 +00:00
auronandace 2c53eb1f6d add improper_ctypes_definitions lint 2026-02-14 16:48:39 +00:00
Jeremy Soller 0cf3f8af92 Merge branch 'several-lints' into 'master'
remove pthread_atfork from unistd and tackle some lints

See merge request redox-os/relibc!1004
2026-02-14 06:39:07 -07:00
auronandace 0da732be98 remove Copy from utsname 2026-02-14 08:40:15 +00:00
Wildan Mubarok 51f997b28f Apply 1 suggestion(s) to 1 file(s) 2026-02-13 13:32:37 +00:00
Wildan M 83a1680beb Append program name in log 2026-02-13 20:23:29 +07:00
auronandace 955179ab6f remove code as per feedback 2026-02-13 13:22:05 +00:00
auronandace ff392a029a remove pthread_atfork from unistd and tackle some lints 2026-02-13 12:14:04 +00:00
auronandace 70f2e28c37 remove sched bits from pthread bits 2026-02-12 17:16:58 +00:00
auronandace a4079f13f0 verify sched header includes 2026-02-12 17:05:02 +00:00
auronandace f1ec5a4856 add cbindgen struct to bits file 2026-02-12 14:28:47 +00:00
auronandace 0e1af0503e remove export rename from the bits cbindgen file 2026-02-12 13:59:23 +00:00
auronandace bc25b5a7ed add export renames to cbindgen files 2026-02-12 13:33:54 +00:00
auronandace bb48f68968 redox import fixes for timespec 2026-02-12 13:16:23 +00:00
auronandace 1191d8e1b4 extract timespec to a bits header 2026-02-12 13:07:24 +00:00
Jeremy Soller 0bbaadf2ce Merge branch 'remove-duplicate-locale-bits' into 'master'
removed the C locale bits header

See merge request redox-os/relibc!1000
2026-02-11 09:55:04 -07:00
auronandace e8118dc293 removed the C locale bits header 2026-02-11 15:38:42 +00:00
auronandace 924189992f add unexpected_cfgs lint 2026-02-11 14:13:57 +00:00
Jeremy Soller 9da9422995 Merge branch 'sched_param-export' into 'master'
Fix exporting sched_param

See merge request redox-os/relibc!998
2026-02-11 06:49:44 -07:00
Jeremy Soller f6b7c8bce3 Merge branch 'unused-must-use' into 'master'
add unused_must_use lint

See merge request redox-os/relibc!996
2026-02-11 06:49:24 -07:00
Wildan M ff3b2b3ca0 Fix exporting sched_param 2026-02-11 17:29:17 +07:00
Wildan M dd577957ec Fix compilation for linux ARM 2026-02-11 16:59:17 +07:00
auronandace aa13343b2e redox native fixes for unused_must_use 2026-02-11 09:58:50 +00:00
auronandace a3c67e898d add unused_must_use lint 2026-02-11 09:48:47 +00:00
auronandace 1c98e7b273 last riscv64 unused_imports fix 2026-02-10 18:14:15 +00:00
auronandace b9d956bacb try again with allow 2026-02-10 18:04:40 +00:00
auronandace 8307ba25b3 missed some 2026-02-10 17:30:29 +00:00
auronandace 932defff20 follow up fixes for i586, aarch64 and riscv64gc 2026-02-10 16:53:10 +00:00
auronandace 6792e49563 missed 2 more 2026-02-10 16:33:52 +00:00
auronandace 11f28342f9 unused_imports redox follow-up 2026-02-10 16:29:37 +00:00
auronandace 7d1582a555 add unused_imports lint 2026-02-10 15:55:32 +00:00
auronandace c950340aca inherit lints in the workspace crates 2026-02-10 14:38:58 +00:00
Akshit Gaur 75a3d80fdb Implement pause 2026-02-10 19:17:11 +05:30
Jeremy Soller 55380d119d Merge branch 'fix-schedparam' into 'master'
make struct repr C

See merge request redox-os/relibc!988
2026-02-10 06:04:30 -07:00
Jeremy Soller 89ab7a8fa2 Merge branch 'mismatched-lifetime-syntaxes' into 'master'
add mismatched_lifetime_syntaxes lint

See merge request redox-os/relibc!979
2026-02-10 06:02:01 -07:00
auronandace deb3abf522 make struct repr C 2026-02-10 11:24:08 +00:00