GELF_UPDATE_EHDR(3) | Library Functions Manual | GELF_UPDATE_EHDR(3) |
gelf_update_ehdr
,
gelf_update_phdr
,
gelf_update_shdr
—
#include <gelf.h>
int
gelf_update_ehdr
(Elf
*elf, GElf_Ehdr
*ehdr);
int
gelf_update_phdr
(Elf
*elf, int ndx,
GElf_Phdr *phdr);
int
gelf_update_shdr
(Elf_Scn
*scn, GElf_Shdr
*shdr);
Function gelf_update_ehdr
() updates the
ELF Executable Header with the values in the class-independent executable
header ehdr.
Function gelf_update_phdr
() updates the
ELF Program Header structure at index ndx with the
values in the class-independent program header
phdr.
Function gelf_update_shdr
() updates the
ELF Section Header structure associated with section descriptor
scn with the values in argument
shdr.
ELF_E_ARGUMENT
]ELF_E_ARGUMENT
]ELF_E_ARGUMENT
]ELF_E_ARGUMENT
]ELF_E_ARGUMENT
]ELF_E_MODE
]ELF_E_RESOURCE
]August 27, 2006 | NetBSD 9.2 |