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.3elf39
-rw-r--r--usr/src/man/man3elf/elf32_checksum.3elf9
-rw-r--r--usr/src/man/man3elf/elf32_fsize.3elf9
-rw-r--r--usr/src/man/man3elf/elf32_getehdr.3elf13
-rw-r--r--usr/src/man/man3elf/elf32_getphdr.3elf10
-rw-r--r--usr/src/man/man3elf/elf32_getshdr.3elf10
-rw-r--r--usr/src/man/man3elf/elf32_xlatetof.3elf10
-rw-r--r--usr/src/man/man3elf/elf_begin.3elf27
-rw-r--r--usr/src/man/man3elf/elf_cntl.3elf10
-rw-r--r--usr/src/man/man3elf/elf_errmsg.3elf6
-rw-r--r--usr/src/man/man3elf/elf_fill.3elf10
-rw-r--r--usr/src/man/man3elf/elf_flagdata.3elf9
-rw-r--r--usr/src/man/man3elf/elf_getarhdr.3elf10
-rw-r--r--usr/src/man/man3elf/elf_getarsym.3elf12
-rw-r--r--usr/src/man/man3elf/elf_getbase.3elf9
-rw-r--r--usr/src/man/man3elf/elf_getdata.3elf24
-rw-r--r--usr/src/man/man3elf/elf_getident.3elf14
-rw-r--r--usr/src/man/man3elf/elf_getscn.3elf13
-rw-r--r--usr/src/man/man3elf/elf_hash.3elf9
-rw-r--r--usr/src/man/man3elf/elf_kind.3elf12
-rw-r--r--usr/src/man/man3elf/elf_rawfile.3elf14
-rw-r--r--usr/src/man/man3elf/elf_strptr.3elf10
-rw-r--r--usr/src/man/man3elf/elf_update.3elf16
-rw-r--r--usr/src/man/man3elf/elf_version.3elf9
-rw-r--r--usr/src/man/man3elf/gelf.3elf21
-rw-r--r--usr/src/man/man3elf/nlist.3elf13
26 files changed, 242 insertions, 106 deletions
diff --git a/usr/src/man/man3elf/elf.3elf b/usr/src/man/man3elf/elf.3elf
index 8bab94270b..824715814d 100644
--- a/usr/src/man/man3elf/elf.3elf
+++ b/usr/src/man/man3elf/elf.3elf
@@ -354,7 +354,7 @@ failure()
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -372,22 +372,39 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBar.h\fR(3HEAD), \fBelf32_checksum\fR(3ELF), \fBelf32_fsize\fR(3ELF),
-\fBelf32_getshdr\fR(3ELF), \fBelf32_xlatetof\fR(3ELF), \fBelf_begin\fR(3ELF),
-\fBelf_cntl\fR(3ELF), \fBelf_errmsg\fR(3ELF), \fBelf_fill\fR(3ELF),
-\fBelf_getarhdr\fR(3ELF), \fBelf_getarsym\fR(3ELF), \fBelf_getbase\fR(3ELF),
-\fBelf_getdata\fR(3ELF), \fBelf_getident\fR(3ELF), \fBelf_getscn\fR(3ELF),
-\fBelf_hash\fR(3ELF), \fBelf_kind\fR(3ELF), \fBelf_memory\fR(3ELF),
-\fBelf_rawfile\fR(3ELF), \fBelf_strptr\fR(3ELF), \fBelf_update\fR(3ELF),
-\fBelf_version\fR(3ELF), \fBgelf\fR(3ELF), \fBlibelf\fR(3LIB),
-\fBattributes\fR(5), \fBlfcompile\fR(5)
+.BR elf32_checksum (3ELF),
+.BR elf32_fsize (3ELF),
+.BR elf32_getshdr (3ELF),
+.BR elf32_xlatetof (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_cntl (3ELF),
+.BR elf_errmsg (3ELF),
+.BR elf_fill (3ELF),
+.BR elf_getarhdr (3ELF),
+.BR elf_getarsym (3ELF),
+.BR elf_getbase (3ELF),
+.BR elf_getdata (3ELF),
+.BR elf_getident (3ELF),
+.BR elf_getscn (3ELF),
+.BR elf_hash (3ELF),
+.BR elf_kind (3ELF),
+.BR elf_memory (3ELF),
+.BR elf_rawfile (3ELF),
+.BR elf_strptr (3ELF),
+.BR elf_update (3ELF),
+.BR elf_version (3ELF),
+.BR gelf (3ELF),
+.BR ar.h (3HEAD),
+.BR libelf (3LIB),
+.BR attributes (7),
+.BR lfcompile (7)
.sp
.LP
\fIANSI C Programmer's Guide\fR
.SS "SPARC only"
.sp
.LP
-\fBa.out\fR(4)
+.BR a.out (5)
.SH NOTES
.sp
.LP
diff --git a/usr/src/man/man3elf/elf32_checksum.3elf b/usr/src/man/man3elf/elf32_checksum.3elf
index 0dd53ad064..a84e297f6c 100644
--- a/usr/src/man/man3elf/elf32_checksum.3elf
+++ b/usr/src/man/man3elf/elf32_checksum.3elf
@@ -35,7 +35,7 @@ its value is not affected by utilities such as \fBstrip\fR(1).
For the 64\(mibit class, replace 32 with 64 as appropriate.
.SH ATTRIBUTES
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -52,5 +52,8 @@ MT-Level MT-Safe
.SH SEE ALSO
.LP
-\fBelf\fR(3ELF), \fBelf_version\fR(3ELF), \fBgelf\fR(3ELF), \fBlibelf\fR(3LIB),
-\fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf_version (3ELF),
+.BR gelf (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf32_fsize.3elf b/usr/src/man/man3elf/elf32_fsize.3elf
index 36a03e3bce..52d8a839ea 100644
--- a/usr/src/man/man3elf/elf32_fsize.3elf
+++ b/usr/src/man/man3elf/elf32_fsize.3elf
@@ -53,7 +53,7 @@ For the 64\(mibit class, replace 32 with 64 as appropriate.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -71,5 +71,8 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_xlatetof\fR(3ELF), \fBelf_version\fR(3ELF),
-\fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_xlatetof (3ELF),
+.BR elf_version (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf32_getehdr.3elf b/usr/src/man/man3elf/elf32_getehdr.3elf
index e75c92feaa..d386c3e19d 100644
--- a/usr/src/man/man3elf/elf32_getehdr.3elf
+++ b/usr/src/man/man3elf/elf32_getehdr.3elf
@@ -85,7 +85,7 @@ Extended Sections.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -103,6 +103,11 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf_begin\fR(3ELF), \fBelf_flagdata\fR(3ELF),
-\fBelf_getident\fR(3ELF), \fBelf_getshnum\fR(3ELF),
-\fBelf_getshstrndx\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_flagdata (3ELF),
+.BR elf_getident (3ELF),
+.BR elf_getshnum (3ELF),
+.BR elf_getshstrndx (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf32_getphdr.3elf b/usr/src/man/man3elf/elf32_getphdr.3elf
index 049b8f0d93..c1f9dd5b0f 100644
--- a/usr/src/man/man3elf/elf32_getphdr.3elf
+++ b/usr/src/man/man3elf/elf32_getphdr.3elf
@@ -100,7 +100,7 @@ before creating the program header table.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -118,5 +118,9 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_getehdr\fR(3ELF), \fBelf_begin\fR(3ELF),
-\fBelf_flagdata\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_getehdr (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_flagdata (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf32_getshdr.3elf b/usr/src/man/man3elf/elf32_getshdr.3elf
index 62e2878e58..369e2edba4 100644
--- a/usr/src/man/man3elf/elf32_getshdr.3elf
+++ b/usr/src/man/man3elf/elf32_getshdr.3elf
@@ -75,7 +75,7 @@ file's \fBELF\fR header before creating sections.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -93,5 +93,9 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf_flagdata\fR(3ELF), \fBelf_getscn\fR(3ELF),
-\fBelf_strptr\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf_flagdata (3ELF),
+.BR elf_getscn (3ELF),
+.BR elf_strptr (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf32_xlatetof.3elf b/usr/src/man/man3elf/elf32_xlatetof.3elf
index 7e113bddc8..d7f846b634 100644
--- a/usr/src/man/man3elf/elf32_xlatetof.3elf
+++ b/usr/src/man/man3elf/elf32_xlatetof.3elf
@@ -133,7 +133,7 @@ For the 64\(mibit class, replace 32 with 64 as appropriate.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -151,5 +151,9 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_fsize\fR(3ELF), \fBelf_getdata\fR(3ELF),
-\fBelf_getident\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_fsize (3ELF),
+.BR elf_getdata (3ELF),
+.BR elf_getident (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_begin.3elf b/usr/src/man/man3elf/elf_begin.3elf
index ea182651de..31c98742cd 100644
--- a/usr/src/man/man3elf/elf_begin.3elf
+++ b/usr/src/man/man3elf/elf_begin.3elf
@@ -353,7 +353,7 @@ not obtain the performance advantages of \fBmmap\fR(2).
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -371,9 +371,22 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBcreat\fR(2), \fBlseek\fR(2), \fBmmap\fR(2), \fBopen\fR(2),
-\fBar.h\fR(3HEAD), \fBelf\fR(3ELF), \fBelf32_getehdr\fR(3ELF),
-\fBelf_cntl\fR(3ELF), \fBelf_getarhdr\fR(3ELF), \fBelf_getarsym\fR(3ELF),
-\fBelf_getbase\fR(3ELF), \fBelf_getdata\fR(3ELF), \fBelf_getscn\fR(3ELF),
-\fBelf_kind\fR(3ELF), \fBelf_rawfile\fR(3ELF), \fBelf_update\fR(3ELF),
-\fBelf_version\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR creat (2),
+.BR lseek (2),
+.BR mmap (2),
+.BR open (2),
+.BR elf (3ELF),
+.BR elf32_getehdr (3ELF),
+.BR elf_cntl (3ELF),
+.BR elf_getarhdr (3ELF),
+.BR elf_getarsym (3ELF),
+.BR elf_getbase (3ELF),
+.BR elf_getdata (3ELF),
+.BR elf_getscn (3ELF),
+.BR elf_kind (3ELF),
+.BR elf_rawfile (3ELF),
+.BR elf_update (3ELF),
+.BR elf_version (3ELF),
+.BR ar.h (3HEAD),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_cntl.3elf b/usr/src/man/man3elf/elf_cntl.3elf
index d382cdc07e..552fa2dc8a 100644
--- a/usr/src/man/man3elf/elf_cntl.3elf
+++ b/usr/src/man/man3elf/elf_cntl.3elf
@@ -66,7 +66,7 @@ If \fBelf_cntl()\fR succeeds, it returns \fB0\fR. Otherwise \fIelf\fR was
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -84,8 +84,12 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf_begin\fR(3ELF), \fBelf_getdata\fR(3ELF),
-\fBelf_rawfile\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_getdata (3ELF),
+.BR elf_rawfile (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
.SH NOTES
.sp
.LP
diff --git a/usr/src/man/man3elf/elf_errmsg.3elf b/usr/src/man/man3elf/elf_errmsg.3elf
index a795b7d5ff..7245c83ab0 100644
--- a/usr/src/man/man3elf/elf_errmsg.3elf
+++ b/usr/src/man/man3elf/elf_errmsg.3elf
@@ -65,7 +65,7 @@ while (more_to_do)
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -83,4 +83,6 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_fill.3elf b/usr/src/man/man3elf/elf_fill.3elf
index e1a2e36fc9..5084758e13 100644
--- a/usr/src/man/man3elf/elf_fill.3elf
+++ b/usr/src/man/man3elf/elf_fill.3elf
@@ -27,7 +27,7 @@ See \fBelf_getdata\fR(3ELF) for more information about these holes.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -45,8 +45,12 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf_flagdata\fR(3ELF), \fBelf_getdata\fR(3ELF),
-\fBelf_update\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf_flagdata (3ELF),
+.BR elf_getdata (3ELF),
+.BR elf_update (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
.SH NOTES
.sp
.LP
diff --git a/usr/src/man/man3elf/elf_flagdata.3elf b/usr/src/man/man3elf/elf_flagdata.3elf
index 66f730e592..094f3de334 100644
--- a/usr/src/man/man3elf/elf_flagdata.3elf
+++ b/usr/src/man/man3elf/elf_flagdata.3elf
@@ -131,7 +131,7 @@ elf_flagehdr(elf, ELF_C_SET, ELF_F_DIRTY);\fR
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -149,5 +149,8 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_getehdr\fR(3ELF), \fBelf_getdata\fR(3ELF),
-\fBelf_update\fR(3ELF), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_getehdr (3ELF),
+.BR elf_getdata (3ELF),
+.BR elf_update (3ELF),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_getarhdr.3elf b/usr/src/man/man3elf/elf_getarhdr.3elf
index 4263898e03..e352c5d7bf 100644
--- a/usr/src/man/man3elf/elf_getarhdr.3elf
+++ b/usr/src/man/man3elf/elf_getarhdr.3elf
@@ -80,7 +80,7 @@ this causes the library to set \fBar_name\fR to a null pointer, the
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -98,5 +98,9 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBar.h\fR(3HEAD), \fBelf\fR(3ELF), \fBelf_begin\fR(3ELF),
-\fBelf_getarsym\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_getarsym (3ELF),
+.BR ar.h (3HEAD),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_getarsym.3elf b/usr/src/man/man3elf/elf_getarsym.3elf
index 3db3f95f56..741e054633 100644
--- a/usr/src/man/man3elf/elf_getarsym.3elf
+++ b/usr/src/man/man3elf/elf_getarsym.3elf
@@ -79,7 +79,7 @@ The hash value returned is guaranteed not to be the bit pattern of all ones (
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -97,6 +97,10 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBar.h\fR(3HEAD), \fBelf\fR(3ELF), \fBelf_begin\fR(3ELF),
-\fBelf_getarhdr\fR(3ELF), \fBelf_hash\fR(3ELF), \fBlibelf\fR(3LIB),
-\fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_getarhdr (3ELF),
+.BR elf_hash (3ELF),
+.BR ar.h (3HEAD),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_getbase.3elf b/usr/src/man/man3elf/elf_getbase.3elf
index 121ac5b9f6..d54e868675 100644
--- a/usr/src/man/man3elf/elf_getbase.3elf
+++ b/usr/src/man/man3elf/elf_getbase.3elf
@@ -27,7 +27,7 @@ the beginning of the archive member header.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -45,5 +45,8 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBar.h\fR(3HEAD), \fBelf\fR(3ELF), \fBelf_begin\fR(3ELF), \fBlibelf\fR(3LIB),
-\fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf_begin (3ELF),
+.BR ar.h (3HEAD),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_getdata.3elf b/usr/src/man/man3elf/elf_getdata.3elf
index f75baa59e6..2448c451da 100644
--- a/usr/src/man/man3elf/elf_getdata.3elf
+++ b/usr/src/man/man3elf/elf_getdata.3elf
@@ -286,7 +286,7 @@ table, and \fBdata->d_size\fR holds the string table's size in bytes.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -304,9 +304,19 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_getehdr\fR(3ELF), \fBelf64_getehdr\fR(3ELF),
-\fBelf32_getshdr\fR(3ELF), \fBelf64_getshdr\fR(3ELF),
-\fBelf32_xlatetof\fR(3ELF), \fBelf64_xlatetof\fR(3ELF), \fBelf_cntl\fR(3ELF),
-\fBelf_fill\fR(3ELF), \fBelf_flagdata\fR(3ELF), \fBelf_getscn\fR(3ELF),
-\fBelf_rawfile\fR(3ELF), \fBelf_strptr\fR(3ELF), \fBelf_version\fR(3ELF),
-\fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_getehdr (3ELF),
+.BR elf32_getshdr (3ELF),
+.BR elf32_xlatetof (3ELF),
+.BR elf64_getehdr (3ELF),
+.BR elf64_getshdr (3ELF),
+.BR elf64_xlatetof (3ELF),
+.BR elf_cntl (3ELF),
+.BR elf_fill (3ELF),
+.BR elf_flagdata (3ELF),
+.BR elf_getscn (3ELF),
+.BR elf_rawfile (3ELF),
+.BR elf_strptr (3ELF),
+.BR elf_version (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_getident.3elf b/usr/src/man/man3elf/elf_getident.3elf
index ee6fc5cbe4..05d3f4b4f1 100644
--- a/usr/src/man/man3elf/elf_getident.3elf
+++ b/usr/src/man/man3elf/elf_getident.3elf
@@ -164,7 +164,7 @@ Upon successful completion, the \fBelf_getphnum()\fR, \fBelf_getshnum()\fR, and
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -188,9 +188,15 @@ The \fBelf_getident()\fR, \fBelf_getphdrnum()\fR, \fBelf_getshdrnum()\fR, and
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_getehdr\fR(3ELF), \fBelf_begin\fR(3ELF),
-\fBelf_kind\fR(3ELF), \fBelf_newscn\fR(3ELF), \fBelf_rawfile\fR(3ELF),
-\fBelf_update\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_getehdr (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_kind (3ELF),
+.BR elf_newscn (3ELF),
+.BR elf_rawfile (3ELF),
+.BR elf_update (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
.sp
.LP
\fILinker and Libraries Guide\fR
diff --git a/usr/src/man/man3elf/elf_getscn.3elf b/usr/src/man/man3elf/elf_getscn.3elf
index bd65b6b023..b72ffd379a 100644
--- a/usr/src/man/man3elf/elf_getscn.3elf
+++ b/usr/src/man/man3elf/elf_getscn.3elf
@@ -100,7 +100,7 @@ while ((scn = elf_nextscn(elf, scn)) != 0)
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -118,6 +118,11 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_getehdr\fR(3ELF), \fBelf32_getshdr\fR(3ELF),
-\fBelf_begin\fR(3ELF), \fBelf_flagdata\fR(3ELF), \fBelf_getdata\fR(3ELF),
-\fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_getehdr (3ELF),
+.BR elf32_getshdr (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_flagdata (3ELF),
+.BR elf_getdata (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_hash.3elf b/usr/src/man/man3elf/elf_hash.3elf
index 3b99e6ae6a..80dfcb33da 100644
--- a/usr/src/man/man3elf/elf_hash.3elf
+++ b/usr/src/man/man3elf/elf_hash.3elf
@@ -37,7 +37,7 @@ returned is guaranteed not to be the bit pattern of all ones ( \fB~0UL\fR).
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -55,5 +55,8 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_xlatetof\fR(3ELF), \fBelf_getdata\fR(3ELF),
-\fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_xlatetof (3ELF),
+.BR elf_getdata (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_kind.3elf b/usr/src/man/man3elf/elf_kind.3elf
index c3166de41e..3b7adf9489 100644
--- a/usr/src/man/man3elf/elf_kind.3elf
+++ b/usr/src/man/man3elf/elf_kind.3elf
@@ -70,7 +70,7 @@ return \fBELF_K_NONE\fR.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -88,6 +88,10 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBar.h\fR(3HEAD), \fBelf\fR(3ELF), \fBelf32_getehdr\fR(3ELF),
-\fBelf_begin\fR(3ELF), \fBelf_getident\fR(3ELF), \fBlibelf\fR(3LIB),
-\fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_getehdr (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_getident (3ELF),
+.BR ar.h (3HEAD),
+.BR libelf (3LIB),
+.BR attributes (7)
diff --git a/usr/src/man/man3elf/elf_rawfile.3elf b/usr/src/man/man3elf/elf_rawfile.3elf
index c5c32b9bc0..63955bd023 100644
--- a/usr/src/man/man3elf/elf_rawfile.3elf
+++ b/usr/src/man/man3elf/elf_rawfile.3elf
@@ -45,7 +45,7 @@ stored through \fIptr\fR, if \fIptr\fR is non-null.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -63,9 +63,15 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_getehdr\fR(3ELF), \fBelf_begin\fR(3ELF),
-\fBelf_cntl\fR(3ELF), \fBelf_getdata\fR(3ELF), \fBelf_getident\fR(3ELF),
-\fBelf_kind\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_getehdr (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_cntl (3ELF),
+.BR elf_getdata (3ELF),
+.BR elf_getident (3ELF),
+.BR elf_kind (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
.SH NOTES
.sp
.LP
diff --git a/usr/src/man/man3elf/elf_strptr.3elf b/usr/src/man/man3elf/elf_strptr.3elf
index b4de9cb6eb..0c82ad8e95 100644
--- a/usr/src/man/man3elf/elf_strptr.3elf
+++ b/usr/src/man/man3elf/elf_strptr.3elf
@@ -55,7 +55,7 @@ while ((scn = elf_nextscn(elf, scn)) != 0) {
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -73,8 +73,12 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_getshdr\fR(3ELF), \fBelf32_xlatetof\fR(3ELF),
-\fBelf_getdata\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_getshdr (3ELF),
+.BR elf32_xlatetof (3ELF),
+.BR elf_getdata (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
.SH NOTES
.sp
.LP
diff --git a/usr/src/man/man3elf/elf_update.3elf b/usr/src/man/man3elf/elf_update.3elf
index cea8191c53..ff58a1f177 100644
--- a/usr/src/man/man3elf/elf_update.3elf
+++ b/usr/src/man/man3elf/elf_update.3elf
@@ -184,7 +184,7 @@ alignment of each buffer.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -202,10 +202,16 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_fsize\fR(3ELF), \fBelf32_getehdr\fR(3ELF),
-\fBelf32_getshdr\fR(3ELF), \fBelf32_xlatetof\fR(3ELF), \fBelf_begin\fR(3ELF),
-\fBelf_flagdata\fR(3ELF), \fBelf_getdata\fR(3ELF), \fBlibelf\fR(3LIB),
-\fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_fsize (3ELF),
+.BR elf32_getehdr (3ELF),
+.BR elf32_getshdr (3ELF),
+.BR elf32_xlatetof (3ELF),
+.BR elf_begin (3ELF),
+.BR elf_flagdata (3ELF),
+.BR elf_getdata (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
.SH NOTES
.sp
.LP
diff --git a/usr/src/man/man3elf/elf_version.3elf b/usr/src/man/man3elf/elf_version.3elf
index c244b3a3fb..fc7df033fa 100644
--- a/usr/src/man/man3elf/elf_version.3elf
+++ b/usr/src/man/man3elf/elf_version.3elf
@@ -59,7 +59,7 @@ older library:
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -77,8 +77,11 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_xlatetof\fR(3ELF), \fBelf_begin\fR(3ELF),
-\fBlibelf\fR(3LIB), \fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_xlatetof (3ELF),
+.BR elf_begin (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
.SH NOTES
.sp
.LP
diff --git a/usr/src/man/man3elf/gelf.3elf b/usr/src/man/man3elf/gelf.3elf
index cbddcc37e1..bfc1c07efd 100644
--- a/usr/src/man/man3elf/gelf.3elf
+++ b/usr/src/man/man3elf/gelf.3elf
@@ -593,7 +593,7 @@ shared object
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -611,12 +611,19 @@ MT Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBelf32_checksum\fR(3ELF), \fBelf32_fsize\fR(3ELF),
-\fBelf32_getehdr\fR(3ELF), \fBelf32_newehdr\fR(3ELF),
-\fBelf32_getphdr\fR(3ELF), \fBelf32_newphdr\fR(3ELF),
-\fBelf32_getshdr\fR(3ELF), \fBelf32_xlatetof\fR(3ELF),
-\fBelf32_xlatetom\fR(3ELF), \fBelf_errno\fR(3ELF), \fBlibelf\fR(3LIB),
-\fBattributes\fR(5)
+.BR elf (3ELF),
+.BR elf32_checksum (3ELF),
+.BR elf32_fsize (3ELF),
+.BR elf32_getehdr (3ELF),
+.BR elf32_getphdr (3ELF),
+.BR elf32_getshdr (3ELF),
+.BR elf32_newehdr (3ELF),
+.BR elf32_newphdr (3ELF),
+.BR elf32_xlatetof (3ELF),
+.BR elf32_xlatetom (3ELF),
+.BR elf_errno (3ELF),
+.BR libelf (3LIB),
+.BR attributes (7)
.sp
.LP
\fILinker and Libraries Guide\fR
diff --git a/usr/src/man/man3elf/nlist.3elf b/usr/src/man/man3elf/nlist.3elf
index bb804a9a84..589fa4f28d 100644
--- a/usr/src/man/man3elf/nlist.3elf
+++ b/usr/src/man/man3elf/nlist.3elf
@@ -52,7 +52,7 @@ contain a valid name list.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -70,6 +70,11 @@ MT-Level Safe
.SH SEE ALSO
.sp
.LP
-\fBelf\fR(3ELF), \fBkvm_nlist\fR(3KVM), \fBkvm_open\fR(3KVM),
-\fBlibelf\fR(3LIB), \fBa.out\fR(4), \fBattributes\fR(5), \fBksyms\fR(7D),
-\fBmem\fR(7D)
+.BR elf (3ELF),
+.BR kvm_nlist (3KVM),
+.BR kvm_open (3KVM),
+.BR libelf (3LIB),
+.BR ksyms (4D),
+.BR mem (4D),
+.BR a.out (5),
+.BR attributes (7)