Hella ABI changes for ELF dynamic linking
authorAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Wed, 10 Feb 2010 08:44:38 +0000 (00:44 -0800)
committerKevin Klues <klueska@ros-dev.(none)>
Wed, 24 Mar 2010 19:09:50 +0000 (12:09 -0700)
commit873efb3ac89a31ff51c064c17a2506b982beee3f
tree415c16ae5665e98ed73923c36bf82f8c8da99cac
parentfe16fde5f182997bfe4dd66964ebe2b99160a64b
Hella ABI changes for ELF dynamic linking

  1) sys_exec now takes a filename, not a binary blob

  2) load_elf does the grunt work of mmap()ing a program.
     it's hella fast!

  3) added some cruft to tell the dynamic linker about the
     program it's supposed to operate on (entry point,
     elf headers, etc.)
17 files changed:
.gitignore
kern/include/elf.h
kern/include/ros/mman.h
kern/include/ros/procinfo.h
kern/include/ros/syscall.h
kern/include/syscall.h
kern/src/Makefrag
kern/src/elf.c [new file with mode: 0644]
kern/src/kfs.c
kern/src/manager.c
kern/src/mm.c
kern/src/syscall.c
user/apps/parlib/run_binary.c
user/parlib/inc/parlib.h
user/parlib/src/parlibmain.c
user/parlib/src/sparc/newlib_backend.c
user/parlib/src/syscall.c