system: Build using public elf.h header

Reduce duplication of code by

* Removing from elf_common.h definitions available in os/kernel/elf.h
* Deleting elf32.h and elf64.h
* Renaming elf_common.h to elf_private.h
* Updating source to build using public and private ELF header files
  together

Signed-off-by: Jessica Hamilton <[email protected]>
This commit is contained in:
Simon South
2015-11-07 11:49:56 +13:00
committed by Jessica Hamilton
parent e3616ca108
commit 75c31ae28d
23 changed files with 121 additions and 876 deletions
@@ -11,11 +11,11 @@
#ifndef _RUNTIME_LOADER_H
#define _RUNTIME_LOADER_H
#include <image.h>
#include <OS.h>
#include <elf32.h>
#include <elf64.h>
#include <elf_private.h>
// #pragma mark - runtime loader libroot interface