diff options
Diffstat (limited to 'usr/src/man/man3elf/gelf.3elf')
-rw-r--r-- | usr/src/man/man3elf/gelf.3elf | 79 |
1 files changed, 8 insertions, 71 deletions
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 |