4 ms·
There is no magic in what the linker is doing. It just needs to create an ELF file with two sections and set the start address. Check this out http://www.mupp
by mpu 11y ago
There is no magic in what the linker is doing. It just needs to create an ELF file with two sections and set the start address.
Check this out http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html http://www.muppetlabs.com/~breadbox/software/tiny/teensy.htm...
- ajross 11y agoSigh... "just". Find me 100 programmers capable of writing a C function to call another and tell me how many of them understand the ELF format, or even know that it exists. It's a subject worthy of its own tutorial (which you conveniently linked to), and specifically it's a subject that is rather more complicated than how to write an two x86 Linux system calls.