oddcoder 02aa400c5c Add callbacks to ld.so version of Linker's function
It is fact that ld.so has libc statially linked into it.

Normally we wouldn't need ld.so functionality once the program is
finalyl loaded, but with the next few patches, we will have dlopen which
will reuse the same ld.so functionality.

The problem is that it seams that huge part of the code is possible not
referntially transparent. That is, it is not impossible that some of the
functions have internals states. So when using the struct Linker that is
initialized by ld.so's copy of libc. we must access it using the same
copy even if both copies are identical.
For example in dlopen if you do linker.load_library(..). That would
segfault because it is using the function from libc not ld.so

So I don't truly undestand why should this be needed, but after long
hours of being stuck I thought maybe.. maybe that is the issue and
indeed it turned out to be so.
2020-07-19 21:21:48 +02:00
2018-11-26 14:33:55 -07:00
2020-07-15 11:12:59 +02:00
2019-01-14 14:22:24 -07:00
2018-11-14 20:52:12 +01:00
2019-07-06 11:32:34 -06:00
2018-07-11 09:59:28 -06:00
2019-03-16 20:16:00 -06:00
2018-03-08 19:45:16 -07:00
2020-05-27 20:18:52 -06:00
2020-02-14 18:42:38 +00:00
2019-02-20 19:27:18 +01:00
2018-08-27 06:35:30 -06:00
2018-03-07 17:29:33 -07:00
2020-06-02 08:35:37 -06:00
2018-09-05 13:03:46 +00:00
2019-11-29 18:06:12 -07:00
2019-08-04 19:05:45 +02:00
2020-05-27 20:24:59 -06:00

relibc build

relibc is a portable POSIX C standard library written in Rust. It is under heavy development, and currently supports Redox and Linux.

The motivation for this project is twofold: Reduce issues the redox crew was having with newlib, and create a safer alternative to a C standard library written in C. It is mainly designed to be used under redox, as an alternative to newlib, but it also supports linux syscalls via the sc crate.

Contributing

Supported OSes

  • Redox OS
  • Linux

Supported architectures

  • x86_64
  • Aarch64
S
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
Readme MIT 17 GiB
Languages
Rust 98.8%
Assembly 0.6%
Linker Script 0.5%
Makefile 0.1%