[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1EDA02E4-1017-4475-BA75-D07864077195@mac.com>
Date: Fri, 30 Mar 2007 14:06:57 -0400
From: Kyle Moffett <mrmacman_g4@....com>
To: Kyle Moffett <mrmacman_g4@....com>
Cc: LKML Kernel <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Subject: [RFC][PATCH 1/2] Darwinux: Minimalist Mach-O binary format support
Minimalist Mach-O binary format support
This code is sucessfully able to load and recognize Mach-O binary files.
It is able to sort through the FAT file headers and identify compatible
files, although it currently is hardcoded for PowerPC64 architecture.
Does not yet support load_commands or actually mapping the Mach-O files
into memory.
Signed-off-by: Kyle Moffett <mrmacman_g4@....com>
---
fs/Kconfig.binfmt | 14 ++
fs/Makefile | 1 +
fs/mach-o/Makefile | 8 ++
fs/mach-o/binfmt.c | 321 +++++++++++++++++++++++++++++++++++++++++++
++++++
fs/mach-o/cpus.h | 329 +++++++++++++++++++++++++++++++++++++++++++
++++++++
fs/mach-o/debug.h | 9 ++
fs/mach-o/files.h | 139 ++++++++++++++++++++++
fs/mach-o/headers.h | 49 ++++++++
8 files changed, 870 insertions(+), 0 deletions(-)
View attachment "darwinux_01.txt" of type "text/plain" (27534 bytes)
Powered by blists - more mailing lists