Comments (1)
That should actually read /bin/linker. In any case, I've been working on this for the last couple of days, and it's been pretty interesting.
One of the first things I investigated was getting /bin/linker to not only operate as a normal shared object (what it does normally when called by executables as the dynamic linker), but also to run as a standalone executable (like ld-linux.so). The behavior of the executable format is described by 'man 8 ld'.
My current way to make this happen is to compile /bin/linker with its own .interp section referencing /bin/linker and cleverly avoid recursively linking the dynamic linker. It already has a well-defined entry point (_start).
After the linker has linked itself as the executable being run, it might be wise to dynamically link in libc.so, but deciding how to run it as any exutable. should just be a matter of examining argv
from bionic.
Related Issues (20)
- Fix makefiles so that 'file truncated' error does not happen HOT 3
- Ensure e.g. make -j7 works properly HOT 1
- Fix / verify .so linkage with crt*.o files HOT 1
- Add install targets HOT 1
- Add header install targets HOT 2
- Fix or block ARM build
- Modify crt*.o files so that they are compatible with traditional GNU toolchains
- Add / Incorporate a testsuite
- libgcc_shared_fake directory missing HOT 5
- Update to bionic-4.4 (kitkat)
- Add C++ exception unwinding support. HOT 2
- Build bionic with Clang / Clang++
- sys/linux-syscalls.h missing because of python syntax error HOT 1
- gensyscalls.py should generate temporary files inside of the top_builddir HOT 1
- non-PIC bug has shown up again HOT 2
- Floatingpoint exception on x86
- Get rid of __FORCE_THUMB2
- gensyscalls.py should output to $(top_builddir)/libc HOT 1
- Run configure & make in a separate directory without errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bionic.