summaryrefslogtreecommitdiffstats
path: root/share/man/man5/a.out.5
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man5/a.out.5')
-rw-r--r--share/man/man5/a.out.517
1 files changed, 9 insertions, 8 deletions
diff --git a/share/man/man5/a.out.5 b/share/man/man5/a.out.5
index 1aa6e4c..a659ba7 100644
--- a/share/man/man5/a.out.5
+++ b/share/man/man5/a.out.5
@@ -103,14 +103,15 @@ The fields have the following functions:
.It Fa a_midmag
This field is stored in host byte-order.
It has a number of sub-components accessed by the macros
-.Dv N_GETFLAG() ,
-.Dv N_GETMID() , and
-.Dv N_GETMAGIC() ,
+.Fn N_GETFLAG ,
+.Fn N_GETMID ,
+and
+.Fn N_GETMAGIC ,
and set by the macro
-.Dv N_SETMAGIC().
+.Fn N_SETMAGIC .
.Pp
The macro
-.Dv N_GETFLAG()
+.Fn N_GETFLAG
returns a few flags:
.Bl -tag -width EX_DYNAMIC
.It Dv EX_DYNAMIC
@@ -132,11 +133,11 @@ executable image (eg. a shared library), which is to be loaded into the
process address space by the run-time link editor.
.Pp
The macro
-.Dv N_GETMID()
+.Fn N_GETMID
returns the machine-id.
This indicates which machine(s) the binary is intended to run on.
.Pp
-.Dv N_GETMAGIC()
+.Fn N_GETMAGIC
specifies the magic number, which uniquely identifies binary files
and distinguishes different loading conventions.
The field must contain one of the following values:
@@ -287,7 +288,7 @@ only occurs in shared objects.
.It Fa r_copy
If set, this relocation record identifies a symbol whose contents should
be copied to the location given in
-.Fa r_address.
+.Fa r_address .
The copying is done by the run-time link-editor from a suitable data
item in a shared object.
.El
OpenPOWER on IntegriCloud