fix(ld_so): for Linux
Fix dynamic linking (on Linux for now) and enable the dynamic tests again.
Main fixes:
- Fix UB in
mk{fifo,nod,nodat}
andypython/relibc@cdb48431 - Fix uninitialized de-reference of the TCB: andypython/relibc@37dbf5cb
- ... to get it compiling.
Fails on Redox currently because it requires TCB for signals on startup, however it is not setup until the loader has loaded the program and its dependencies. Solutions are being discussed for this.
Though, I think it should be fine to review/merge this as all of the Linux tests are compiling and passing.
Signed-off-by: Anhad Singh andypython@protonmail.com