summaryrefslogtreecommitdiff
path: root/usr/src/man/man3elf
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3elf')
-rw-r--r--usr/src/man/man3elf/elf.3elf69
-rw-r--r--usr/src/man/man3elf/elf32_checksum.3elf15
-rw-r--r--usr/src/man/man3elf/elf32_fsize.3elf15
-rw-r--r--usr/src/man/man3elf/elf32_getehdr.3elf15
-rw-r--r--usr/src/man/man3elf/elf32_getphdr.3elf15
-rw-r--r--usr/src/man/man3elf/elf32_getshdr.3elf15
-rw-r--r--usr/src/man/man3elf/elf32_xlatetof.3elf23
-rw-r--r--usr/src/man/man3elf/elf_begin.3elf23
-rw-r--r--usr/src/man/man3elf/elf_cntl.3elf19
-rw-r--r--usr/src/man/man3elf/elf_errmsg.3elf15
-rw-r--r--usr/src/man/man3elf/elf_fill.3elf15
-rw-r--r--usr/src/man/man3elf/elf_flagdata.3elf23
-rw-r--r--usr/src/man/man3elf/elf_getarhdr.3elf19
-rw-r--r--usr/src/man/man3elf/elf_getarsym.3elf21
-rw-r--r--usr/src/man/man3elf/elf_getbase.3elf15
-rw-r--r--usr/src/man/man3elf/elf_getdata.3elf81
-rw-r--r--usr/src/man/man3elf/elf_getident.3elf57
-rw-r--r--usr/src/man/man3elf/elf_getscn.3elf15
-rw-r--r--usr/src/man/man3elf/elf_hash.3elf15
-rw-r--r--usr/src/man/man3elf/elf_kind.3elf23
-rw-r--r--usr/src/man/man3elf/elf_rawfile.3elf15
-rw-r--r--usr/src/man/man3elf/elf_strptr.3elf15
-rw-r--r--usr/src/man/man3elf/elf_update.3elf125
-rw-r--r--usr/src/man/man3elf/elf_version.3elf15
-rw-r--r--usr/src/man/man3elf/gelf.3elf79
-rw-r--r--usr/src/man/man3elf/nlist.3elf15
26 files changed, 295 insertions, 477 deletions
diff --git a/usr/src/man/man3elf/elf.3elf b/usr/src/man/man3elf/elf.3elf
index 1b0d20c625..8bab94270b 100644
--- a/usr/src/man/man3elf/elf.3elf
+++ b/usr/src/man/man3elf/elf.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf 3ELF "23 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF 3ELF "Jul 23, 2001"
.SH NAME
elf \- object file access library
.SH SYNOPSIS
@@ -60,23 +60,22 @@ file sizes, and so on, as in the following:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-NamePurpose
+box;
+c | c
+l | l .
+Name Purpose
_
-\fBElf32_Addr\fRUnsigned address
+\fBElf32_Addr\fR Unsigned address
_
-\fBElf32_Half\fRUnsigned medium integer
+\fBElf32_Half\fR Unsigned medium integer
_
-\fBElf32_Off\fRUnsigned file offset
+\fBElf32_Off\fR Unsigned file offset
_
-\fBElf32_Sword\fRSigned large integer
+\fBElf32_Sword\fR Signed large integer
_
-\fBElf32_Word\fRUnsigned large integer
+\fBElf32_Word\fR Unsigned large integer
_
-\fBunsigned char\fRUnsigned small integer
+\fBunsigned char\fR Unsigned small integer
.TE
.sp
@@ -178,58 +177,48 @@ the job, an application controls its input and output model.
Names associated with the library take several forms.
.sp
.ne 2
-.mk
.na
\fB\fBelf_\fR\fIname\fR\fR
.ad
.RS 18n
-.rt
These class-independent names perform some service, \fIname\fR, for the
program.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBelf32_\fR\fIname\fR\fR
.ad
.RS 18n
-.rt
Service names with an embedded class, \fB32\fR here, indicate they work only
for the designated class of files.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBElf_\fR\fIType\fR\fR
.ad
.RS 18n
-.rt
Data types can be class-independent as well, distinguished by \fIType\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBElf32_\fR\fIType\fR\fR
.ad
.RS 18n
-.rt
Class-dependent data types have an embedded class name, \fB32\fR here.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_\fR\fICMD\fR\fR
.ad
.RS 18n
-.rt
Several functions take commands that control their actions. These values are
members of the \fBElf_Cmd\fR enumeration; they range from zero through
\fBELF_C_NUM\fR\(mi1\fB\&.\fR
@@ -237,36 +226,30 @@ members of the \fBElf_Cmd\fR enumeration; they range from zero through
.sp
.ne 2
-.mk
.na
\fB\fBELF_F_\fR\fIFLAG\fR\fR
.ad
.RS 18n
-.rt
Several functions take flags that control library status and/or actions. Flags
are bits that may be combined.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBELF32_FSZ_\fR\fITYPE\fR\fR
.ad
.RS 18n
-.rt
These constants give the file sizes in bytes of the basic \fBELF\fR types for
the 32-bit class of files. See \fBelf32_fsize()\fR for more information.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBELF_K_\fR\fIKIND\fR\fR
.ad
.RS 18n
-.rt
The function \fBelf_kind()\fR identifies the \fIKIND\fR of file associated with
an \fBELF\fR descriptor. These values are members of the \fBElf_Kind\fR
enumeration; they range from zero through \fBELF_K_NUM\fR\(mi1\fB\&.\fR
@@ -274,12 +257,10 @@ enumeration; they range from zero through \fBELF_K_NUM\fR\(mi1\fB\&.\fR
.sp
.ne 2
-.mk
.na
\fB\fBELF_T_\fR\fITYPE\fR\fR
.ad
.RS 18n
-.rt
When a service function, such as \fBelf32_xlatetom()\fR or
\fBelf32_xlatetof()\fR, deals with multiple types, names of this form specify
the desired \fITYPE\fR. Thus, for example, \fBELF_T_EHDR\fR is directly related
@@ -378,15 +359,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
@@ -420,17 +400,16 @@ name as used in the \fBELF\fR file header.
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-NameProcessor
+box;
+c | c
+l | l .
+Name Processor
_
-\fBM32\fRAT&T WE 32100
+\fBM32\fR AT&T WE 32100
_
-\fBSPARC\fRSPARC
+\fBSPARC\fR SPARC
_
-\fB386\fRIntel 80386, 80486, Pentium
+\fB386\fR Intel 80386, 80486, Pentium
.TE
.sp
diff --git a/usr/src/man/man3elf/elf32_checksum.3elf b/usr/src/man/man3elf/elf32_checksum.3elf
index e84aaaf11c..625f22880e 100644
--- a/usr/src/man/man3elf/elf32_checksum.3elf
+++ b/usr/src/man/man3elf/elf32_checksum.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf32_checksum 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF32_CHECKSUM 3ELF "Jul 11, 2001"
.SH NAME
elf32_checksum, elf64_checksum \- return checksum of elf image
.SH SYNOPSIS
@@ -42,15 +42,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf32_fsize.3elf b/usr/src/man/man3elf/elf32_fsize.3elf
index 64ab041990..36a03e3bce 100644
--- a/usr/src/man/man3elf/elf32_fsize.3elf
+++ b/usr/src/man/man3elf/elf32_fsize.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf32_fsize 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF32_FSIZE 3ELF "Jul 11, 2001"
.SH NAME
elf32_fsize, elf64_fsize \- return the size of an object file type
.SH SYNOPSIS
@@ -58,15 +58,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf32_getehdr.3elf b/usr/src/man/man3elf/elf32_getehdr.3elf
index ee5a817a30..e75c92feaa 100644
--- a/usr/src/man/man3elf/elf32_getehdr.3elf
+++ b/usr/src/man/man3elf/elf32_getehdr.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf32_getehdr 3ELF "19 Jun 2002" "SunOS 5.11" "ELF Library Functions"
+.TH ELF32_GETEHDR 3ELF "Jun 19, 2002"
.SH NAME
elf32_getehdr, elf32_newehdr, elf64_getehdr, elf64_newehdr \- retrieve
class-dependent object file header
@@ -90,15 +90,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf32_getphdr.3elf b/usr/src/man/man3elf/elf32_getphdr.3elf
index d70740231d..049b8f0d93 100644
--- a/usr/src/man/man3elf/elf32_getphdr.3elf
+++ b/usr/src/man/man3elf/elf32_getphdr.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf32_getphdr 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF32_GETPHDR 3ELF "Jul 11, 2001"
.SH NAME
elf32_getphdr, elf32_newphdr, elf64_getphdr, elf64_newphdr \- retrieve
class-dependent program header table
@@ -105,15 +105,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf32_getshdr.3elf b/usr/src/man/man3elf/elf32_getshdr.3elf
index a458688399..62e2878e58 100644
--- a/usr/src/man/man3elf/elf32_getshdr.3elf
+++ b/usr/src/man/man3elf/elf32_getshdr.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf32_getshdr 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF32_GETSHDR 3ELF "Jul 11, 2001"
.SH NAME
elf32_getshdr, elf64_getshdr \- retrieve class-dependent section header
.SH SYNOPSIS
@@ -80,15 +80,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf32_xlatetof.3elf b/usr/src/man/man3elf/elf32_xlatetof.3elf
index 36b5e6cca2..7e113bddc8 100644
--- a/usr/src/man/man3elf/elf32_xlatetof.3elf
+++ b/usr/src/man/man3elf/elf32_xlatetof.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf32_xlatetof 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF32_XLATETOF 3ELF "Jul 11, 2001"
.SH NAME
elf32_xlatetof, elf32_xlatetom, elf64_xlatetof, elf64_xlatetom \-
class-dependent data translation
@@ -56,23 +56,19 @@ overflow, etc.
translation routines use as follows:
.sp
.ne 2
-.mk
.na
\fB\fBd_buf\fR\fR
.ad
.RS 13n
-.rt
Both the source and destination must have valid buffer pointers.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBd_type\fR\fR
.ad
.RS 13n
-.rt
This member's value specifies the type of the data to which \fBd_buf\fR points
and the type of data to be created in the destination. The program supplies a
\fBd_type\fR value in the source; the library sets the destination's
@@ -81,12 +77,10 @@ and the type of data to be created in the destination. The program supplies a
.sp
.ne 2
-.mk
.na
\fB\fBd_size\fR\fR
.ad
.RS 13n
-.rt
This member holds the total size, in bytes, of the memory occupied by the
source data and the size allocated for the destination data. If the destination
buffer is not large enough, the routines do not change its original contents.
@@ -97,12 +91,10 @@ sizes may differ.
.sp
.ne 2
-.mk
.na
\fB\fBd_version\fR\fR
.ad
.RS 13n
-.rt
This member holds the version number of the objects (desired) in the buffer.
The source and destination versions are independent.
.RE
@@ -146,15 +138,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_begin.3elf b/usr/src/man/man3elf/elf_begin.3elf
index e9eec45613..ea182651de 100644
--- a/usr/src/man/man3elf/elf_begin.3elf
+++ b/usr/src/man/man3elf/elf_begin.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_begin 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_BEGIN 3ELF "Jul 11, 2001"
.SH NAME
elf_begin, elf_end, elf_memory, elf_next, elf_rand \- process ELF object files
.SH SYNOPSIS
@@ -53,12 +53,10 @@ offset is undefined.
The \fIcmd\fR argument can take the following values:
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_NULL\fR\fR
.ad
.RS 15n
-.rt
When a program sets \fIcmd\fR to this value, \fBelf_begin()\fR returns a null
pointer, without opening a new descriptor. \fIref\fR is ignored for this
command. See the examples below for more information.
@@ -66,12 +64,10 @@ command. See the examples below for more information.
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_READ\fR\fR
.ad
.RS 15n
-.rt
When a program wants to examine the contents of an existing file, it should set
\fIcmd\fR to this value. Depending on the value of \fIref\fR, this command
examines archive members or entire files. Three cases can occur.
@@ -113,12 +109,10 @@ examples below for more information.
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_RDWR\fR\fR
.ad
.RS 15n
-.rt
This command duplicates the actions of \fBELF_C_READ\fR and additionally allows
the program to update the file image (see \fBelf_update\fR(3ELF)). Using
\fBELF_C_READ\fR gives a read-only view of the file, while \fBELF_C_RDWR\fR
@@ -129,12 +123,10 @@ the \fBELF_C_RDWR\fR command.
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_WRITE\fR\fR
.ad
.RS 15n
-.rt
If the program wants to ignore previous file contents, presumably to create a
new file, it should set \fIcmd\fR to this value. \fIref\fR is ignored for this
command.
@@ -366,15 +358,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_cntl.3elf b/usr/src/man/man3elf/elf_cntl.3elf
index 7b2b07809c..d382cdc07e 100644
--- a/usr/src/man/man3elf/elf_cntl.3elf
+++ b/usr/src/man/man3elf/elf_cntl.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_cntl 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_CNTL 3ELF "Jul 11, 2001"
.SH NAME
elf_cntl \- control an elf file descriptor
.SH SYNOPSIS
@@ -33,12 +33,10 @@ The \fIcmd\fR argument tells what actions to take and may have the following
values:
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_FDDONE\fR\fR
.ad
.RS 16n
-.rt
This value tells the library not to use the file descriptor associated with
\fIelf\fR. A program should use this command when it has requested all the
information it cares to use and wishes to avoid the overhead of reading the
@@ -49,12 +47,10 @@ will fail if the data are not in memory already.
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_FDREAD\fR\fR
.ad
.RS 16n
-.rt
This command is similar to \fBELF_C_FDDONE\fR, except it forces the library to
read the rest of the file. A program should use this command when it must close
the file descriptor but has not yet read everything it needs from the file.
@@ -75,15 +71,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_errmsg.3elf b/usr/src/man/man3elf/elf_errmsg.3elf
index 473d6adbf7..a795b7d5ff 100644
--- a/usr/src/man/man3elf/elf_errmsg.3elf
+++ b/usr/src/man/man3elf/elf_errmsg.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_errmsg 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_ERRMSG 3ELF "Jul 11, 2001"
.SH NAME
elf_errmsg, elf_errno \- error handling
.SH SYNOPSIS
@@ -70,15 +70,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_fill.3elf b/usr/src/man/man3elf/elf_fill.3elf
index 78c51992d7..e1a2e36fc9 100644
--- a/usr/src/man/man3elf/elf_fill.3elf
+++ b/usr/src/man/man3elf/elf_fill.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_fill 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_FILL 3ELF "Jul 11, 2001"
.SH NAME
elf_fill \- set fill byte
.SH SYNOPSIS
@@ -32,15 +32,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_flagdata.3elf b/usr/src/man/man3elf/elf_flagdata.3elf
index 25c49025cb..66f730e592 100644
--- a/usr/src/man/man3elf/elf_flagdata.3elf
+++ b/usr/src/man/man3elf/elf_flagdata.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_flagdata 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_FLAGDATA 3ELF "Jul 11, 2001"
.SH NAME
elf_flagdata, elf_flagehdr, elf_flagelf, elf_flagphdr, elf_flagscn,
elf_flagshdr \- manipulate flags
@@ -55,12 +55,10 @@ degenerate case.
\fIcmd\fR may have the following values:
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_CLR\fR\fR
.ad
.RS 13n
-.rt
The functions clear the bits that are asserted in \fIflags\fR. Only the
non-zero bits in \fIflags\fR are cleared; zero bits do not change the status of
the descriptor.
@@ -68,12 +66,10 @@ the descriptor.
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_SET\fR\fR
.ad
.RS 13n
-.rt
The functions set the bits that are asserted in \fIflags\fR. Only the non-zero
bits in \fIflags\fR are set; zero bits do not change the status of the
descriptor.
@@ -84,12 +80,10 @@ descriptor.
Descriptions of the defined \fIflags\fR bits appear below:
.sp
.ne 2
-.mk
.na
\fB\fBELF_F_DIRTY\fR\fR
.ad
.RS 16n
-.rt
When the program intends to write an \fBELF\fR file, this flag asserts the
associated information needs to be written to the file. Thus, for example, a
program that wished to update the \fBELF\fR header of an existing file would
@@ -100,12 +94,10 @@ header to the file.
.sp
.ne 2
-.mk
.na
\fB\fBELF_F_LAYOUT\fR\fR
.ad
.RS 16n
-.rt
Normally, the library decides how to arrange an output file. That is, it
automatically decides where to place sections, how to align them in the file,
etc. If this bit is set for an \fBELF\fR descriptor, the program assumes
@@ -144,15 +136,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_getarhdr.3elf b/usr/src/man/man3elf/elf_getarhdr.3elf
index 2b4343d465..4263898e03 100644
--- a/usr/src/man/man3elf/elf_getarhdr.3elf
+++ b/usr/src/man/man3elf/elf_getarhdr.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_getarhdr 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_GETARHDR 3ELF "Jul 11, 2001"
.SH NAME
elf_getarhdr \- retrieve archive member header
.SH SYNOPSIS
@@ -50,12 +50,10 @@ distinguishing them from regular members (whose names may not contain a slash).
These special members have the names (\fBar_name\fR) defined below.
.sp
.ne 2
-.mk
.na
\fB\fB/\fR\fR
.ad
.RS 6n
-.rt
This is the archive symbol table. If present, it will be the first archive
member. A program may access the archive symbol table through
\fBelf_getarsym()\fR. The information in the symbol table is useful for random
@@ -64,12 +62,10 @@ archive processing (see \fBelf_rand()\fR on \fBelf_begin\fR(3ELF)).
.sp
.ne 2
-.mk
.na
\fB\fB//\fR\fR
.ad
.RS 6n
-.rt
This member, if present, holds a string table for long archive member names. An
archive member's header contains a 16-byte area for the name, which may be
exceeded in some file systems. The library automatically retrieves long member
@@ -89,15 +85,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_getarsym.3elf b/usr/src/man/man3elf/elf_getarsym.3elf
index 767f69d5f8..3db3f95f56 100644
--- a/usr/src/man/man3elf/elf_getarsym.3elf
+++ b/usr/src/man/man3elf/elf_getarsym.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_getarsym 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_GETARSYM 3ELF "Jul 11, 2001"
.SH NAME
elf_getarsym \- retrieve archive symbol table
.SH SYNOPSIS
@@ -37,23 +37,19 @@ unsigned long as_hash;\fR
These members have the following semantics:
.sp
.ne 2
-.mk
.na
\fB\fBas_name\fR\fR
.ad
.RS 11n
-.rt
A pointer to a null-terminated symbol name resides here.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBas_off\fR\fR
.ad
.RS 11n
-.rt
This value is a byte offset from the beginning of the archive to the member's
header. The archive member residing at the given offset defines the associated
symbol. Values in \fBas_off\fR may be passed as arguments to \fBelf_rand()\fR.
@@ -62,12 +58,10 @@ See \fBelf_begin\fR(3ELF) to access the desired archive member.
.sp
.ne 2
-.mk
.na
\fB\fBas_hash\fR\fR
.ad
.RS 11n
-.rt
This is a hash value for the name, as computed by \fBelf_hash()\fR.
.RE
@@ -90,15 +84,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_getbase.3elf b/usr/src/man/man3elf/elf_getbase.3elf
index dc065386b0..121ac5b9f6 100644
--- a/usr/src/man/man3elf/elf_getbase.3elf
+++ b/usr/src/man/man3elf/elf_getbase.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_getbase 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_GETBASE 3ELF "Jul 11, 2001"
.SH NAME
elf_getbase \- get the base offset for an object file
.SH SYNOPSIS
@@ -32,15 +32,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_getdata.3elf b/usr/src/man/man3elf/elf_getdata.3elf
index 6f882923d4..f75baa59e6 100644
--- a/usr/src/man/man3elf/elf_getdata.3elf
+++ b/usr/src/man/man3elf/elf_getdata.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_getdata 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_GETDATA 3ELF "Jul 11, 2001"
.SH NAME
elf_getdata, elf_newdata, elf_rawdata \- get section data
.SH SYNOPSIS
@@ -97,24 +97,20 @@ These members are available for direct manipulation by the program.
Descriptions appear below.
.sp
.ne 2
-.mk
.na
\fB\fBd_buf\fR\fR
.ad
.RS 13n
-.rt
A pointer to the data buffer resides here. A data element with no data has a
null pointer.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBd_type\fR\fR
.ad
.RS 13n
-.rt
This member's value specifies the type of the data to which \fBd_buf\fR points.
A section's type determines how to interpret the section contents, as
summarized below.
@@ -122,12 +118,10 @@ summarized below.
.sp
.ne 2
-.mk
.na
\fB\fBd_size\fR\fR
.ad
.RS 13n
-.rt
This member holds the total size, in bytes, of the memory occupied by the data.
This may differ from the size as represented in the file. The size will be zero
if no data exist. (See the discussion of \fBSHT_NOBITS\fR below for more
@@ -136,24 +130,20 @@ information.)
.sp
.ne 2
-.mk
.na
\fB\fBd_off\fR\fR
.ad
.RS 13n
-.rt
This member gives the offset, within the section, at which the buffer resides.
This offset is relative to the file's section, not the memory object's.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBd_align\fR\fR
.ad
.RS 13n
-.rt
This member holds the buffer's required alignment, from the beginning of the
section. That is, \fBd_off\fR will be a multiple of this member's value. For
example, if this member's value is \fB4\fR, the beginning of the buffer will be
@@ -164,12 +154,10 @@ for a buffer within the section and within the file.
.sp
.ne 2
-.mk
.na
\fB\fBd_version\fR\fR
.ad
.RS 13n
-.rt
This member holds the version number of the objects in the buffer. When the
library originally read the data from the object file, it used the working
version to control the translation to memory objects.
@@ -209,34 +197,32 @@ control translation by \fBelf32_xlatetof\fR(3ELF)
.sp
.TS
-tab();
-cw(1.83i) cw(1.83i) cw(1.83i)
-lw(1.83i) lw(1.83i) lw(1.83i)
-.
-Section TypeElf_Type32-bit Type
-\fBSHT_DYNAMIC\fR\fBELF_T_DYN\fR\fBElf32_Dyn\fR
-\fBSHT_DYNSYM\fR\fBELF_T_SYM\fR\fBElf32_Sym\fR
-\fBSHT_FINI_ARRAY\fR\fBELF_T_ADDR\fR\fBElf32_Addr\fR
-\fBSHT_GROUP\fR\fBELF_T_WORD\fR\fBElf32_Word\fR
-\fBSHT_HASH\fR\fBELF_T_WORD\fR\fBElf32_Word\fR
-\fBSHT_INIT_ARRAY\fR\fBELF_T_ADDR\fR\fBElf32_Addr\fR
-\fBSHT_NOBITS\fR\fBELF_T_BYTE\fR\fBunsigned char\fR
-\fBSHT_NOTE\fR\fBELF_T_NOTE\fR\fBunsigned char\fR
-\fBSHT_NULL\fR\fInone\fR\fInone\fR
-\fBSHT_PREINIT_ARRAY\fR\fBELF_T_ADDR\fR\fBElf32_Addr\fR
-\fBSHT_PROGBITS\fR\fBELF_T_BYTE\fR\fBunsigned char\fR
-\fBSHT_REL\fR\fBELF_T_REL\fR\fBElf32_Rel\fR
-\fBSHT_RELA\fR\fBELF_T_RELA\fR\fBElf32_Rela\fR
-\fBSHT_STRTAB\fR\fBELF_T_BYTE\fR\fBunsigned char\fR
-\fBSHT_SYMTAB\fR\fBELF_T_SYM\fR\fBElf32_Sym\fR
-\fBSHT_SUNW_comdat\fR\fBELF_T_BYTE\fR\fBunsigned char\fR
-\fBSHT_SUNW_move\fR\fBELF_T_MOVE\fR\fBElf32_Move\fR (sparc)
-\fBSHT_SUNW_move\fR\fBELF_T_MOVEP\fR\fBElf32_Move\fR (ia32)
-\fBSHT_SUNW_syminfo\fR\fBELF_T_SYMINFO\fR\fBElf32_Syminfo\fR
-\fBSHT_SUNW_verdef\fR\fBELF_T_VDEF\fR\fBElf32_Verdef\fR
-\fBSHT_SUNW_verneed\fR\fBELF_T_VNEED\fR\fBElf32_Verneed\fR
-\fBSHT_SUNW_versym\fR\fBELF_T_HALF\fR\fBElf32_Versym\fR
-\fIother\fR\fBELF_T_BYTE\fR\fBunsigned char\fR
+c c c
+l l l .
+Section Type Elf_Type 32-bit Type
+\fBSHT_DYNAMIC\fR \fBELF_T_DYN\fR \fBElf32_Dyn\fR
+\fBSHT_DYNSYM\fR \fBELF_T_SYM\fR \fBElf32_Sym\fR
+\fBSHT_FINI_ARRAY\fR \fBELF_T_ADDR\fR \fBElf32_Addr\fR
+\fBSHT_GROUP\fR \fBELF_T_WORD\fR \fBElf32_Word\fR
+\fBSHT_HASH\fR \fBELF_T_WORD\fR \fBElf32_Word\fR
+\fBSHT_INIT_ARRAY\fR \fBELF_T_ADDR\fR \fBElf32_Addr\fR
+\fBSHT_NOBITS\fR \fBELF_T_BYTE\fR \fBunsigned char\fR
+\fBSHT_NOTE\fR \fBELF_T_NOTE\fR \fBunsigned char\fR
+\fBSHT_NULL\fR \fInone\fR \fInone\fR
+\fBSHT_PREINIT_ARRAY\fR \fBELF_T_ADDR\fR \fBElf32_Addr\fR
+\fBSHT_PROGBITS\fR \fBELF_T_BYTE\fR \fBunsigned char\fR
+\fBSHT_REL\fR \fBELF_T_REL\fR \fBElf32_Rel\fR
+\fBSHT_RELA\fR \fBELF_T_RELA\fR \fBElf32_Rela\fR
+\fBSHT_STRTAB\fR \fBELF_T_BYTE\fR \fBunsigned char\fR
+\fBSHT_SYMTAB\fR \fBELF_T_SYM\fR \fBElf32_Sym\fR
+\fBSHT_SUNW_comdat\fR \fBELF_T_BYTE\fR \fBunsigned char\fR
+\fBSHT_SUNW_move\fR \fBELF_T_MOVE\fR \fBElf32_Move\fR (sparc)
+\fBSHT_SUNW_move\fR \fBELF_T_MOVEP\fR \fBElf32_Move\fR (ia32)
+\fBSHT_SUNW_syminfo\fR \fBELF_T_SYMINFO\fR \fBElf32_Syminfo\fR
+\fBSHT_SUNW_verdef\fR \fBELF_T_VDEF\fR \fBElf32_Verdef\fR
+\fBSHT_SUNW_verneed\fR \fBELF_T_VNEED\fR \fBElf32_Verneed\fR
+\fBSHT_SUNW_versym\fR \fBELF_T_HALF\fR \fBElf32_Versym\fR
+\fIother\fR \fBELF_T_BYTE\fR \fBunsigned char\fR
.TE
.sp
@@ -305,15 +291,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_getident.3elf b/usr/src/man/man3elf/elf_getident.3elf
index f0c1bdc084..ee6fc5cbe4 100644
--- a/usr/src/man/man3elf/elf_getident.3elf
+++ b/usr/src/man/man3elf/elf_getident.3elf
@@ -4,7 +4,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
.\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
.\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_getident 3ELF "18 Jun 2009" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_GETIDENT 3ELF "Jun 18, 2009"
.SH NAME
elf_getident, elf_getphdrnum, elf_getshdrnum, elf_getshdrstrndx, elf_getphnum,
elf_getshnum, elf_getshstrndx \- retrieve \fBELF\fR header data
@@ -61,28 +61,26 @@ with interpretations described in the following table.
.sp
.TS
-tab();
-lw(1.83i) lw(1.83i) lw(1.83i)
-lw(1.83i) lw(1.83i) lw(1.83i)
-.
-\fBe_ident Index\fR\fBValue\fR\fBPurpose\fR
-
-\fBEI_MAG0\fR\fBELFMAG0\fRFile identification
-\fBEI_MAG1\fR\fBELFMAG1\fR
-\fBEI_MAG2\fR\fBELFMAG2\fR
-\fBEI_MAG3\fR\fBELFMAG3\fR
-
-\fBEI_CLASS\fR\fBELFCLASSNONE\fRFile class
-\fBELFCLASS32\fR
-\fBELFCLASS64\fR
-
-\fBEI_DATA\fR\fBELFDATANONE\fRData encoding
-\fBELFDATA2LSB\fR
-\fBELFDATA2MSB\fR
-
-\fBEI_VERSION\fR\fBEV_CURRENT\fRFile version
-
-7-150Unused, set to zero
+l l l
+l l l .
+\fBe_ident Index\fR \fBValue\fR \fBPurpose\fR
+
+\fBEI_MAG0\fR \fBELFMAG0\fR File identification
+\fBEI_MAG1\fR \fBELFMAG1\fR
+\fBEI_MAG2\fR \fBELFMAG2\fR
+\fBEI_MAG3\fR \fBELFMAG3\fR
+
+\fBEI_CLASS\fR \fBELFCLASSNONE\fR File class
+ \fBELFCLASS32\fR
+ \fBELFCLASS64\fR
+
+\fBEI_DATA\fR \fBELFDATANONE\fR Data encoding
+ \fBELFDATA2LSB\fR
+ \fBELFDATA2MSB\fR
+
+\fBEI_VERSION\fR \fBEV_CURRENT\fR File version
+
+7-15 0 Unused, set to zero
.TE
.sp
@@ -171,15 +169,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilitySee below.
+Interface Stability See below.
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.sp
diff --git a/usr/src/man/man3elf/elf_getscn.3elf b/usr/src/man/man3elf/elf_getscn.3elf
index 8f0bf6640d..bd65b6b023 100644
--- a/usr/src/man/man3elf/elf_getscn.3elf
+++ b/usr/src/man/man3elf/elf_getscn.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_getscn 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_GETSCN 3ELF "Jul 11, 2001"
.SH NAME
elf_getscn, elf_ndxscn, elf_newscn, elf_nextscn \- get section information
.SH SYNOPSIS
@@ -105,15 +105,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_hash.3elf b/usr/src/man/man3elf/elf_hash.3elf
index ae5ccb0d95..3b99e6ae6a 100644
--- a/usr/src/man/man3elf/elf_hash.3elf
+++ b/usr/src/man/man3elf/elf_hash.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_hash 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_HASH 3ELF "Jul 11, 2001"
.SH NAME
elf_hash \- compute hash value
.SH SYNOPSIS
@@ -42,15 +42,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_kind.3elf b/usr/src/man/man3elf/elf_kind.3elf
index f3d2f99753..c3166de41e 100644
--- a/usr/src/man/man3elf/elf_kind.3elf
+++ b/usr/src/man/man3elf/elf_kind.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_kind 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_KIND 3ELF "Jul 11, 2001"
.SH NAME
elf_kind \- determine file type
.SH SYNOPSIS
@@ -22,12 +22,10 @@ This function returns a value identifying the kind of file associated with an
\fBELF\fR descriptor (\fIelf\fR). Defined values are below:
.sp
.ne 2
-.mk
.na
\fB\fBELF_K_AR\fR\fR
.ad
.RS 14n
-.rt
The file is an archive [see \fBar.h\fR(3HEAD)]. An \fBELF\fR descriptor may
also be associated with an archive \fImember\fR, not the archive itself, and
then \fBelf_kind()\fR identifies the member's type.
@@ -35,24 +33,20 @@ then \fBelf_kind()\fR identifies the member's type.
.sp
.ne 2
-.mk
.na
\fB\fBELF_K_COFF\fR\fR
.ad
.RS 14n
-.rt
The file is a \fBCOFF\fR object file. \fBelf_begin\fR(3ELF) describes the
library's handling for \fBCOFF\fR files.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBELF_K_ELF\fR\fR
.ad
.RS 14n
-.rt
The file is an \fBELF\fR file. The program may use \fBelf_getident()\fR to
determine the class. Other functions, such as \fBelf32_getehdr()\fR, are
available to retrieve other file information.
@@ -60,12 +54,10 @@ available to retrieve other file information.
.sp
.ne 2
-.mk
.na
\fB\fBELF_K_NONE\fR\fR
.ad
.RS 14n
-.rt
This indicates a kind of file unknown to the library.
.RE
@@ -83,15 +75,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_rawfile.3elf b/usr/src/man/man3elf/elf_rawfile.3elf
index 84bc2de4fe..c5c32b9bc0 100644
--- a/usr/src/man/man3elf/elf_rawfile.3elf
+++ b/usr/src/man/man3elf/elf_rawfile.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_rawfile 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_RAWFILE 3ELF "Jul 11, 2001"
.SH NAME
elf_rawfile \- retrieve uninterpreted file contents
.SH SYNOPSIS
@@ -50,15 +50,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_strptr.3elf b/usr/src/man/man3elf/elf_strptr.3elf
index 930b3980ef..b4de9cb6eb 100644
--- a/usr/src/man/man3elf/elf_strptr.3elf
+++ b/usr/src/man/man3elf/elf_strptr.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_strptr 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_STRPTR 3ELF "Jul 11, 2001"
.SH NAME
elf_strptr \- make a string pointer
.SH SYNOPSIS
@@ -60,15 +60,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_update.3elf b/usr/src/man/man3elf/elf_update.3elf
index 112e53459b..cea8191c53 100644
--- a/usr/src/man/man3elf/elf_update.3elf
+++ b/usr/src/man/man3elf/elf_update.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_update 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_UPDATE 3ELF "Jul 11, 2001"
.SH NAME
elf_update \- update an ELF descriptor
.SH SYNOPSIS
@@ -26,12 +26,10 @@ structural data needed to generate the file's image.
The \fIcmd\fR argument can have the following values:
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_NULL\fR\fR
.ad
.RS 15n
-.rt
This value tells \fBelf_update()\fR to recalculate various values, updating
only the \fBELF\fR descriptor's memory structures. Any modified structures are
flagged with the \fBELF_F_DIRTY\fR bit. A program thus can update the
@@ -43,12 +41,10 @@ writing (see \fBelf_begin\fR(3ELF)).
.sp
.ne 2
-.mk
.na
\fB\fBELF_C_WRITE\fR\fR
.ad
.RS 15n
-.rt
If \fIcmd\fR has this value, \fBelf_update()\fR duplicates its \fBELF_C_NULL\fR
actions and also writes any ``dirty'' information associated with the \fBELF\fR
descriptor to the file. That is, when a program has used
@@ -82,21 +78,19 @@ The following table shows ELF Header members:
.sp
.TS
-tab();
-lw(1.65i) lw(3.85i)
-lw(1.65i) lw(3.85i)
-.
-MemberNotes
-
-e_ident[EI_DATA]Library controls other \fBe_ident\fR values
-e_type
-e_machine
-e_version
-e_entry
-e_phoffOnly when \fBELF_F_LAYOUT\fR asserted
-e_shoffOnly when \fBELF_F_LAYOUT\fR asserted
-e_flags
-e_shstrndx
+l l
+l l .
+Member Notes
+
+e_ident[EI_DATA] Library controls other \fBe_ident\fR values
+e_type
+e_machine
+e_version
+e_entry
+e_phoff Only when \fBELF_F_LAYOUT\fR asserted
+e_shoff Only when \fBELF_F_LAYOUT\fR asserted
+e_flags
+e_shstrndx
.TE
.sp
@@ -106,20 +100,18 @@ The following table shows the Program Header members:
.sp
.TS
-tab();
-lw(1.65i) lw(3.85i)
-lw(1.65i) lw(3.85i)
-.
-MemberNotes
-
-p_typeThe application controls all
-p_offsetprogram header entries
-p_vaddr
-p_paddr
-p_filesz
-p_memsz
-p_flags
-p_align
+l l
+l l .
+Member Notes
+
+p_type The application controls all
+p_offset program header entries
+p_vaddr
+p_paddr
+p_filesz
+p_memsz
+p_flags
+p_align
.TE
.sp
@@ -129,22 +121,20 @@ The following table shows the Section Header members:
.sp
.TS
-tab();
-lw(1.65i) lw(3.85i)
-lw(1.65i) lw(3.85i)
-.
-MemberNotes
-
-sh_name
-sh_type
-sh_flags
-sh_addr
-sh_offsetOnly when \fBELF_F_LAYOUT\fR asserted
-sh_sizeOnly when \fBELF_F_LAYOUT\fR asserted
-sh_link
-sh_info
-sh_addralignOnly when \fBELF_F_LAYOUT\fR asserted
-sh_entsize
+l l
+l l .
+Member Notes
+
+sh_name
+sh_type
+sh_flags
+sh_addr
+sh_offset Only when \fBELF_F_LAYOUT\fR asserted
+sh_size Only when \fBELF_F_LAYOUT\fR asserted
+sh_link
+sh_info
+sh_addralign Only when \fBELF_F_LAYOUT\fR asserted
+sh_entsize
.TE
.sp
@@ -154,18 +144,16 @@ The following table shows the Data Descriptor members:
.sp
.TS
-tab();
-lw(1.65i) lw(3.85i)
-lw(1.65i) lw(3.85i)
-.
-MemberNotes
-
-d_buf
-d_type
-d_size
-d_offOnly when \fBELF_F_LAYOUT\fR asserted
-d_align
-d_version
+l l
+l l .
+Member Notes
+
+d_buf
+d_type
+d_size
+d_off Only when \fBELF_F_LAYOUT\fR asserted
+d_align
+d_version
.TE
.sp
@@ -201,15 +189,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/elf_version.3elf b/usr/src/man/man3elf/elf_version.3elf
index 4a43c9e93d..c244b3a3fb 100644
--- a/usr/src/man/man3elf/elf_version.3elf
+++ b/usr/src/man/man3elf/elf_version.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH elf_version 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH ELF_VERSION 3ELF "Jul 11, 2001"
.SH NAME
elf_version \- coordinate ELF library and application versions
.SH SYNOPSIS
@@ -64,15 +64,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/gelf.3elf b/usr/src/man/man3elf/gelf.3elf
index 61ec1b886e..a97e7a62a2 100644
--- a/usr/src/man/man3elf/gelf.3elf
+++ b/usr/src/man/man3elf/gelf.3elf
@@ -1,9 +1,9 @@
'\" te
-.\" Copyright (c) 2004, Sun Microsystems, Inc., All Rights Reserved
+.\" Copyright (c) 2004, Sun Microsystems, Inc., All Rights Reserved
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH gelf 3ELF "8 June 2004" "SunOS 5.11" "ELF Library Functions"
+.TH GELF 3ELF "Jun 8, 2004"
.SH NAME
gelf, gelf_checksum, gelf_fsize, gelf_getcap, gelf_getclass, gelf_getdyn,
gelf_getehdr, gelf_getmove, gelf_getphdr, gelf_getrel, gelf_getrela,
@@ -209,34 +209,28 @@ the same in the \fBGElf\fR environment as it was in the class-dependent
.SS "List of Functions"
.sp
.ne 2
-.mk
.na
\fB\fBgelf_checksum()\fR\fR
.ad
.RS 26n
-.rt
An analog to \fBelf32_checksum\fR(3ELF) and \fBelf64_checksum\fR(3ELF).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_fsize()\fR\fR
.ad
.RS 26n
-.rt
An analog to \fBelf32_fsize\fR(3ELF) and \fBelf64_fsize\fR(3ELF).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getcap()\fR\fR
.ad
.RS 26n
-.rt
Retrieves the \fBElf32_Cap\fR or \fBElf64_Cap\fR information from the
capability table at the given index. \fBdst\fR points to the location where the
\fBGElf_Cap\fR capability entry is stored.
@@ -244,24 +238,20 @@ capability table at the given index. \fBdst\fR points to the location where the
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getclass()\fR\fR
.ad
.RS 26n
-.rt
Returns one of the constants \fBELFCLASS32\fR, \fBELFCLASS64\fR or
\fBELFCLASSNONE\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getdyn()\fR\fR
.ad
.RS 26n
-.rt
Retrieves the \fBElf32_Dyn\fR or \fBElf64_Dyn\fR information from the dynamic
table at the given index. \fBdst\fR points to the location where the
\fBGElf_Dyn\fR dynamic entry is stored.
@@ -269,24 +259,20 @@ table at the given index. \fBdst\fR points to the location where the
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getehdr()\fR\fR
.ad
.RS 26n
-.rt
An analog to \fBelf32_getehdr\fR(3ELF) and \fBelf64_getehdr\fR(3ELF). \fBdst\fR
points to the location where the \fBGElf_Ehdr\fR header is stored.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getmove()\fR\fR
.ad
.RS 26n
-.rt
Retrieves the \fBElf32_Move\fR or \fBElf64_Move\fR information from the move
table at the given index. \fBdst\fR points to the location where the
\fBGElf_Move\fR move entry is stored.
@@ -294,24 +280,20 @@ table at the given index. \fBdst\fR points to the location where the
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getphdr()\fR\fR
.ad
.RS 26n
-.rt
An analog to\fBelf32_getphdr\fR(3ELF) and \fBelf64_getphdr\fR(3ELF). \fBdst\fR
points to the location where the \fBGElf_Phdr\fR program header is stored.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getrel()\fR\fR
.ad
.RS 26n
-.rt
Retrieves the \fBElf32_Rel\fR or \fBElf64_Rel\fR information from the
relocation table at the given index. \fBdst\fR points to the location where the
\fBGElf_Rel\fR relocation entry is stored.
@@ -319,12 +301,10 @@ relocation table at the given index. \fBdst\fR points to the location where the
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getrela()\fR\fR
.ad
.RS 26n
-.rt
Retrieves the \fBElf32_Rela\fR or \fBElf64_Rela\fR information from the
relocation table at the given index. \fBdst\fR points to the location where the
\fBGElf_Rela\fR relocation entry is stored.
@@ -332,24 +312,20 @@ relocation table at the given index. \fBdst\fR points to the location where the
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getshdr()\fR\fR
.ad
.RS 26n
-.rt
An analog to \fBelf32_getshdr\fR(3ELF) and \fBelf64_getshdr\fR(3ELF). \fBdst\fR
points to the location where the \fBGElf_Shdr\fR section header is stored.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getsym()\fR\fR
.ad
.RS 26n
-.rt
Retrieves the \fBElf32_Sym\fR or \fBElf64_Sym\fR information from the symbol
table at the given index. \fBdst\fR points to the location where the
\fBGElf_Sym\fR symbol entry is stored.
@@ -357,12 +333,10 @@ table at the given index. \fBdst\fR points to the location where the
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getsyminfo()\fR\fR
.ad
.RS 26n
-.rt
Retrieves the \fBElf32_Syminfo\fR or \fBElf64_Syminfo\fR information from the
relocation table at the given index. \fBdst\fR points to the location where the
\fBGElf_Syminfo\fR symbol information entry is stored.
@@ -370,12 +344,10 @@ relocation table at the given index. \fBdst\fR points to the location where the
.sp
.ne 2
-.mk
.na
\fB\fBgelf_getsymshndx()\fR\fR
.ad
.RS 26n
-.rt
Provides an extension to \fBgelf_getsym()\fR that retrieves the \fBElf32_Sym\fR
or \fBElf64_Sym\fR information, and the section index from the symbol table at
the given index \fIndx\fR.
@@ -391,154 +363,128 @@ recorded at index \fIndx\fR of the \fBSHT_SYMTAB_SHNDX\fR table pointed to by
.sp
.ne 2
-.mk
.na
\fB\fBgelf_newehdr()\fR\fR
.ad
.RS 26n
-.rt
An analog to \fBelf32_newehdr\fR(3ELF) and \fBelf64_newehdr\fR(3ELF).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_newphdr()\fR\fR
.ad
.RS 26n
-.rt
An analog to \fBelf32_newphdr\fR(3ELF) and \fBelf64_newphdr\fR(3ELF).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_cap()\fR\fR
.ad
.RS 26n
-.rt
Copies the \fBGElf_Cap\fR information back into the underlying \fBElf32_Cap\fR
or \fBElf64_Cap\fR structure at the given index.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_dyn()\fR\fR
.ad
.RS 26n
-.rt
Copies the \fBGElf_Dyn\fR information back into the underlying \fBElf32_Dyn\fR
or \fBElf64_Dyn\fR structure at the given index.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_ehdr()\fR\fR
.ad
.RS 26n
-.rt
Copies the contents of the \fBGElf_Ehdr\fR \fBELF\fR header to the underlying
\fBElf32_Ehdr\fR or \fBElf64_Ehdr\fR structure.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_move()\fR\fR
.ad
.RS 26n
-.rt
Copies the \fBGElf_Move\fR information back into the underlying
\fBElf32_Move\fR or \fBElf64_Move\fR structure at the given index.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_phdr()\fR\fR
.ad
.RS 26n
-.rt
Copies of the contents of \fBGElf_Phdr\fR program header to underlying the
\fBElf32_Phdr\fR or \fBElf64_Phdr\fR structure.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_rel()\fR\fR
.ad
.RS 26n
-.rt
Copies the \fBGElf_Rel\fR information back into the underlying \fBElf32_Rel\fR
or \fBElf64_Rel\fR structure at the given index.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_rela()\fR\fR
.ad
.RS 26n
-.rt
Copies the \fBGElf_Rela\fR information back into the underlying
\fBElf32_Rela\fR or \fBElf64_Rela\fR structure at the given index.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_shdr()\fR\fR
.ad
.RS 26n
-.rt
Copies of the contents of \fBGElf_Shdr\fR section header to underlying the
\fBElf32_Shdr\fR or \fBElf64_Shdr\fR structure.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_sym()\fR\fR
.ad
.RS 26n
-.rt
Copies the \fBGElf_Sym\fR information back into the underlying \fBElf32_Sym\fR
or \fBElf64_Sym\fR structure at the given index.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_syminfo()\fR\fR
.ad
.RS 26n
-.rt
Copies the \fBGElf_Syminfo\fR information back into the underlying
\fBElf32_Syminfo\fR or \fBElf64_Syminfo\fR structure at the given index.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_update_symshndx()\fR\fR
.ad
.RS 26n
-.rt
Provides an extension to \fBgelf_update_sym()\fR that copies the \fBGElf_Sym\fR
information back into the \fBElf32_Sym\fR or \fBElf64_Sym\fR structure at the
given index \fIndx\fR, and copies the extended \fIxshndx\fR section index into
@@ -548,23 +494,19 @@ the \fBElf32_Word\fR at the given index \fIndx\fR in the buffer described by
.sp
.ne 2
-.mk
.na
\fB\fBgelf_xlatetof()\fR\fR
.ad
.RS 26n
-.rt
An analog to \fBelf32_xlatetof\fR(3ELF) and \fBelf64_xlatetof\fR(3ELF)
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgelf_xlatetom()\fR\fR
.ad
.RS 26n
-.rt
An analog to \fBelf32_xlatetom\fR(3ELF) and \fBelf64_xlatetom\fR(3ELF)
.RE
@@ -632,23 +574,19 @@ Guide\fR for more information.
.SH FILES
.sp
.ne 2
-.mk
.na
\fB\fB/lib/libelf.so.1\fR\fR
.ad
.RS 23n
-.rt
shared object
.RE
.sp
.ne 2
-.mk
.na
\fB\fB/lib/64/libelf.so.1\fR\fR
.ad
.RS 23n
-.rt
64-bit shared object
.RE
@@ -660,15 +598,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT LevelMT-Safe
+MT Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3elf/nlist.3elf b/usr/src/man/man3elf/nlist.3elf
index 8bb9a1c1f6..bb804a9a84 100644
--- a/usr/src/man/man3elf/nlist.3elf
+++ b/usr/src/man/man3elf/nlist.3elf
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
.\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
.\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH nlist 3ELF "11 Jul 2001" "SunOS 5.11" "ELF Library Functions"
+.TH NLIST 3ELF "Jul 11, 2001"
.SH NAME
nlist \- get entries from name list
.SH SYNOPSIS
@@ -57,15 +57,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
_
-MT-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO