ELF: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Added RISC-V architecture to table of ISA magic numbers.
That is not related to ELF
Line 348: Line 348:


Flags: 1 = executable, 2 = writable, 4 = readable.
Flags: 1 = executable, 2 = writable, 4 = readable.

=== Using the PIC with programs ===

The logic that will allow an ELF program to run (which is quite simple once you have a scheduler) is this:
'''''*IRQ fires*->Scheduler->ELF Program on Queue->Run ELF Program until an exit() is called (usually in crt0)->Take process off the Queue'''''


=== Dynamic Linking ===
=== Dynamic Linking ===