10-20-2005
Hi,
Sorry for that..
I have removed my email-id.
But it shows up on your post.
kindly edit it...
Regards,
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am very new to this. I would like to compile the Mach 3.0 kernel. Can someone explain, step-by-step, how to turn all the Mach 3.0 kernel code into a single binary file that will run directly on an x86 computer?
Also, once (and if) I get it working, what software works on it? My goal is... (2 Replies)
Discussion started by: dublinus
2 Replies
2. Shell Programming and Scripting
HI experts
I updated my question here to
eg:
$cat file
ABC: abc ABC FDFD
USB: usb usb_name usb_disk usbdriver USB
PA: PA pa paa
I want to how many usb exactly matched(not match usb_name or usbdriver) in the line cotains"USB:"
thanks in advance (19 Replies)
Discussion started by: yanglei_fage
19 Replies
3. UNIX for Dummies Questions & Answers
hello everyone,
can anyone tell me what drivers the Mach kernel works with. I'm thinking about experimenting with the Mach kernel, and yes I know there are other kernels that are easier to work with but I just want to use the Mach kernel. So with that being said, can the Mach kernel work with... (11 Replies)
Discussion started by: neur0n
11 Replies
4. UNIX for Dummies Questions & Answers
hey everyone,
I'm reading a tutorial on the Mach kernel principles, however, the port and port rights part are kind of confusing to me. I don't know if the book has typos or something but it seems a bit contradictory. It says that "ports, themselves, are not named. It is the port rights that are"... (10 Replies)
Discussion started by: neur0n
10 Replies
5. Solaris
Hi all,
One of my zone is stuck in down state, not able to boot it or halt it
root@xpm9ka1 # zoneadm list -iv
ID NAME STATUS PATH BRAND IP
0 global running / native shared
2 bsmrxdb4 down /zones/bsmrxdb4 native shared
root@xpm9ka1 # zoneadm -z bsmrxdb4 boot
zoneadm: zone... (6 Replies)
Discussion started by: peppeunz
6 Replies
6. Shell Programming and Scripting
Hi
Input File A
L006 AL01 0 (OCK)
L006 A006 0 (OCK)
L011 AR11 1 (NLOCK)
Input File B
L006 AL01 0 (OCK)
L006 A006 0 (OCK)
Need Egrep Command for perfect Match
Thanks (4 Replies)
Discussion started by: asavaliya
4 Replies
7. AIX
Hi Admins,
I am having a whole system lpar in open firmware state on HMC.
How can I bring it to running state ?
Let me know. Thanks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies
MACH-O(5) File Formats Manual MACH-O(5)
NAME
Mach-O - Mach-O assembler and link editor output
SYNOPSIS
#include <mach-o/loader.h>
#include <mach-o/nlist.h>
#include <mach-o/stab.h>
#include <mach-o/reloc.h>
DESCRIPTION
The object files produced by the assembler and link editor are in Mach-O (Mach object) file format. The file name a.out is the default
output file name of the assembler as(1) and the link editor ld(1) The format of the object file however is not 4.3BSD a.out format as the
name suggests, but rather Mach-O format. The link editor will make a.out executable if the resulting format is an executable type and
there were no errors and no unresolved external references.
The complete description of a Mach-O file is given in a number of include files. The file <mach-o/loader.h> describes the headers, <mach-
o/nlist.h> describes the symbol table entries with <mach-o/stab.h> supplementing it, and <mach-o/reloc.h> describes the relocation entries.
The actual instructions and data used by the program represented by a Mach-O file are the contents of its sections. Sections are grouped
together in segments. Each section carries with it, in its header, the information as to which segment it belongs in. When a file type
that is executable is created the sections are placed in their proper segment and all the segment headers are created and the segments
themselves are padded out to the segment alignment (typically the target pagesize). For the object file type produced by an assembler (or
by the link editor for further linking) all the sections are placed in one segment for compactness.
When the kernel executes a Mach-O file it maps in the object file's segments, the dynamic link editor (if used) and creates the thread(s)
for execution. Any part of the object file that is not part of a segment is not mapped in for execution. For executable using the dynamic
link editor the headers and other link edit information is needed to execute the file. These parts include the relocation entries, the
symbol table and the string table. These parts are mapped in with the use of the link editor's -seglinkedit option which creates a segment
that contains these parts. These parts can be stripped down with the -S option to ld(1) or various options to strip(1).
SEE ALSO
as(1), ld(1), nm(1), gdb(1), stab(5), strip(1)
Apple Computer, Inc. October 22, 2001 MACH-O(5)